code-writing
Skill4 starsChanged 29 days agoMITView on GitHub
[METHODOLOGY] Universal quality coding process (plan, TDD, reviews). Preloaded by dev-backend-engineer, dev-frontend-engineer, dev-fullstack-engineer agents.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- pavel-molyanov/molyanov-ai-devtheir own version, first seen Oct 25, 2026
- stepanenkoviktor0110-boop/ai-dev-methodologytheir own version, first seen May 31, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- pavel-molyanov/molyanov-ai-dev★ 299same name
- stepanenkoviktor0110-boop/ai-dev-methodology★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- skills/dev-methodology/references/agents.mdAGENTS.md
- skills/skill-authoring/references/agents.mdAGENTS.md
- acceptance-protocolSkill
- agency-intakeSkill
- ai-visibility-methodologySkill
- banner-design-guideSkill
- benchmark-researchSkill
- brand-methodologySkill
- code-reviewingSkill
- codex-bridgeSkill
- deploy-pipelineSkill
- design-assets-guideSkill
- design-system-methodologySkill
- design-task-decompositionSkill
- dev-methodologySkill
- docs-pipelineSkill
- documentation-writingSkill
- engagement-contractSkill
- engagement-protocolSkill
- feature-researchSkill
- human-voiceSkill
- infrastructure-setupSkill
- marketing-task-decompositionSkill
- post-deploy-qaSkill
- pre-deploy-qaSkill
- presentation-designSkill
- project-planningSkill
- prompt-engineeringSkill
- security-auditingSkill
- semantic-drift-methodologySkill
- seo-auditingSkill
- skill-authoringSkill
- skill-test-designSkill
- skill-testingSkill
- system-optimization-protocolSkill
- task-decompositionSkill
- tech-spec-planningSkill
- testing-methodologySkill
- ui-styling-guideSkill
- ui-ux-methodologySkill
- user-spec-planningSkill
- validation-pipelineSkill
- yandex-analytics-methodologySkill
- yandex-direct-guideSkill
- yandex-metrika-guideSkill
- yandex-search-guideSkill
- yandex-webmaster-guideSkill
- yandex-wordstat-guideSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 22 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈22
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Working on a task?: Read all files listed in the task's "Context" section — it already specifies everything needed.
- Distinctive: line 23
Standalone (no task file)?: Read (skip if missing):
- Very specific: line 29
Consider which domain-specific guides are relevant to your task and read those (e.g., architecture.md Data Model section for DB work, …
- Distinctive: line 54
If genuinely uncertain — present options to user, let them decide.
- Distinctive: line 60
Before coding, output your findings:
- Distinctive: line 62
Read all files that will be changed
- Distinctive: line 63
Verify solution follows project patterns (or universal patterns)
- Distinctive: line 65
If modifying existing code, run existing tests for the area to establish baseline
- Distinctive: line 72
If concerns → discuss with user before proceeding.
- Distinctive: line 82
Write tests for: business logic, validations, transforms, error handling.
- Distinctive: line 83
Write tests for requirements and edge cases
- Distinctive: line 84
Run each new test before the implementation exists and read the failure.
- Distinctive: line 89
If mocking >3 dependencies → wrong test type, use integration test
- Distinctive: line 93
Follow project patterns (from Phase 1) or apply baseline from universal-patterns.md
- Distinctive: line 94
If tech-spec Complexity Classification is "Product": prefer simplest working solution, use existing patterns.
- Distinctive: line 96
Use env vars for secrets, validate inputs at boundaries
- Distinctive: line 100
All new tests pass
- Distinctive: line 108
Run project's linter and formatter before reviews
- Distinctive: line 117
If your changed files include Python, TS/JS, Go, Rust, Java or Clojure source, read quality-gates.md and run its three gates (complexity × …
- Distinctive: line 125
If a check fails — fix the code before proceeding to reviews.
- Distinctive: line 126
If the task has User checks — ask the user to verify, wait for confirmation.
- Distinctive: line 162
After applying fixes → re-run tests → re-run the reviewer(s) that reported them.
- Distinctive: line 170
Verify each item before marking complete.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Writing
Phase 1: Preparation
- Parse Requirements
- Extract what needs to be built from user message or passed acceptance criteria
- Clarify ambiguities — ask user if unclear
- Formulate acceptance criteria (what "done" looks like)
Read Project Context (Graceful)
Working on a task? Read all files listed in the task's "Context" section — it already specifies everything needed.
Standalone (no task file)? Read (skip if missing):
.claude/skills/project-knowledge/references/project.md— project overview.claude/skills/project-knowledge/references/architecture.md— system structure.claude/skills/project-knowledge/references/patterns.md— project conventions
Then read
.claude/skills/project-knowledge/SKILL.md(if exists). Consider which domain-specific guides are relevant to your task and read those (e.g.,architecture.mdData Model section for DB work,ux-guidelines.mdfor UI tasks).No project patterns? Apply baseline from universal-patterns.md — naming, error handling, structure.
Brainstorm Approaches (for non-trivial tasks)
Skip this step if: single-file change, obvious fix, user gave exact implementation instructions.
Do this step if: multiple valid approaches exist, architectural decision needed, new feature, unfamiliar area.
Explore 2-3 implementation approaches before writing code:
Approach Pros Cons Complexity A: ... ... ... Low/Med/High B: ... ... ... Low/Med/High For each approach consider:
- Does it follow existing project patterns?
- How much code needs to change?
- What breaks if it's wrong? (blast radius)
- Testing difficulty?
Pick the approach with clear reasoning. Default to simplest unless simplest has obvious drawbacks. If genuinely uncertain — present options to user, let them decide.
This step prevents: over-engineering, wrong abstractions, rework after half-implementation.
Analyze & Review Approach
Before coding, output your findings:
- Grep for usages of code to be modified
- Read all files that will be changed
- Verify solution follows project patterns (or universal patterns)
- Identify existing code that can be reused
- If modifying existing code, run existing tests for the area to establish baseline
- Reversibility check: Can changes be rolled back without data loss? For M/L features: consider feature flags for new behavior. For DB migrations: ensure rollback works. For external integrations: adapter pattern (easy to swap/disable). Principle: Adopt existing code > Adapt existing patterns > Invent new.
If concerns → discuss with user before proceeding.
Checkpoint: List completed preparation steps (including chosen approach if brainstorm was done) before moving to implementation.
Phase 2: Implementation (TDD)
Write Tests First
Before writing tests, read testing-guide.md — when to write which test type, test structure.
- Write tests for: business logic, validations, transforms, error handling. Skip trivial code without logic (simple getters, one-liners, configs)
- Write tests for requirements and edge cases
- Run each new test before the implementation exists and read the failure. It fails on the missing behaviour: an assertion about a result the code does not yet produce, or the absence of the exact function you are about to add. A typo, a wrong import path or a broken fixture does not count; fix the test until it fails for the right reason.
- One test = one scenario, test behavior not implementation
- If mocking >3 dependencies → wrong test type, use integration test
- Write Code
- Implement to pass tests
- Follow project patterns (from Phase 1) or apply baseline from universal-patterns.md
- If tech-spec Complexity Classification is "Product": prefer simplest working solution, use existing patterns. New abstractions require explicit justification.
- For risky integrations: wrap behind a toggle/config flag if feasible
- Use env vars for secrets, validate inputs at boundaries
- Handle edge cases, comment WHY not WHAT
- Run Tests
- All new tests pass
- Fix any failures
Checkpoint: List implemented functionality and test results.
Phase 3: Post-work
- Run Lint/Format
- Run project's linter and formatter before reviews
- Run Relevant Tests
- Tests for files changed
- Tests mentioned in task (if applicable)
- Save full test suite for end of feature
Structural Gates (changed files only)
If your changed files include Python, TS/JS, Go, Rust, Java or Clojure source, read quality-gates.md and run its three gates (complexity × coverage, duplication, mutation) on them. Each miss is fixed or carries a one-line reason; a gate that could not run goes into the report as not run, with the reason.
Smoke Verification (if task has Verification Steps → Smoke or User)
Execute each command from the Smoke section. Record results in decisions.md Verification section. If a check fails — fix the code before proceeding to reviews. If the task has User checks — ask the user to verify, wait for confirmation.
Smoke catches integration bugs that mocked tests miss: real API responses, library initialization, config validity.
Run Reviews (launch in parallel)
Reviewer selection:
- Working on a task file → run reviewers from the task's "Reviewers" section
- Standalone (no task file) → default: code-reviewer, security-auditor, test-reviewer
For each reviewer:
- Spawn subagent via Task tool (subagent_type = reviewer name, e.g.
code-reviewer) - Pass: git diff of changes, path to task file, path to tech-spec, path to user-spec
- Reviewer loads its own skill automatically (via agent frontmatter
skills:) - Report path: from the task's "Reviewers" section (or
logs/working/if standalone)
Reviewers write JSON reports to
logs/working/task-{N}/{reviewer-name}-{round}.json.{N}= task number from task file;"standalone"if no task file. On re-review: new file with incremented round number, old file stays.Process Findings
Evaluate each finding on merit — severity is metadata, not a filter. A valid minor fix still improves quality. Reason: skipping valid findings silently degrades the codebase over time.
For each finding:
- Valid, improves code → apply (any severity: critical, major, minor, low)
- Disagree or uncertain → discuss with user (explain reasoning)
- Out of scope → skip, note in findings log
Produce a findings log: | # | Source | Severity | Finding | Action | Reason | Each finding appears in this table — transparent decision trail.
After applying fixes → re-run tests → re-run the reviewer(s) that reported them. Limit: 3 review iterations. If findings remain after round 3 → ask user. Reason: fixes can introduce new issues — a second pass catches regressions.
Checkpoint: List post-work steps completed.
Self-Verification
Verify each item before marking complete. If any item fails, return to the relevant phase.
- All phases completed (Preparation, Implementation, Post-work)
- Tests pass
- Structural gates run on changed files, or reported as not run with the reason
- Smoke verification executed (if task had Smoke/User checks)
- Each reviewer finding evaluated and logged
- Findings log table produced
- Review JSON reports saved to
logs/working/task-{N}/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

