agentleFS
shiwenwenshiwenwen/hope-agent/skills/ha-coding-common/SKILL.md

ha-coding-common

Skill1.7k starsChanged 7 months agoMITView on GitHub

Hope-native baseline for implementing, fixing, refactoring, and maintaining code: inspect the repository first, protect user changes, keep scope narrow, and finish with direct evidence.

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 4 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the shiwenwen/hope-agent repository that our weekly crawl found: only 5 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 12 are distinctive, and 5 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.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this as the default discipline for coding work.

    line 9
  2. Distinctive:

    Follow the user's current request.

    line 15
  3. Distinctive:

    Read and follow the nearest AGENTS.md and repository instructions.

    line 16
  4. Distinctive:

    Treat this skill as methodology only.

    line 19
  5. Very specific:

    Search with rg / rg --files when available.

    line 26
  6. Distinctive:

    Prefer existing helpers, error types, state models, and ownership boundaries.

    line 30
  7. Distinctive:

    Do not create a formal plan, new abstraction, or subagent ceremony merely because the task is coding.

    line 37
  8. Very specific:

    Use ha-coding-plan when the change spans ownership boundaries, has ordering constraints, carries migration risk, or needs explicit …

    line 42
  9. Very specific:

    Test design or regression coverage: ha-test-strategy.

    line 50
  10. Distinctive:

    Do not silently enable or complete any control plane from skill instructions.

    line 67
  11. Distinctive:

    Keep edits scoped to the requested behavior and owning subsystem.

    line 71
  12. Distinctive:

    Add an abstraction only when it removes real complexity or matches a local pattern.

    line 72
  13. Distinctive:

    Use structured parsers and APIs for structured data.

    line 74
  14. Distinctive:

    Avoid unrelated cleanup, metadata churn, generated files, and speculative compatibility layers.

    line 75
  15. Distinctive:

    Ask only when the next step is unsafe, irreversible, or cannot be inferred from available evidence.

    line 79
  16. Very specific:

    Use ha-verify to map requirements to the smallest sufficient evidence.

    line 85
  17. Distinctive:

    Do not claim completion from intent, a passing unrelated command, or child Agent completion alone.

    line 87

≈ “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.

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

Hope Coding Common

Use this as the default discipline for coding work. Load a narrower ha-* coding skill when planning, debugging, testing, review, multi-agent execution, verification, or Workflow authoring is the real center of the task.

Precedence

  1. Follow the user's current request.
  2. Read and follow the nearest AGENTS.md and repository instructions.
  3. Preserve existing architecture and local conventions unless the task requires changing them.
  4. Treat this skill as methodology only. It never grants permissions, changes a mode, or overrides a runtime safety gate.

Start From Evidence

  • Inspect the worktree, relevant files, nearby tests, and existing docs before choosing an implementation.
  • Search with rg / rg --files when available; read surrounding code rather than editing from a single match.
  • Assume uncommitted changes may belong to the user. Never revert, overwrite, or reformat unrelated work.
  • Prefer existing helpers, error types, state models, and ownership boundaries.

Size The Work

Small and clear

Act directly when the behavior, owning file, and verification path are obvious. Do not create a formal plan, new abstraction, or subagent ceremony merely because the task is coding.

Multi-step or uncertain

Use ha-coding-plan when the change spans ownership boundaries, has ordering constraints, carries migration risk, or needs explicit completion criteria. In normal execution mode, continue implementing after the plan when the next action is clear. Plan Mode remains read-only.

Specialized work

  • Bug, regression, crash, or failing test: ha-debug.
  • Test design or regression coverage: ha-test-strategy.
  • Review request: ha-code-review.
  • Independent fan-out with meaningful parallel benefit: ha-multi-agent-coding.
  • Proof of completion: ha-verify.
  • Durable workflow.js: ha-workflow-script.

Load the smallest useful set. Do not activate every coding skill up front.

Control-Plane Boundaries

  • Goal defines the durable outcome and completion criteria.
  • Plan describes an implementation approach; it does not create a Goal.
  • Task exposes current progress and must reflect actual state.
  • Workflow executes one durable, observable orchestration run.
  • Loop decides when another turn should be triggered.
  • Worktree isolates writes; it is not a planning or completion signal.

Do not silently enable or complete any control plane from skill instructions.

Change Discipline

  • Keep edits scoped to the requested behavior and owning subsystem.
  • Add an abstraction only when it removes real complexity or matches a local pattern.
  • Use structured parsers and APIs for structured data.
  • Avoid unrelated cleanup, metadata churn, generated files, and speculative compatibility layers.
  • For multi-step work, keep user-visible tasks truthful and only one task in progress unless the runtime is genuinely executing independent work.
  • Ask only when the next step is unsafe, irreversible, or cannot be inferred from available evidence.

Finish The Work

  1. Inspect the final diff and current worktree state.
  2. Use ha-verify to map requirements to the smallest sufficient evidence.
  3. Report what changed, what was verified, and any real residual risk.
  4. Do not claim completion from intent, a passing unrelated command, or child Agent completion alone.

Smoke Prompts

  • "Implement this small feature and keep the diff minimal."
  • "Finish this refactor without touching unrelated user changes."
  • "Continue the current coding task through targeted verification."

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.