code-implementer
Skill28 starsChanged 3 months agoApache-2.0View on GitHub
Guides the implementation of code using Test-Driven Development (TDD) and clean code principles. Trigger when implementing new features, fixing bugs, or refactoring existing code.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- gasatrya/skillstheir own version, first seen Jun 9, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- gasatrya/skills★ 1same 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 repository34 other files it gives its agents.
- bigquery-query-optimizationSkill
- build-and-ci-gatesSkill
- cdc-scd-patternsSkill
- code-smells-expertSkill
- commit-expertSkill
- compliance-verifierSkill
- context-captureSkill
- context-restoreSkill
- database-migration-expertSkill
- design-spec-expertSkill
- documentation-expertSkill
- flutter-architecture-decisionsSkill
- flutter-performance-profilingSkill
- flutter-release-engineeringSkill
- flutter-review-checklistSkill
- flutter-senior-orchestrationSkill
- flutter-test-strategySkill
- flutter-upgrade-migrationSkill
- gcp-data-engineeringSkill
- guidelines-karpathySkill
- loop-engineeringSkill
- performance-scalabilitySkill
- product-analystSkill
- pull-request-expertSkill
- python-expertSkill
- qa-testerSkill
- refactoring-code-expertSkill
- repo-researchSkill
- security-auditSkill
- senior-architect-engineeringSkill
- senior-dev-orchestratorSkill
- sql-query-optimizationSkill
- test-driven-developmentSkill
- testing-expertSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 26
Read the Architecture Blueprint, PRD, or surrounding codebase contracts before writing code.
- Distinctive: line 31
Red: Write a failing unit or component test asserting the target behavior, matching AAA (Arrange-Act-Assert) pattern.
- Distinctive: line 32
Green: Write the minimal amount of production code needed to satisfy the test assertions.
- Very specific: line 37
Run language formatters and linters (e.g., black, ruff, eslint, dart format).
- Distinctive: line 38
Ensure no compiler or static analysis warnings remain.
≈ “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 Implementer Skill
Overview
This skill guides the implementation of production-grade code adhering to Test-Driven Development (TDD), SOLID, DRY, and KISS principles. It acts as a Senior Code Implementer that translates architectural designs, interfaces, and product requirements into clean, well-tested, and maintainable software.
When to Use
Trigger Scenarios
- Writing new production code, API endpoints, algorithms, or services.
- Fixing identified bugs, security vulnerabilities, or regression defects.
- Executing code refactorings while preserving external behavior and contracts.
- Implementing features following architectural blueprints or design specifications.
When NOT to Use
- High-level system design & ADR authoring: Route to
senior-architect-engineeringordesign-spec-expert. - Requirements definition & PRD generation: Route to
product-analyst. - E2E & user-journey test suites: Route to
qa-tester. - Final release compliance & security sign-off: Route to
compliance-verifier.
Process
Phase 1: Context & Contract Ingestion
- Read the Architecture Blueprint, PRD, or surrounding codebase contracts before writing code. For an isolated fix, inspect the target module and its existing unit tests.
- Confirm system boundaries, schema types, and error handling policies.
Phase 2: Test-Driven Development (TDD) Cycle
Enforce the strict Red-Green-Refactor loop:
- Red: Write a failing unit or component test asserting the target behavior, matching AAA (Arrange-Act-Assert) pattern. Run the test to confirm failure for the expected reason.
- Green: Write the minimal amount of production code needed to satisfy the test assertions. Avoid speculative generalizations or gold-plating.
- Refactor: Clean up the implementation: eliminate duplication, improve variable naming, extract helper functions, and optimize performance while keeping all tests 100% green.
Phase 3: Validation & Quality Gate
- Execute the local unit test suite to verify 100% pass rate.
- Run language formatters and linters (e.g.,
black,ruff,eslint,dart format). - Ensure no compiler or static analysis warnings remain.
Usage
Example Prompts
- "Implement the user registration endpoint using strict TDD — write the failing unit test first, then the handler."
- "Fix the null pointer bug in the cart calculation service and add a regression test covering the edge case."
- "Refactor this payment adapter module to decouple Stripe API calls behind an interface, keeping tests green."
Host Execution Instructions
- Claude Code: Provide implementation tasks directly, specifying TDD Red-Green-Refactor expectations.
- Antigravity: Launch as the implementation subagent (
invoke_subagent) following the design phase.
Red Flags
- Writing production code before writing the failing test.
- Writing superficial assertions (e.g.
assert Trueor checking onlystatus_code == 200without validating payload). - Swallowing exceptions with bare
except:or silent fallbacks. - Over-engineering abstractions for hypothetical future features (YAGNI violation).
- Leaving commented-out code or unused debug statements.
Verification
- Failing test written and confirmed failing before implementation.
- 100% of unit and module tests pass with zero failures.
- No regression introduced to adjacent test suites.
- Code formatted and linted cleanly with zero warnings.
- Implementation satisfies all acceptance criteria without scope creep.
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.

