adopt-existing-product
Use when bringing an existing codebase, product, or legacy project under optional toolbox governance without rebuilding it.
- License 许可
- MIT
- 最近更新
- 2026-07-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- adopt-existing-product
- description
- Use when bringing an existing codebase, product, or legacy project under optional toolbox governance without rebuilding it.
02 资源文件 1
- 参考文档agents/openai.yaml235 B
03 SKILL.md 正文
Adopt Existing Product
Describe findings in profile.language; keep schema fields, refs, IDs, and state
values in canonical English.
Inventory
- Run
toolbox workbench check. Stop before mutation unless the caller supports the required workspace and profile contracts. - Inventory existing repositories, existing documentation, existing tests, the existing design system, release process, ownership, active work, and durable product terminology. Read repository-local instructions before classifying it.
- Compare that inventory with toolbox compatibility: stable product ID, operational language, repository roles, quality commands, and scenario-sized work. Record gaps; do not treat adoption as permission to refactor.
Register
- Only after compatibility is established, run
toolbox product initonce. - Register each repository with
toolbox product repository set, preserving its real workspace-relative path andowner,work, orreferencerole. - Register each existing executable check through
toolbox product quality check set ... --owner <repository-id>. The owner must be the writable repository where the command runs; do not infer it from a check name or invent commands that have not run. - Sync policy with
toolbox product policy sync, validate the product, and usescenario-refinefor the first bounded future outcome. Historical work is not backfilled as completed scenarios without evidence.
Boundaries
- Do not rewrite existing code, rename public APIs, replace the existing design system, or reorganize repositories merely to adopt toolbox.
- Do not migrate the workbench, create a task, or claim prior delivery evidence.
- Leave incompatible products unchanged and report the smallest follow-up needed.
04 同仓库更多 Skills
ticket-incubate
Use to turn an idea that has no issue/ticket yet into an actionable GitHub issue. Grow a vague notion by divergence, narrow only the gaps via a deficit-based interview, and create the issue once the four required elements (background, goal, done criteria, out-of-scope) are filled. Triggers on "I have an idea", "let's make this a ticket", "create an issue", "interview me", or describing something to make/fix/improve without an issue number, even if the user never says the word "ticket". It is the front of the workbench lifecycle (idea -> ticket-incubate -> issue -> task-start). Distinct from brainstorming/design skills: those work out the how of what to build now; this captures the what of later work as a well-honed ticket.
task-tickets
Use to scan open workbench tickets joined with task branches and lifecycle events into unstarted / claim-attempted / in-progress / awaiting-PR / cleaned-up states. Read-only.
task-submit
Use when the user asks to submit, wrap up, or extract from a task, or when work has reached a point to open a PR.
task-status
Use to see local and remote task status at a glance and diagnose drift (unpushed, stale status, missed cleanup). When you want to know where everything stands before starting or submitting, or after a multi-device handoff.
task-start
Use when the user asks to start a task, pick up an issue, or begin a new attempt, or hands over an issue number to start work.
task-done
Use when the user asks to clean up or discard a task, or to clear the workspace after a PR is merged.