implement-minimal
Skill13 starsChanged 4 months agoMITView on GitHub
Implement the smallest complete change that satisfies the current acceptance criteria for a public open-source project. Use when writing or editing code after a plan or a clear acceptance criterion exists. Avoids speculative abstraction, unrelated changes, obvious comments, and unverified validation claims. Keeps the project runnable after the increment.
In this repository7 other files it gives its agents.
- dependency-reviewSkill
- implementation-integritySkill
- oss-bootstrapSkill
- oss-planSkill
- public-code-reviewSkill
- release-deploySkill
- test-and-debugSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. About 0 are common, 26 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈26
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Do not expand scope, add speculative structure, or refactor unrelated code while using this skill.
- Very specific: line 25
No plan or acceptance criterion exists yet -> use oss-plan
- Distinctive: line 38
Read the first of these that exists, then follow it:
- Distinctive: line 43
If neither exists, apply this fallback: run one expensive command at a time, prefer the narrowest validation, disable watch mode, reuse …
- Distinctive: line 55
If neither exists, apply this fallback: select files before reading.
- Distinctive: line 70
If unrelated uncommitted changes exist, stop and report before editing
- Distinctive: line 82
Before editing, state files to modify, files to create, any new dependency, and the targeted validation command
- Very specific: line 84
If a new dependency is required, stop and route to dependency-review
- Distinctive: line 88
Run the targeted validation for the changed code only
- Distinctive: line 89
If validation fails, repair only failures caused by this increment.
- Distinctive: line 92
Update docs only when public behavior changed
- Distinctive: line 95
Stop after the increment
- Distinctive: line 99
Do not change unrelated files
- Distinctive: line 100
Do not silently rewrite entire modules
- Distinctive: line 101
Do not introduce an interface for a single implementation
- Distinctive: line 102
Do not introduce factories, repositories, providers, adapters, managers, registries, or service layers without a demonstrated current need
- Distinctive: line 104
Do not extract a helper used only once unless it materially improves clarity
- Distinctive: line 105
Do not create generic utilities for possible future use
- Distinctive: line 106
Do not add fallback behavior not required by the acceptance criterion
- Distinctive: line 107
Do not add defensive branches for impossible or unsupported states
- Distinctive: line 108
Do not add architecture for anticipated future requirements
- Distinctive: line 109
Prefer existing project conventions over introducing new ones
- Distinctive: line 111
Avoid unrelated formatting churn and broad renaming
- Distinctive: line 113
Do not claim validation that was not run
- Distinctive: line 121
Prefer clear names and small functions over explanatory comments
- Distinctive: line 122
Remove a stale comment only in code you directly modify, and only when safe
- Distinctive: line 141
Run the smallest check that proves the increment:
- Distinctive: line 151
Never run the full suite after every edit.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
implement-minimal
Central rule:
Implement the smallest complete change that satisfies the current acceptance criteria, and leave the project runnable.
Do not expand scope, add speculative structure, or refactor unrelated code while using this skill.
Activate when
- A plan or a single clear acceptance criterion exists and code must change
- The next step is one runnable increment
- The change is larger than a one-line edit but smaller than a full feature
Do not activate when
- No plan or acceptance criterion exists yet -> use
oss-plan - The repository does not exist yet -> use
oss-bootstrap - A test or build is failing and the cause is unknown -> use
test-and-debug - The change only adds or upgrades a dependency -> use
dependency-review
Required inputs
- The acceptance criterion for this increment
- Access to the repository to inspect status, conventions, and diff
- The targeted validation command for the affected code
Low-resource policy
Read the first of these that exists, then follow it:
${CLAUDE_PROJECT_DIR}/.claude/shared/LOW_RESOURCE.md$HOME/.claude/shared/LOW_RESOURCE.md
If neither exists, apply this fallback: run one expensive command at a time, prefer the narrowest validation, disable watch mode, reuse existing environments, and run full validation only at a milestone boundary. Do not scan the whole filesystem to locate the policy.
Context-efficiency policy
Read the first of these that exists, then follow it:
${CLAUDE_PROJECT_DIR}/.claude/shared/CONTEXT_EFFICIENCY.md$HOME/.claude/shared/CONTEXT_EFFICIENCY.md
If neither exists, apply this fallback: select files before reading; use targeted searches and bounded ranges; do not preload references; do not reread unchanged files; finish one atomic increment and stop; create a compact handoff before context is exhausted.
Facts that must not be assumed
- The test runner, package manager, or build tool
- That existing tests pass right now
- That an external API, wallet, or MCP tool is reachable
- That a dependency is already approved
Preflight
git status --shortandgit diff --statto see current work in progress- If unrelated uncommitted changes exist, stop and report before editing
- Identify the affected files and the convention they already follow -> references/change-types.md
- Identify any external input the change reads -> references/external-boundaries.md
Workflow
- Restate the single acceptance criterion this increment satisfies
- Inspect
git statusandgit difffor in-progress work - Discover conventions from neighboring files and existing scripts
- Identify the one runnable increment that satisfies the criterion
- Before editing, state files to modify, files to create, any new dependency, and the targeted validation command
- If a new dependency is required, stop and route to
dependency-review - Implement only that increment, following existing conventions
- Validate external input at the boundary once -> references/external-boundaries.md
- Run the targeted validation for the changed code only
- If validation fails, repair only failures caused by this increment; an unrelated pre-existing failure is a stop-and-report condition
- Inspect
git diffand remove churn, stray edits, and obvious comments - Update docs only when public behavior changed
- Produce the report using templates/implementation-report.md
- Stop after the increment
Implementation rules
- Do not change unrelated files
- Do not silently rewrite entire modules
- Do not introduce an interface for a single implementation
- Do not introduce factories, repositories, providers, adapters, managers, registries, or service layers without a demonstrated current need
- Do not extract a helper used only once unless it materially improves clarity
- Do not create generic utilities for possible future use
- Do not add fallback behavior not required by the acceptance criterion
- Do not add defensive branches for impossible or unsupported states
- Do not add architecture for anticipated future requirements
- Prefer existing project conventions over introducing new ones
- Validate external data at system boundaries, not at every internal call
- Avoid unrelated formatting churn and broad renaming
- Preserve public APIs unless the task explicitly changes them
- Do not claim validation that was not run
Comment policy
- Comments may explain a non-obvious constraint, trade-off, external behavior, security decision, or mathematical assumption
- Comments must not narrate the next line, a function name, a loop, a condition, an assignment, or obvious control flow
- Prefer clear names and small functions over explanatory comments
- Remove a stale comment only in code you directly modify, and only when safe
Change-type branches
Route by the kind of change; each branch names its own discovery, implementation boundary, validation, and stop condition -> references/change-types.md
- New feature slice
- Bug fix
- Integration with an external system
- Refactoring in isolation
- UI change
- CLI change
- Configuration change
- Documentation-affecting behavior change
Validation escalation
Run the smallest check that proves the increment:
single test or command
related test file
changed-file lint or typecheck
related integration path
full suite only at the milestone that ends the workNever run the full suite after every edit.
Stop conditions
- The increment cannot be validated cheaply
- A pre-existing unrelated failure blocks the targeted validation
- The change requires a new dependency not yet reviewed
- The acceptance criterion is ambiguous after one clarification pass
Human review boundaries
- Any change to auth, wallet, or user-data handling
- Any change to a public API surface
- Any validation that could only be run against an unavailable live system
Final report
Produce the report in the exact section order of
templates/implementation-report.md, then
stop. Broader review happens under public-code-review.
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.

