agentleFS
AnthonyPoschenAnthonyPoschen/agent-skills/skills/coding/SKILL.md

coding

Skill2 starsChanged 3 months agoMITView on GitHub

ALWAYS activate for programming-language work and code-adjacent project work: implementation, refactoring, debugging, code review, tests, CI fixes, package/build files, scripts, migrations, generated-code inputs, infrastructure-as-code, PR/diff discussion, and software architecture or design planning. Use this skill as the coding entrypoint router, then load principles.md and only the task-specific reference files needed for the current request.

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use architecture, writing-for-agents and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    architecture

    Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints.

    Also in 3 projects that use this

  • AWSSkill

    writing-for-agents

    Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

    Also in 3 projects that use this

  • DockerSkill

    research

    Research a documentation topic — locate affected files, understand the problem, identify what to change. Use when investigating an issue, a question, or a topic before writing a fix. Triggers on: "research issue 1234", "investigate what needs changing for #500", "what files are affected by #200", "where is X documented", "is our docs page about Y accurate", "look into how we document Z".

    Also in 5 projects that use this

  • AWSSkill

    grilling

    Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    humanizer

    Tone enforcement patterns for external-facing community responses

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

  • +1 more from aws

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill as the entrypoint for software work.

    line 15
  2. Very specific:

    Before calling a change done, prove the observable outcome in ./references/principles.md.

    line 42
  3. Very specific:

    When the task is to create a project verification skill from the codebase, load create-verification-skill.

    line 45
  4. Distinctive:

    If a loaded reference describes ordered phases, run every remaining phase until its completion check.

    line 58
  5. Very specific:

    Do not commit between phases unless the user asked to land the work as separate commits.

    line 62
  6. Distinctive:

    When code supports a user-facing workflow, model the implementation around the user's intent rather than mirroring every field, option, or …

    line 69
  7. Distinctive:

    Before adding a control, state variable, or abstraction, identify the user decision it owns.

    line 76
  8. Distinctive:

    Use examples only when a rule decision is unclear.

    line 84

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Coding

Use this skill as the entrypoint for software work. Keep this file in context, then load the smallest relevant reference set for the task.

Routing

  • For any implementation, refactor, review, debug, or design task, read ./references/principles.md. It owns the shared decision rules. The other references add task steps and point back there.
  • For writing new code or extending behavior, read ./references/implementation.md.
  • For refactoring, cleanup, simplification, extraction, restructuring, or rewrite work, read ./references/refactoring.md.
  • For code review, PR review, diff critique, or risk assessment, read ./references/review.md.
  • For debugging, failing tests, regressions, runtime errors, CI failures, or bug fixes, read ./references/debugging.md.
  • For architecture, API design, module boundaries, dependency direction, or design-only discussion, read ./references/design.md.
  • For a consequential new data model, shared scaffold, or concurrent state, also read ./references/foundations.md.
  • For a new application or subsystem, source file placement, package or module placement, file moves, file splits, or layout discussion, read ./references/file-organization.md.
  • For Go code, application layout, package placement, or Go file organization, also read ./references/go.md.
  • For choosing the kind of check, especially for persistence, framework, service, CLI, or UI behavior, read ./references/verification.md.
  • Before calling a change done, prove the observable outcome in ./references/principles.md. When a person can see or operate the result, also load the eyes-on skill and finish its loop.
  • When the task is to create a project verification skill from the codebase, load create-verification-skill. When the task is to audit or update an existing one, load maintain-verification-skill.
  • Whether to add, keep, or remove a test is the test-audit skill, including a test this task is about to write. It runs with this skill. The Tests section of ./references/principles.md owns what a test protects and how it proves that.
  • For shared code-quality rules, read ./references/standards.md whenever writing or changing code, and as needed during review/design.
  • For assertion strategy (invariant checks, debug-vs-production assert decisions, and fail-fast contracts), read ./references/assertions.md when writing or reviewing code that validates internal assumptions.

If a loaded reference describes ordered phases, run every remaining phase until its completion check. Load the next reference when that phase starts. Do not stop after the first phase, including subtraction.

Do not commit between phases unless the user asked to land the work as separate commits. When they did, commit each coherent unit with git-commit-workflow, then continue. Otherwise finish the remaining phases in the working tree.

Preserve The User's Mental Model

When code supports a user-facing workflow, model the implementation around the user's intent rather than mirroring every field, option, or state in the backing data model. Prefer one cohesive operation that expresses the user's decision over several controls or helpers that expose internal structure. Keep advanced state available behind the interaction that needs it, and make visible state reversible and consistent with the user's expectations.

Before adding a control, state variable, or abstraction, identify the user decision it owns. If an existing operation can express that decision directly, extend it instead of creating a parallel path. Verify the resulting workflow at its public boundary, including realistic content and the states that change the user's next action.

Example Lookup

Use examples only when a rule decision is unclear.

  • ./examples/README.md indexes focused examples.
  • Open one matching example file at a time.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.