idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
Audit and recommend improvements for a repository's agent-readable context, including AGENTS.md, CLAUDE.md, WARP.md, CONTRIBUTING.md, .agents/skills, and specs/ PRODUCT.md and TECH.md contracts. Use when asked to review, score, assess, or standardize repo instructions, agent
Claude Code
$ npx -y skills add majiayu000/spellbook --skill repo-agent-context-audit --agent claude-code
Codex
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a codex -y
Cursor
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a cursor -y
Gemini CLI
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a github-copilot -y
OpenCode
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a opencode -y
Windsurf
$ npx skills add majiayu000/spellbook --skill repo-agent-context-audit -a windsurf -y
name: repo-agent-context-audit description: Audit and recommend improvements for a repository's agent-readable context, including AGENTS.md, CLAUDE.md, WARP.md, CONTRIBUTING.md, .agents/skills, and specs/ PRODUCT.md and TECH.md contracts. Use when asked to review, score, assess, or standardize repo instructions, agent onboarding, spec workflows, or cross-repo agent-context conventions. Use agentsmd-scaffold instead when the user wants to generate or apply root/scoped AGENTS.md files.
Assess whether a repository has a small, usable agent context stack: a short top-level instruction file, task-specific skills, and behavior/implementation specs for substantial work. Default to a read-only audit and minimal recommendations; create or edit high-context files only when the user explicitly asks.
If the user asks to generate, split, or apply root/scoped `AGENTS.md` files, handoff to `agentsmd-scaffold`. This skill may identify that scaffold as the smallest useful change, but should not duplicate the generation workflow.
Prefer this three-layer shape:
1. `AGENTS.md` or repo-equivalent: 80-150 lines, top-level routing only. 2. `.agents/skills/<task>/SKILL.md`: reusable workflows for common fragile tasks. 3. `specs/<id>/PRODUCT.md` and `specs/<id>/TECH.md`: checked-in contracts for substantial features.
Do not force this exact layout when a repo already has a coherent equivalent, such as `WARP.md`, `CLAUDE.md`, `CONTRIBUTING.md`, or framework-specific instruction files. Map existing files to the layers first, then fill only the real gaps.
Run the read-only scanner when possible:
# From this skill directory: python3 scripts/scan_repo_context.py <repo-root>
Then inspect the important files directly. Always search before creating:
If multiple instruction files overlap, record their scopes and precedence instead of merging them by default.
Classify the repo into one of these states:
Use the rubric in `references/standards.md` for:
Lead with the smallest useful change. Good recommendations usually look like:
When the user explicitly asks to generate, split, or apply root/scoped `AGENTS.md` files, use `agentsmd-scaffold` instead of duplicating that workflow.
When the user asks for exact PRODUCT/TECH spec templates or non-AGENTS context scaffolding, read `references/templates.md` and adapt the templates to the repo. Before editing:
| Case | Action | |---|---| | Small bugfix repo with README and clear tests | No spec system; maybe add a short `AGENTS.md` router | | Repeated feature work with review churn | Add PRODUCT/TECH spec workflow | | User asks to generate or apply root/scoped `AGENTS.md` files | Use `agentsmd-scaffold` | | Existing `CLAUDE.md` or `WARP.md` is good | Link it from `AGENTS.md` or leave it as the repo-equivalent | | Multiple teams or nested packages | Use scoped nested `AGENTS.md` only where rules genuinely differ | | High-context file over 200 lines | Split into top-level router plus referenced skills/docs | | User asks for bulk normalization | Audit first; do not batch edit until 2-3 repos have been manually validated |
Direct actions:
Escalate before:
Evidence-backed pushback:
Feedback loop:
想法群聊室 — 类比者角色。被 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.