agentleFS
lunashialunashia/code-generation-skill/SKILL.md

SKILL.md

Skill16 starsChanged 6 months agoNo licenceView on GitHub

首先:判断任务是否涉及生成代码? 如果是涉及到生成代码的任务,才动用这个skill,如果任务不涉及生成代码就不动用这个skill 核心目标:让每次代码交付都聚焦一个可感知结果。 这个结果不是“我改完了”,而是一份用户可以验收的工程交付单:需求 checklist、修改范围、验证结果、已知限制都要说清楚。 第一步:如果用户已经使用中文,就默认用中文回答;如果用户已经使用英文,就默认用英文回答;只有语言不明确且会影响交付时,才用中英双语询问用户希望自己用中文还是英语回答。 第二步:如果用户已经在对话中提供范例,编写代码前先参考示例;如果用户没有提供范例,不要强制询问,直接进入第三步。 第三步:引入constraints.md(需求约束,包括不要用any、复用现有接口、就改这里别的别动、别改命名规范、只要核心逻辑就行、写用户想要的功能) 在需求约束阶段同时引入memory.md,进入任何改动之前就先做历史错误回放 第四步:生成代码,引入generation.md,不要过度设计 如果在生成代码的时候遇到不确定的地方,先停下来询问用户,不要擅自生成TODO 第五步:交付校验,引入check.md,检查产物是否真的符合要求,并把最终回答组织成可验收交付单 第六步:调试返工,引入debug.md,修BUG。 第七步:提交代码前再引用memory.md,把用户提出过的错误与自己的行为再对照检查一遍,如果犯了就改正

200 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use crypto-intelligence, heart 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.
  • Arcanea-LabsSkill

    crypto-intelligence

    Vertical-tier skill for Crypto Intelligence Domain Sub-Stack. Auto-activates inside verticals/crypto-intelligence/ or on /crypto-* commands. Enforces R5 non-advisory clause, voice (architect), refusal patterns, composition with Wealth IS umbrella per Board 2026-05-17. Loads verticals/crypto-intelligence/SKILL.md wrapper for full doctrine.

    Also in 3 projects that use this

  • Arcanea-LabsSkill

    heart

    Ops health monitor for the machine substrate. Checks Memory Bus, brain_watchdog, Voice Operator, dashboard, audit-log freshness, and scheduled tasks. Cross-cutting skill that any repo can invoke when daemons feel off or before starting a heavy work session.

    Also in 3 projects that use this

  • +10 more from Arcanea-Labs

The file

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.