一键导入
on-project-start
Use on first entry to a new repository to run environment scanning and ask targeted boundary questions before implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use on first entry to a new repository to run environment scanning and ask targeted boundary questions before implementation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for general product implementation work that is not primarily backend architecture, pure integration wiring, or screenshot-driven design-to-code.
Use when the main deliverable is maintainable documentation such as repository rules, onboarding guides, runbooks, ADRs, or architecture notes.
Use after writing or modifying code to enforce the mandatory write → test → fix → repeat validation cycle.
Use before committing to a design or plan to force assumption-surfacing. The agent challenges your design, questions edge cases, and flags gaps — you patch vague decisions. Prevents the failure mode where a design "feels explained" but contains hidden flaws that only appear during implementation.
Use to establish and maintain a shared domain glossary (UBIQUITOUS_LANGUAGE.md). Creates a single source of term definitions that all agents, prompts, and documents must use — preventing semantic drift and repeated re-explanation across sessions.
Use when encountering compile errors, test failures, runtime exceptions, or unexpected behavior during implementation.
| name | on-project-start |
| description | Use on first entry to a new repository to run environment scanning and ask targeted boundary questions before implementation. |
Use this skill only when entering a repository for the first time in a session, or when project boundaries are still unclear — it converts unknown project boundaries into explicit, confirmed constraints before implementation starts. For returning sessions where boundaries are already confirmed, use the Session Resume Protocol in skills/memory-and-state/SKILL.md instead.
Scan repository signals
package.json, pom.xml, go.mod, requirements.txt, Cargo.toml, Gemfile)..github/workflows/, Makefile, Justfile, scripts).CONVENTIONS.md, ARCHITECTURE.md, .editorconfig).Ask targeted boundary questions
First, ask about the budget profile — this affects every subsequent decision about which skills and rules are loaded:
"Which token budget profile fits your setup?
- nano — < 3,000 total tokens. Single-file Small fixes only. No skills loaded. Best for: extreme token limits, simple patches.
- minimal — < 16K context. Small tasks only. Loads demand-triage + repo-exploration. Best for: solo devs, tight budgets.
- standard — 16K–32K context. Small/Medium tasks. Full skill set. Best for: typical team usage. (default)
- full — 32K+ context. All tasks including Large. All skills. Best for: large teams, complex projects."
Skip this question only if prompt-budget.yml already has budget.profile explicitly set to a non-default value.
Then ask only high-value technical questions that can change implementation decisions:
Confirm and persist
prompt-budget.yml → budget.profile (create the file from docs/prompt-budget-examples.md if it does not exist yet).project/project-manifest.md with the confirmed constraints.prompt-budget.yml -> decision_log.policy.Continue with normal workflow
repo-exploration then demand-triage.Initialization summary:
- Budget profile selected: [nano | minimal | standard | full] — written to prompt-budget.yml
- Detected stack:
- Boundary questions asked:
- User confirmations:
- Constraints recorded in project manifest:
- Open items (if any):
prompt-budget.ymlprompt-budget.yml does not yet have budget.profile set