adopt skill
Brownfield audit — do existing artifacts actually work? Numbered migration plan. Unlike /project-stage-detect, checks compliance not existence.
Is the adopt skill safe?
Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-09-28.
No findings.
Install the adopt skill
A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.
git clone --depth 1 https://github.com/Donchitos/Claude-Code-Game-Studios.git /tmp/Claude-Code-Game-Studios mkdir -p ~/.claude/skills cp -r /tmp/Claude-Code-Game-Studios/.claude/skills/adopt ~/.claude/skills/adopt
In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub
The instructions your agent would load
SKILL.md as published, without the frontmatter. Read it on GitHub
!bash "${CLAUDESKILLDIR}/../../hooks/yaml-helper.sh" resolveconfig --keys automation,automationalways_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[0] (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; automationalwaysask 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
Emit one line before reading: "Scanning project artifacts..." — this confirms the skill is running during the silent read phase.
Then read silently before presenting anything else.
Existence check
- project.stage in project.yaml (fallback production/stage.txt) — if either is present, use that value (authoritative phase)
- design/gdd/game-concept.md (or, at the minimal tier, design/game-brief.md) — concept exists?
- design/gdd/systems-index.md — systems index exists?
- Count GDD files: design/gdd/*.md (excluding game-concept.md and systems-index.md)
- Count ADR files: docs/architecture/adr-*.md
- Count story files: production/epics//.md (excluding EPIC.md)
- project.yaml (engine.name) / .claude/docs/technical-preferences.md — engine configured?
- docs/engine-reference/ — engine reference docs present?
- Glob docs/adoption-plan-*.md — note the filename of the most recent prior plan if any exist
Infer phase (if no project.stage / stage.txt)
Use the same heuristic as /project-stage-detect:
- 10+ source files in the code root → Production
- Stories in production/epics/ → Pre-Production
- ADRs exist → Technical Setup
- systems-index.md exists → Systems Design
- game-concept.md (or design/game-brief.md) exists → Concept
- Nothing → Fresh (not a brownfield project — suggest /start)
If the project appears fresh (no artifacts at all), use AskUserQuestion:
projects with work to migrate. What would you like to do?"
- "This looks like a fresh project — no existing artifacts found. /adopt is for
- "Run /start — begin guided first-time onboarding"
- "My artifacts are in a non-standard location — help me find them"
- "Cancel"
Then stop — do not proceed with the audit regardless of which option the user picks (each option leads to a different skill or manual investigation).
Report: "Detected phase: [phase]. Found: [N] GDDs, [M] ADRs, [P] stories."
Phase 2: Format Audit
For each artifact type in scope (based on argument mode and the resolved workflow tier), check not just that the file exists but that it contains the internal structure the template requires. At minimal, scope the audit to design/game-brief.md — do not audit for GDDs, ADRs, or UX specs (they are not expected).
2a: GDD Format Audit
Gather section presence deterministically — do not read the GDDs to count headings. For each GDD discovered in Phase 1, pass its path explicitly to the structure-check script:
Bash: bash .claude/scripts/gdd-structure-check.sh [path-to-gdd]Pass paths one at a time; do not invoke it bare. The no-argument form sweeps design/gdd/ only, and a brownfield project's GDDs are not guaranteed to live there — pass whatever paths Phase 1 found. The script prints a PRESENT: list and, when applicable, an ABSENT: list per file. It reports presence only and makes no REQUIRED/ADVISORY judgment (that is the tier logic below), and it already accepts ## Detailed Design as satisfying the Detailed Rules requirement, so do not flag that alias as missing.
If the script prints Not found: for a path or errors, that is a discovery failure, not a format gap — report it as "could not audit [path]" and do not count it as a missing-sections finding.
Then apply the workflow tier resolved above to each file's PRESENT/ABSENT lists. Which sections are required (a miss = gap) vs advisory (a miss = informational):
Dependencies, Acceptance Criteria) + Formulas for any system that defines numeric rules (rates, curves, thresholds, costs — the system's Category is a hint, not the test); Player Fantasy and Tuning Knobs are advisory.
- full — all 8 sections are required.
- standard — the 5 required (Overview, Detailed Rules, Edge Cases,
that does exist is checked at the standard bar, advisorily.
- minimal — GDDs are not expected; audit design/game-brief.md instead. Any GDD
The script's 8 canonical labels are: Overview, Player Fantasy, Detailed Rules, Formulas, Edge Cases, Dependencies, Tuning Knobs, Acceptance Criteria.
A section reported PRESENT can still be an empty heading. For each GDD, also record with a targeted grep (not a full read):
equivalent empty/single-line body) marks a present-but-unwritten section.
- Placeholder-only sections — Grep pattern="\[To be designed\]" (or an
Valid values: Draft, In Design, Designed, In Review, Approved, Implemented, Needs Revision.
- The Status: header field — Grep pattern="^>?[[:space:]]\\Status\\*:".
The >? is load-bearing, and so are Draft/Implemented. Both emitters
write this field inside a blockquote — .claude/docs/templates/game-design-document.md
and /design-system produce > Status: … — so an anchor of
^\\Status\\: matches nothing and reports every template-compliant GDD
as missing its Status. The template's own value list offers Draft and
Implemented, so both must count as valid.
2b: ADR Format Audit
For each ADR file found, check for these critical sections:
For each ADR, record: which sections present, which missing, current Status value if the Status section exists.
2c: systems-index.md Format Audit
If design/gdd/systems-index.md exists:
parentheses: "Needs Revision (", "In Progress (", etc. These break exact-string matching in /gate-check, /create-stories, and /architecture-review. BLOCKING.
- Parenthetical status values — Grep for any Status cell containing
Not Started, In Progress, In Review, Designed, Approved, Needs Revision Flag any unrecognised values.
- Valid status values — check that Status column values are only from:
Layer, Priority, Status columns. Missing columns degrade skill functionality.
More skills from Donchitos/Claude-Code-Game-Studios
- Aarchitecture-decisionCreate an ADR documenting a technical decision: context, alternatives considered, consequences.
- Aarchitecture-reviewTraceability matrix mapping GDD requirements to ADRs. Finds gaps, cross-ADR conflicts, engine compatibility. PASS/CONCERNS/NOT ASSESSED/FAIL.
- Aart-bibleAuthor the Art Bible — visual identity gating asset production. Run before /map-systems.
- Aasset-auditAudit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.
- Aasset-specPer-asset visual specs plus AI generation prompts from GDDs and character profiles. After the art bible.
- Abalance-checkFind balance outliers, broken progressions, degenerate strategies, economy imbalances in formulas and data. 'Check game balance'.
- AbrainstormGuided concept ideation using professional studio techniques, player psychology, creative exploration.
- Abug-reportStructured bug report from a description, or analyze code for potential bugs. Reproduction steps, severity.
- Abug-triageRe-evaluate open bugs — priority vs severity, assign to sprints, surface systemic trends. Run when the count grows.
- AchangelogAuto-generate a changelog from git commits and sprint data. Internal and player-facing versions.
- Acode-reviewArchitectural code review — coding standards, SOLID, testability, performance concerns.
- Aconsistency-checkScan GDDs against the entity registry for cross-document conflicts. Grep-first approach targets conflicting sections, different stats.