idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
Generate or update repository-specific AGENTS.md instruction files from real repo evidence. Use when asked to create, design, scaffold, split, or improve root or scoped AGENTS.md files for Codex/Claude/agent workflows, especially when a repo needs directory-specific rules,
Claude Code
$ npx -y skills add majiayu000/spellbook --skill agentsmd-scaffold --agent claude-code
Codex
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a codex -y
Cursor
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a cursor -y
Gemini CLI
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a gemini-cli -y
GitHub Copilot
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a github-copilot -y
OpenCode
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a opencode -y
Windsurf
$ npx skills add majiayu000/spellbook --skill agentsmd-scaffold -a windsurf -y
name: agentsmd-scaffold description: Generate or update repository-specific AGENTS.md instruction files from real repo evidence. Use when asked to create, design, scaffold, split, or improve root or scoped AGENTS.md files for Codex/Claude/agent workflows, especially when a repo needs directory-specific rules, validation commands, generated-file boundaries, or a short agent onboarding router.
Use this skill to generate a small, evidence-backed `AGENTS.md` stack for a repository. The output may be a plan, exact proposed file contents, or applied files when the user explicitly asks to write them.
This skill is for instruction scaffolding. Use `repo-agent-context-audit` first when the user only asks whether the repo's agent context is healthy.
Default to a scoped plan before editing. Only write or modify `AGENTS.md`, `CLAUDE.md`, `WARP.md`, hooks, settings, or generated docs when the user has explicitly asked to apply the scaffold.
Direct actions:
Escalate before:
short pointer or scoped complement.
Evidence-backed pushback:
evidence supports them.
Feedback loop:
signals, or eval prompts.
Run the scanner from this skill directory when possible:
python3 scripts/scan_repo_context.py <repo-root> python3 scripts/scan_repo_context.py <repo-root> --json
Then inspect the files that matter:
`.github/copilot-instructions.md`
and documented test commands
payments, registry metadata, generated clients, and production operations
Do not infer commands or ownership from names alone. Use scanner output as a lead, then verify with actual files.
Read `references/scaffold-agents.md` before proposing files. Choose the smallest stack that changes agent behavior:
manually validated
Before editing, report:
## Scoped AGENTS Plan | Path | Why here | Rules to include | Validation | |---|---|---|---| | `AGENTS.md` | <repo evidence> | <root topics> | `<command>` | | `<dir>/AGENTS.md` | <repo evidence> | <scoped topics> | `<command>` | ## Files To Preserve - `<existing high-context file>` - <how it will be referenced or left alone> ## Open Facts - <missing command or ownership fact that cannot be inferred>
When applying the scaffold:
rules, and validation commands
missing
command
| Situation | Action | |---|---| | Existing `CLAUDE.md` or `WARP.md` is already a good router | Add a short `AGENTS.md` pointer only if cross-runtime routing helps. | | Root instruction file exceeds roughly 200 lines | Propose root router plus scoped files or references. | | Directory has generated outputs | Add scoped rules naming source of truth and regenerate/check commands. | | Directory has distinct safety rules | Add scoped rules with escalation boundaries. | | Directory has ordinary implementation files only | Keep guidance in root unless conventions differ. | | Commands cannot be verified from repo evidence | Leave an open fact instead of guessing. |
local rules differ from root.
Cite the manifest, CI workflow, script, or docs that prove the command.
normalize naming. Preserve it, point to it, or propose a split first.
references or existing docs instead.
After applying changes:
the new instructions when practical
scanner to confirm scoped files are discoverable
If verification cannot run, report the exact missing precondition and the command that should be run later.
command hints, specs, local skills, and scoped `AGENTS.md` candidates.
root, generated metadata, scripts/tools, skill libraries, and tests
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
想法群聊室 — 反方角色。被 idea-team 主编排器调用,或用户单独说"反方意见"、"挑这个想法的刺"、"为什么会失败"、"找漏洞 / 反例"、"devil's…
想法群聊室 — 调研员角色。被 idea-team 主编排器调用,或用户单独说"调研一下 X"、"X 的现状/竞品/数据"、"找 2026 数据"、"事实底"时触发。**用 WebSearch 拉真实 2026…
想法群聊室主持人 — 把一句话想法丢给多角色 AI 团队(调研员/反方/类比者)做查漏补缺。每个角色有自己的 voice,他们互相 @ 接话;你随时插话。**这是创意扩展工具,不打分、不否决、不堵路**。Use when…
端到端产品教练 — 把一句话想法走到 PRD + 可点击 HTML 原型。会顶嘴、强制砍功能、用 Nielsen + Norman 做友好性硬检。Use when user 说"我有一个想法"、"想做一个产品"、"做 MVP"、"写…
Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.