tune-agent-docs
Cut words from agent guide files (role files, team docs, AGENTS.md) without changing any rule. Use when asked to tune, trim or shrink agent docs.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- tune-agent-docs
- description
- Cut words from agent guide files (role files, team docs, AGENTS.md) without changing any rule. Use when asked to tune, trim or shrink agent docs.
03 SKILL.md 正文
Tune agent docs
Agents load these files every turn. No rule changes. Target: the cut the brief names (default 20% of total words); line polish alone gives about 1%.
- Baseline. Copy the targets to scratch; record
wc -wper file. - Parsed strings. Grep
script/,.claude/hooks/andtemplates/agent-team/.claude/{hooks,bin}/for each target file name. List every string they match in that file (headings, phrases, paths, frontmatter keys) and every heading other docs cite by name. Keep them byte-identical. - Edit. Across files first: keep each rule in one place and replace repeats with a pointer (
team.md, <section>); drop rationale, history, dates and examples that state no rule; use tables for rule lists. Then followwriting-for-agents(.agents/skills/writing-for-agents/SKILL.md) and rununslop(templates/agent-team/.agents/skills/unslop/SKILL.md) on every line. Name any file that cannot drop and why. Keep frontmattername,tools,model; shrink adescriptiononly keeping its trigger meaning. - Rule map. One row per moved or merged rule: old
file:line, the rule, newfile:line. No rule dropped, loosened or tightened. A wrong, stale or contradicting rule goes under "Decisions to review", unchanged. - Verify. Links and pointers resolve; each step 2 string survives (
grep -F, from a script file when a string trips the Bash guard);bash script/checks-local.shexits 0; the target is met; role files stay under 800 words. A suite failing identically on main is pre-existing. - Self-check. As the verifier, find every old rule in the new files.
- PR body. Rule map, parsed strings, word counts per file, decisions to review, each step 5 command with its output. Role file commits carry the
Owner-approved:trailer (team.md, Role changes).
04 同仓库更多 Skills
workflow-from-chats
Extract durable working preferences from recent Cursor chats and convert them into skills, rules, or workflow docs. Use when asked to learn preferences, mine feedback, personalize workflows, or generate team/person-specific agent guidance.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
what-did-i-get-done
Summarize authored commits over a user-specified time period into a concise update
weekly-review
Produce a weekly synthesis of authored commits with highlights by bugfix, tech debt, and net-new work
verify-this
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or INCONCLUSIVE.
typescript-best-practices
TypeScript best practices. Use when reading or editing any .ts or .tsx file.