adopt

GitHub

审查现有项目制品与模板技能管道的格式合规性,生成优先级迁移计划。用于Brownfield场景,确保既有文档能正确驱动后续技能执行,而非仅检测存在性。

.claude/skills/adopt/SKILL.md Donchitos/Claude-Code-Game-Studios

触发场景

需要检查现有项目是否符合新模板规范 生成基于格式审计的迁移路线图 评估遗留项目适配新工作流的可行性

安装

npx skills add Donchitos/Claude-Code-Game-Studios --skill adopt -g -y
更多选项

非标准路径

npx skills add https://github.com/Donchitos/Claude-Code-Game-Studios/tree/main/.claude/skills/adopt -g -y

不安装直接使用

npx skills use Donchitos/Claude-Code-Game-Studios@adopt

指定 Agent (Claude Code)

npx skills add Donchitos/Claude-Code-Game-Studios --skill adopt -a claude-code -g -y

安装 repo 全部 skill

npx skills add Donchitos/Claude-Code-Game-Studios --all -g -y

预览 repo 内 skill

npx skills add Donchitos/Claude-Code-Game-Studios --list

SKILL.md

Frontmatter
{
    "name": "adopt",
    "model": "sonnet",
    "description": "Brownfield audit — do existing artifacts actually work? Numbered migration plan. Unlike \/project-stage-detect, checks compliance not existence.",
    "allowed-tools": "Read, Glob, Grep, Write, AskUserQuestion, Bash(bash \"*\/.claude\/skills\/adopt\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *), Bash(bash .claude\/scripts\/gdd-structure-check.sh *), Bash(bash .claude\/scripts\/migrate-v1-config.sh --dry-run*)",
    "argument-hint": "[focus: full | gdds | adrs | stories | infra]",
    "user-invocable": true
}

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,automation,automation_always_ask,workflow

Resolved above — use as-is. /adopt also inspects project.yaml and the legacy config files directly when reporting and writing migration state; that raw inspection is deliberate and separate from the resolved values above.

Adopt — Brownfield Template Adoption

This skill audits an existing project's artifacts for format compliance with the template's skill pipeline, then produces a prioritised migration plan.

This is not /project-stage-detect. /project-stage-detect answers: what exists? /adopt answers: will what exists actually work with the template's skills?

A project can have GDDs, ADRs, and stories — and every format-sensitive skill will still fail silently or produce wrong results if those artifacts are in the wrong internal format.

Output: docs/adoption-plan-[date].md — a persistent, checkable migration plan.

Argument modes:

Audit mode: $ARGUMENTS (blank = full)

  • No argument / full: Complete audit — all artifact types
  • gdds: GDD format compliance only
  • adrs: ADR format compliance only
  • stories: Story format compliance only
  • infra: Infrastructure artifact gaps only (registry, manifest, sprint-status, stage.txt)

Automation mode: Resolve modes.automation (project.local.yaml → project.yaml → default collaborative). Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

workflow (per .claude/docs/workflow-modes.md). It scopes the Phase 2 audit and Phase 3 severity: full audits all doc types at full structure; standard audits only the required docs/sections (optional sections are informational, not gaps); minimal is a design/game-brief.md format check — GDDs/ADRs/UX are not expected. See Phase 2.

Phase 1: Detect Project State

Read references/1-detect.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 2: Format Audit

Read references/2-format-audit.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 3: Classify and Prioritise Gaps

Read references/3-classify.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 4: Build the Migration Plan

Read references/4-migration-plan.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 5: Present Summary and Ask to Write

Read references/5-summary.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 6: Write the Adoption Plan

Read references/6-write.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Phase 7: Offer First Action

Read references/7-first-action.md now and follow it — this phase's steps are in that file, not here. Read it again if the conversation was compacted or resumed during this phase.

Collaborative Protocol

Applies in collaborative mode (the default). For guided and autonomous modes, see .claude/docs/automation-modes.md — the rules below describe what collaborative mode requires, not universal behavior.

  1. Read silently — complete the full audit before presenting anything
  2. Show the summary first — let the user see scope before asking to write
  3. Ask before writing — always confirm before creating the adoption plan file
  4. Offer, don't force — the plan is advisory; the user decides what to fix and when
  5. One action at a time — after handing off the plan, offer one specific next step, not a list of six things to do simultaneously
  6. Never regenerate existing artifacts — only fill gaps in what exists; do not rewrite GDDs, ADRs, or stories that already have content

版本历史

  • 05ad7c8 当前 2026-10-19 11:43

    重构故事技能以使用共享辅助脚本;增加大型设计文档读取防护;引擎引用更新至Godot 4.7和Unreal Engine 5.8;移除所有Shell命令的预批准规则。

  • 7ed2c3e 2026-09-28 04:01

    修复了配置解析命令在自动模式外的权限拦截问题;新增对 project.yaml 中 engine.name 及 technical-preferences.md 的读取支持;完善 Phase 1 存在性检查逻辑。

  • 984023d 2026-07-25 09:36

同 Skill 集合

.claude/skills/architecture-decision/SKILL.md
.claude/skills/architecture-review/SKILL.md
.claude/skills/art-bible/SKILL.md
.claude/skills/asset-audit/SKILL.md
.claude/skills/asset-spec/SKILL.md
.claude/skills/balance-check/SKILL.md
.claude/skills/brainstorm/SKILL.md
.claude/skills/bug-report/SKILL.md
.claude/skills/bug-triage/SKILL.md
.claude/skills/changelog/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/consistency-check/SKILL.md
.claude/skills/content-audit/SKILL.md
.claude/skills/create-architecture/SKILL.md
.claude/skills/create-control-manifest/SKILL.md
.claude/skills/create-epics/SKILL.md
.claude/skills/create-stories/SKILL.md
.claude/skills/day-one-patch/SKILL.md
.claude/skills/design-review/SKILL.md
.claude/skills/design-system/SKILL.md
.claude/skills/dev-story/SKILL.md
.claude/skills/estimate/SKILL.md
.claude/skills/gate-check/SKILL.md
.claude/skills/help/SKILL.md
.claude/skills/hotfix/SKILL.md
.claude/skills/launch-checklist/SKILL.md
.claude/skills/localize/SKILL.md
.claude/skills/map-systems/SKILL.md
.claude/skills/milestone-review/SKILL.md
.claude/skills/onboard/SKILL.md
.claude/skills/patch-notes/SKILL.md
.claude/skills/perf-profile/SKILL.md
.claude/skills/playtest-report/SKILL.md
.claude/skills/project-stage-detect/SKILL.md
.claude/skills/propagate-design-change/SKILL.md
.claude/skills/prototype/SKILL.md
.claude/skills/qa-plan/SKILL.md
.claude/skills/quick-design/SKILL.md
.claude/skills/regression-suite/SKILL.md
.claude/skills/release-checklist/SKILL.md
.claude/skills/retrospective/SKILL.md
.claude/skills/reverse-document/SKILL.md
.claude/skills/review-all-gdds/SKILL.md
.claude/skills/scope-check/SKILL.md
.claude/skills/security-audit/SKILL.md
.claude/skills/settings/SKILL.md
.claude/skills/setup-engine/SKILL.md
.claude/skills/skill-improve/SKILL.md
.claude/skills/skill-test/SKILL.md

元信息

文件数
0
版本
05ad7c8
Hash
79547d65
收录时间
2026-07-25 09:36

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-05 07:29
浙ICP备14020137号-1