AGENT SKILL

prompting

Writes and trims ttsc's prompts for agents, namely AGENTS.md, CLAUDE.md, and the skills under .agents/skills. Use before changing any of them, together with the documentation skill's writing rules.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 21
Forks
2

01 前言 Front Matter

name
prompting
description
Writes and trims ttsc's prompts for agents, namely AGENTS.md, CLAUDE.md, and the skills under .agents/skills. Use before changing any of them, together with the documentation skill's writing rules.

03 SKILL.md 正文

Prompting

A prompt follows the documentation skill's Writing and Paragraphs And Lists rules. Before editing one, fetch and read Prompting Claude Opus 5.5 in full rather than relying on memory, because it changes with each model. Where it disagrees with the user's rules in this repository, the user's rules win.

Write only facts the code does not show, rules the user set, and mistakes an agent made, and leave dates and history to git.

Skills And Contracts

A skill gives a job's goal, order, and boundaries, and points to the checklists it relies on without restating their items.

An agent does not reliably follow long, detailed, or conditional prose, so a rule that every declaration must meet belongs in a contracts checklist as an H2 question. Evidence makes each selected declaration answer it, and review checks that the answer is true and complete.

Layout

  • AGENTS.md holds what every session needs, under 200 lines, and lists every skill, because Claude Code finds skills only there. CLAUDE.md is @AGENTS.md.
  • A skill is .agents/skills/<name>/SKILL.md with name equal to the directory and a third-person description saying what it does and when to use it.
  • SKILL.md is the overview. Move a branch that only some tasks need into a sibling file linked directly from it, give a job with its own trigger its own skill, and never nest skills.

Verification

Check that links resolve and each rule has one owner. Then give a fresh session a real task the change governs, watch which files it opens and whether it follows the rule, and revise from what it actually did.

04 同仓库更多 Skills