agentleFS
Huangjiacong1314520Huangjiacong1314520/SKILLS/to-execution-spec/SKILL.md

to-execution-spec

Skill4 starsChanged 5 months agoMITView on GitHub

Turns a long conversation, draft, or plan into a formal execution spec for implementation. Use when the user wants to convert discussion context into a saved Markdown execution specification, especially for refactors, research workflows, technical plans, interface contracts, or implementation-ready designs.

The file

Show its rules and text

We split this skill into the rules it gives an agent

22 rules. About 0 are common, 19 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    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:

    Create a concise but implementation-ready execution spec from the current conversation or a user-provided draft.

    line 8
  2. Very specific:

    Use a Chinese filename by default: <主题>执行规格.md.

    line 13
  3. Distinctive:

    If the user asks for chat-only output, do not save a file.

    line 15
  4. Distinctive:

    If the target file already exists, do not overwrite unless the user explicitly asked to update it.

    line 16
  5. Distinctive:

    Use one of these modes:

    line 20
  6. Distinctive:

    Before writing, do lightweight exploration only:

    line 25
  7. Very specific:

    Read CONTEXT.md if present and use its terminology.

    line 27
  8. Distinctive:

    Read relevant ADRs if present, but do not create ADRs.

    line 28
  9. Distinctive:

    Read relevant docs and user-mentioned files.

    line 29
  10. Distinctive:

    Do not modify code, create issues, run broad tests, install dependencies, or perform deep repo exploration unless separately requested.

    line 31
  11. Distinctive:

    Only put user-confirmed decisions, user-proposed decisions, or clearly inherited project facts into "已定决策".

    line 35
  12. Distinctive:

    Do not promote assistant suggestions that the user did not confirm.

    line 36
  13. Distinctive:

    If a decision is useful but unconfirmed, put it in "待定与暂缓问题" or ask before generating.

    line 37
  14. Distinctive:

    If unresolved questions block first-version implementation, list them as "未解决阻塞项" and ask at most 3 focused questions before writing.

    line 38
  15. Distinctive:

    If unresolved questions do not block the first version, keep them in "待定与暂缓问题".

    line 39
  16. Very specific:

    Do not update CONTEXT.md; this skill only reads it.

    line 40
  17. Distinctive:

    Do not create ADRs, issues, tasks, or code.

    line 41
  18. Distinctive:

    Avoid User Stories and product PRD language unless the user explicitly asks for a PRD.

    line 42
  19. Distinctive:

    Use this template for complex work.

    line 46
  20. Distinctive:

    验收标准: Write natural, observable acceptance criteria.

    line 84
  21. Distinctive:

    Do not include full implementations.

    line 96
  22. Distinctive:

    Before saving, check internally that:

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

To Execution Spec

Create a concise but implementation-ready execution spec from the current conversation or a user-provided draft. The output is not a PRD, ADR, issue list, or code implementation.

Default Output

  • Save a Markdown file under docs/execution-specs/.
  • Use a Chinese filename by default: <主题>执行规格.md.
  • Also reply with the saved path and a short summary.
  • If the user asks for chat-only output, do not save a file.
  • If the target file already exists, do not overwrite unless the user explicitly asked to update it; otherwise ask whether to update or create a versioned file.

Inputs

Use one of these modes:

  1. Current conversation plus lightweight project context.
  2. A user-specified draft, plan, document, or file plus lightweight project context.

Before writing, do lightweight exploration only:

  • Read CONTEXT.md if present and use its terminology.
  • Read relevant ADRs if present, but do not create ADRs.
  • Read relevant docs and user-mentioned files.
  • Inspect stable project structure and key entry points when useful.
  • Do not modify code, create issues, run broad tests, install dependencies, or perform deep repo exploration unless separately requested.

Decision Rules

  • Only put user-confirmed decisions, user-proposed decisions, or clearly inherited project facts into "已定决策".
  • Do not promote assistant suggestions that the user did not confirm.
  • If a decision is useful but unconfirmed, put it in "待定与暂缓问题" or ask before generating.
  • If unresolved questions block first-version implementation, list them as "未解决阻塞项" and ask at most 3 focused questions before writing.
  • If unresolved questions do not block the first version, keep them in "待定与暂缓问题".
  • Do not update CONTEXT.md; this skill only reads it.
  • Do not create ADRs, issues, tasks, or code.
  • Avoid User Stories and product PRD language unless the user explicitly asks for a PRD.

Required Structure

Use this template for complex work. Remove empty sections for small tasks only.

# <主题>执行规格

## 1. 目标

## 2. 非目标

## 3. 第一版范围

## 4. 背景与现状

## 5. 已定架构

## 6. 接口契约

## 7. 关键设计决策

## 8. 实现顺序

## 9. 验收标准

## 10. 待定与暂缓问题

## 11. 参考资料

Section Guidance

  • 目标: State the concrete outcome the implementation should achieve.
  • 非目标: Explicitly exclude scope that would cause first-version bloat.
  • 第一版范围: Define what is enough for the first executable version.
  • 背景与现状: Summarize current repo state, legacy assets, documents, and constraints.
  • 已定架构: Describe agreed structure and module boundaries.
  • 接口契约: This section is mandatory. Define inputs, outputs, data shapes, visibility boundaries, and forbidden dependencies.
  • 关键设计决策: Explain why key choices were made and which alternatives were rejected.
  • 实现顺序: Order steps by dependency. Each step should say what to do, why it comes now, and what becomes verifiable.
  • 验收标准: Write natural, observable acceptance criteria. Check behavior, interface boundaries, experiment loops, outputs, and failure cases. Do not merely check that files or functions exist.
  • 待定与暂缓问题: Include only non-blocking follow-up topics. Blocking questions must be separated before writing.
  • 参考资料: List sources used, such as CONTEXT.md, ADRs, docs, papers, and relevant source files. The spec body must still be self-contained; do not use "see chat history" as a substitute for decisions.

Interface Examples

Small code-shaped examples are allowed when they clarify contracts:

result = method.run(sim_data, method_cfg);

Do not include full implementations.

Final Self-Check

Before saving, check internally that:

  • Confirmed decisions are not mixed with unconfirmed suggestions.
  • Terms match CONTEXT.md when available.
  • Interface contracts are explicit.
  • Pending items do not block first-version execution.
  • Acceptance criteria are observable and not file-existence busywork.
  • The document avoids User Stories and product PRD tone.
  • The body is self-contained and includes references.

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.