why
Investigate design rationale and regressions through git history, pull requests, comments, tests, and repository documents. Use how for ordinary runtime walkthroughs.
- License 许可
- MIT
- 最近更新
- 2026-10-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- why
- description
- Investigate design rationale and regressions through git history, pull requests, comments, tests, and repository documents. Use how for ordinary runtime walkthroughs.
02 资源文件 5
- 参考文档references/epistemics.md7.6 KB
- 参考文档references/investigator-prompt.md2.4 KB
- 参考文档references/source-playbook.md378 B
- 参考文档references/sources/code-archaeology.md2.4 KB
- 参考文档references/synthesizer-prompt.md1.4 KB
03 SKILL.md 正文
Why
Resolve model choices and tool arguments through the repository model policy.
Explain why code has its current shape using historical evidence. Code shows what an implementation does; commits, pull requests, comments, and tests may explain the constraints and alternatives that shaped it.
Establish the target
Capture the user's question, relevant files and symbols, user-visible behavior, and recent commits touching the target. Read the code archaeology playbook for history searches and common pitfalls.
Keep the investigation read-only unless the user separately requests a change. Record unavailable evidence and failed searches. Redact credentials and sensitive payloads.
Investigate
Read the relevant commit diffs, pull request descriptions and discussions, comments, tests, and repository documents. Follow the history far enough to identify the motivating change. Distinguish direct statements of intent from inference about code mechanics.
For a substantial investigation with delegation available, give an investigator:
- the investigator prompt
- the code archaeology playbook
- the target files, symbols, and initial commit list
- the user's question and any evidence already collected
Use bounded, independent history questions if multiple investigators would improve coverage. Otherwise perform the investigation locally.
Synthesize
Read the confidence framework. Separate Direct, Supported, Inferred, Speculative, and Unknown claims. Preserve contradictions and cite the exact commit, pull request, or file location supporting each factual claim.
For delegated investigations, give a separate synthesizer the synthesizer prompt, the complete findings, investigation target, and original question. It may spot-check citations with read-only git or pull request queries. Without delegation, synthesize locally and state any requested independent review that could not run.
Present
Lead with the explanation and supporting evidence. Include competing explanations and unresolved questions when they matter. State which history searches were performed and how strongly the evidence supports the conclusion. Use only the sections that help answer the question.
If the investigation precedes a fix, finish with the behavior the change must correct and the evidence that would prove it.
References
- Code archaeology covers git, pull requests, tests, comments, and repository documents.
- Investigator prompt structures evidence collection.
- Synthesizer prompt guides the final explanation.
- Confidence framework defines evidence tiers and phrasing.
04 同仓库更多 Skills
finance-updates
Review Koru spending, bank exports, dated holdings and monthly purchase emails, then prepare proposals for the user's review. Use with a Koru review bundle or connected Koru MCP tools.
convex
Routes general Convex requests to the right project skill. Use when the user asks which Convex skill to use or gives an underspecified Convex app task.
convex-setup-auth
Sets up Convex auth, identity mapping, and access control. Use for login, auth providers, users tables, protected functions, or roles in a Convex app.
convex-quickstart
Creates or adds Convex to an app. Use for new Convex projects, npm create convex@latest, frontend setup, env vars, or the first npx convex dev run.
convex-performance-audit
Audits Convex performance for reads, subscriptions, write contention, and function limits. Use for slow features, insights findings, OCC conflicts, or read amplification.
convex-migration-helper
Plans Convex schema and data migrations with widen-migrate-narrow and @convex-dev/migrations. Use for breaking schema changes, backfills, table reshaping, or zero-downtime rollouts.