agentleFS
spytensorspytensor/openmozi/skills/coding-agent/SKILL.md

coding-agent

Skill423 starsChanged 4 months agoMITView on GitHub

Structured coding workflow: read, plan, implement, test, verify

20 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use node-connect, aminer-data-search and 10 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.
  • indranilbanerjeeSkill

    node-connect

    Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.

    Also in 4 projects that use this

  • SuperInstanceSkill

    aminer-data-search

    使用 AMiner 开放平台 API 进行学术数据查询与分析。当用户需要查询学者信息、论文详情、机构数据、期刊内容或专利信息时使用此 skill。 触发场景:提到 AMiner、学术数据查询、查论文/学者/机构/期刊/专利、学术问答搜索、引用分析、科研机构分析、学者画像、论文引用链、期刊投稿分析等。 支持 6 大组合工作流(学者全景分析、论文深度挖掘、机构研究力分析、期刊论文监控、学术智能问答、专利链分析)以及 28 个独立 API 的直接调用。 即使用户只说"帮我查一下 XXX 学者"或"找找关于 XXX 的论文",也应主动使用此 skill。

    Also in 3 projects that use this

  • SuperInstanceSkill

    auto-target-tracker

    自动目标进度追踪器。在对话中检测到目标相关图片(笔记、进度、截图、记录)时,自动调用 VLM 识别关键信息并记录到目标日记。适用于学习管理、健身追踪、工作进度、习惯养成、创作记录等所有目标管理场景。

    Also in 3 projects that use this

  • +9 more from SuperInstance

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 0 are common, 13 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 19 edited versions we read keep these.

  • 13

    Distinctive

    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
  1. Distinctive:

    Always active: enforces the structured workflow for all coding tasks

    line 21
  2. Distinctive:

    Read the relevant source files to understand the current state.

    line 26
  3. Distinctive:

    Check for existing tests, types, and conventions in the codebase.

    line 28
  4. Distinctive:

    Read any related config files, schemas, or documentation.

    line 29
  5. Distinctive:

    If the change is non-trivial (>20 lines), describe the approach before writing code.

    line 34
  6. Distinctive:

    If the request conflicts with existing architecture, state the conflict and options.

    line 35
  7. Distinctive:

    Add JSDoc to public functions.

    line 41
  8. Distinctive:

    Add timeouts to external I/O calls.

    line 43
  9. Distinctive:

    Do NOT refactor unrelated code unless explicitly asked.

    line 44
  10. Very specific:

    Run existing tests to ensure nothing is broken: pnpm test.

    line 47
  11. Distinctive:

    If new behavior was added, write tests that prove it works.

    line 48
  12. Very specific:

    Run pnpm build to confirm TypeScript compiles cleanly.

    line 53
  13. Very specific:

    Run pnpm test to confirm all tests pass.

    line 54
  14. Very specific:

    Workflow: Read index.ts and Fastify setup → Plan: add GET /health route → Implement the route → Write test → Verify build + tests pass.

    line 60
  15. Very specific:

    Workflow: Read capabilities/shell.ts → Find the timeout logic → Identify the bug → Fix it → Run existing tests → Verify.

    line 63
  16. Distinctive:

    If tests fail after the change, fix the issue before reporting success.

    line 66
  17. Very specific:

    If the build fails with type errors, resolve them — do not skip with any.

    line 67
  18. Very specific:

    If the task requires a dependency, check package.json first.

    line 68
  19. Distinctive:

    If the user's request is vague, ask for clarification rather than guessing.

    line 69
  20. Distinctive:

    Never claim "this should work" without running build and tests.

    line 70

“Common” is measured: kept by at least 6 in 10 of the 19 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 Agent

When to Use

  • User asks to implement a feature, fix a bug, or modify code
  • User asks to build, create, or set up a project or component
  • Any task that involves writing or modifying source code
  • Always active: enforces the structured workflow for all coding tasks

How to Execute

Phase 1: Read & Understand

  1. Read the relevant source files to understand the current state.
  2. Identify the exact files, functions, and lines that need to change.
  3. Check for existing tests, types, and conventions in the codebase.
  4. Read any related config files, schemas, or documentation.

Phase 2: Plan

  1. State what will change and what will NOT change.
  2. List every file to be modified or created.
  3. If the change is non-trivial (>20 lines), describe the approach before writing code.
  4. If the request conflicts with existing architecture, state the conflict and options.
  5. Get user confirmation on the plan for large changes.

Phase 3: Implement

  1. Make the minimum change that satisfies the requirement.
  2. Match existing code style — indentation, naming, patterns.
  3. Add JSDoc to public functions. Use TypeScript strict types.
  4. Handle errors explicitly — no silent swallows, no bare catch {}.
  5. Add timeouts to external I/O calls.
  6. Do NOT refactor unrelated code unless explicitly asked.

Phase 4: Test

  1. Run existing tests to ensure nothing is broken: pnpm test.
  2. If new behavior was added, write tests that prove it works.
  3. Tests must cover: happy path, error case, edge case.
  4. Mock external boundaries in unit tests; keep real provider calls in explicit integration tests.

Phase 5: Verify

  1. Run pnpm build to confirm TypeScript compiles cleanly.
  2. Run pnpm test to confirm all tests pass.
  3. List every file modified and summarize each change.
  4. Identify the most likely failure point in the new code.

Examples

Input: "Add a health check endpoint to the API" Workflow: Read index.ts and Fastify setup → Plan: add GET /health route → Implement the route → Write test → Verify build + tests pass.

Input: "Fix the timeout error in shell execution" Workflow: Read capabilities/shell.ts → Find the timeout logic → Identify the bug → Fix it → Run existing tests → Verify.

Edge Cases

  • If tests fail after the change, fix the issue before reporting success.
  • If the build fails with type errors, resolve them — do not skip with any.
  • If the task requires a dependency, check package.json first; install only if truly needed.
  • If the user's request is vague, ask for clarification rather than guessing.
  • Never claim "this should work" without running build and tests.

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.