code-implementation
Skill2 starsChanged 2 months agoMITView on GitHub
Language-agnostic code implementation workflow for features, bugs, refactors, and tests.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- myatminlu/vector-skillstheir own version, first seen Aug 19, 2026
- PiloTracer/pilo.ai.logicbisontheir own version, first seen Jul 6, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- myatminlu/vector-skills★ 18same name
- PiloTracer/pilo.ai.logicbison★ 0same 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 repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- journal-management-genericSkill
- simplified-technical-englishSkill
- python-quality-gatesSkill
- journal-managementSkill
- plan-trackingSkill
- project-notesSkill
- task-routingSkill
- herdrSkill
- plan-output-templateSkill
- risk-and-dependency-identificationSkill
- task-decompositionSkill
- source-selectionSkill
- code-review-checklistSkill
- production-issue-flaggingSkill
- regression-identificationSkill
- test-case-structureSkill
- test-strategy-selectionSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 12 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Before touching a single line:
- Very specific: line 24
Read project configs (package.json, pyproject.toml, Cargo.toml, go.mod) — identify language, framework, test runner, linter.
- Very specific: line 25
Read convention docs: CONTRIBUTING.md, CLAUDE.md, README.md, .editorconfig.
- Distinctive: line 26
Run the baseline build/test command and confirm it's green.
- Distinctive: line 33
If requirements are ambiguous, stop and ask.
- Distinctive: line 36
Consider edge cases: null/empty input, unexpected state, dependency failures, concurrency, permissions, resource exhaustion.
- Distinctive: line 43
Follow existing code patterns and conventions — match the project's style, not your preference.
- Distinctive: line 47
Search for existing helpers before writing new code (DRY).
- Distinctive: line 63
Run in this order. Fix all issues before advancing to the next step:
- Distinctive: line 80
Update docs affected by the change: README, API docs, inline docs, changelog.
- Distinctive: line 81
Leave commits to the orchestrator.
- Very specific: line 88
Use the type system fully.
- Very specific: line 89
Prefer specific types over generic: EmailAddress over string.
- Distinctive: line 90
Use exhaustive pattern matching for enum-like types.
- Very specific: line 94
Never swallow errors (no empty catch/except blocks).
- Very specific: line 95
Use idiomatic error types for the language (Rust Result, Go if err != nil, etc.).
- Distinctive: line 105
Avoid N+1 queries. Batch related data fetches.
- Distinctive: line 112
No magic numbers — extract to named constants.
- Very specific: line 119
Write tests for ALL new functionality, following Arrange → Act → Assert with one Act per test.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Implementation
Quick Reference
1. ORIENT → Read configs, run baseline, trace a similar feature
2. PLAN → Read full files, consider edge cases, identify changes
3. IMPLEMENT → Follow patterns, handle all states, comment WHY not WHAT
4. VERIFY → Run quality gates in order (see Phase 4)
5. DELIVER → Self-review, update docs, leave commits to orchestratorPhase 1: Orient
Before touching a single line:
- Read project configs (
package.json,pyproject.toml,Cargo.toml,go.mod) — identify language, framework, test runner, linter. - Read convention docs:
CONTRIBUTING.md,CLAUDE.md,README.md,.editorconfig. - Run the baseline build/test command and confirm it's green. If baseline is broken, stop and report it — never build on a broken foundation.
- Trace an existing similar feature end-to-end to understand the patterns and conventions expected.
Phase 2: Plan
- If requirements are ambiguous, stop and ask. Building the wrong thing correctly is still wrong.
- Read the complete file before editing anything. The #1 cause of hallucinated code is editing a file you haven't fully read.
- Identify: which files change, which functions/classes, whether new files are needed, whether interfaces change.
- Consider edge cases: null/empty input, unexpected state, dependency failures, concurrency, permissions, resource exhaustion.
- For complex work, write a 3-5 bullet plan before implementing.
Phase 3: Implement
- Follow existing code patterns and conventions — match the project's style, not your preference.
- Handle ALL states, not just the happy path: success, error, empty, and edge cases.
- Single responsibility — if a function name contains "and", split it.
- Handle errors properly: meaningful messages, enforce contracts at boundaries.
- Search for existing helpers before writing new code (DRY).
- Make minimal changes — do not refactor unrelated code in the same change.
- Comment WHY, not WHAT. The code already says what it does.
By task type:
| Task Type | Pattern |
| New feature | Write tests alongside the feature |
| Bug fix | Write a failing test that reproduces the bug FIRST, then fix |
| Refactor | Keep tests passing after every change — small, safe steps |
Phase 4: Verify
Run in this order. Fix all issues before advancing to the next step:
Type Check → Lint → Existing Tests → Build → New Tests- Type check — zero tolerance for type errors (tsc, mypy, cargo check)
- Lint — zero warnings, matching the project's exact config
- Existing tests — full suite must pass; if a test was failing before your change, report it
- Build — project must compile, package, or bundle successfully
- New tests — write tests for all new functionality; run full suite again
Phase 5: Deliver
- Review your own code as if you were a reviewer: correctness, edge cases, naming, comments, dead code, security.
- Update docs affected by the change: README, API docs, inline docs, changelog.
- Leave commits to the orchestrator.
Universal Code Standards
Type Safety
- Use the type system fully. No
any, no casts without justification. - Prefer specific types over generic:
EmailAddressoverstring. - Use exhaustive pattern matching for enum-like types.
Error Handling
- Fail fast — detect invalid state early, report clearly.
- Never swallow errors (no empty
catch/exceptblocks). - Use idiomatic error types for the language (Rust
Result, Goif err != nil, etc.). - Error messages include context: what failed, why, what was expected.
Security
- Validate ALL inputs at trust boundaries.
- Parameterize ALL queries — no string concatenation in SQL or shell.
- Never hardcode secrets.
Performance
- Be aware of algorithmic complexity. O(n²) over user data is a bug.
- Avoid N+1 queries. Batch related data fetches.
- Clean up resources: close files, release connections.
- Profile before optimizing — if you haven't measured, you're guessing.
Naming
- Names reveal intent:
calculateInvoiceTotal()notcalc(). - Booleans read naturally:
isActive,hasPermission,canDelete. - No magic numbers — extract to named constants.
- Functions under ~40 lines; files under ~300 lines.
Testing Standards
Write tests for ALL new functionality, following Arrange → Act → Assert with one Act per test. Structure and naming conventions live in skills/tester/test-case-structure/.
| Scenario | Test |
| Happy path | Does expected behavior work? |
| Failure cases | What happens when something goes wrong? |
| Edge cases | Boundaries, empty input, special values |
| Error messages | Helpful and accurate? |
| Permissions | Unauthorized actions rejected? |
Anti-Patterns
| Anti-Pattern | Do This Instead |
| Editing without reading the full file | Read first, always |
| Skipping tests for "small" changes | Run the full suite always |
| Leaving TODOs/FIXMEs | Implement properly or create a tracked task |
| Refactoring while adding features | Separate tasks |
| Writing clever code | Write clear, obvious code |
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.

