From engineering-baseline
Safely adopt, audit, production-harden, restructure, or refactor an existing application after Engineering Baseline is installed. Use on first run when `.engineering-baseline-lock.json` has `adoption.status: pending`, and whenever a user asks to make an existing repository production-ready, apply all baseline/security frameworks, correct its directory structure, reduce complexity with Ponytail, or introduce Superpowers without breaking behavior. Begin with read-only context gathering, present findings and required questions, and make no project changes until the user explicitly approves a proposed plan.
How this skill is triggered — by the user, by Claude, or both
Slash command
/engineering-baseline:adopt-existing-projectThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Existing applications require migration, not scaffolding. Preserve behavior and
Existing applications require migration, not scaffolding. Preserve behavior and data while moving toward the production contract incrementally.
Read .engineering-baseline-lock.json first.
pending: run this skill before any application implementation or refactor.approved: execute only the approved plan and scope.in_progress: resume from recorded plan/checkpoint; do not restart discovery.complete: use the normal Engineering Baseline workflow unless the user asks
for a new full assessment.not_required: the project was empty/new when installed; use Production
Full-Stack for creation.If the file is absent but the repository contains an existing application,
treat adoption as pending.
Until the user approves a plan, do not edit, create, move, rename, format or delete project files. Do not install dependencies, run migrations, start containers, execute application scripts, or invoke autofix tools. Read-only inspection and safe version/status commands are allowed.
scripts/inspect_project.py --project <root> from this skill and inspect
the relevant files it identifies.Read references/discovery.md for the complete inventory.
Before modifying anything, respond in chat with:
Ask questions that materially change architecture, compatibility, security, deployment or migration. Do not silently choose on the user's behalf. Use references/questions-and-plan.md.
End with an explicit approval request. Silence, an unrelated reply, or approval of only one decision is not approval of the whole plan.
Only after explicit approval:
scripts/adoption_state.py approve --project <root> from this skill.scripts/adoption_state.py start --project <root> when implementation begins.Use small independently verifiable changes. Do not combine directory moves, behavior changes, security rewrites and cosmetic refactors in one step.
Order by dependency and risk:
For each step use the relevant Superpowers skill:
systematic-debugging for failures or unexpected behavior.test-driven-development for fixes and new behavior.executing-plans or subagent-driven-development only when available and
suitable; never claim subagents that the host does not provide.requesting-code-review after each meaningful phase.verification-before-completion before every completion claim.finishing-a-development-branch when the approved work is complete.Read references/migration-and-verification.md.
Security Review is mandatory during discovery and after every phase:
Do not say frameworks were applied unless the matrices and verification evidence exist. Scanners supplement manual verification; they do not replace it.
Ponytail may reduce code only after behavior is protected by tests or equivalent evidence. Preserve public APIs, response contracts, database semantics, events, security controls, accessibility and error behavior unless the approved plan explicitly changes them. Prefer deletion and reuse, but never trade away correctness, security, observability or compatibility.
Run all baseline and new checks, review the final diff, rehearse rollback where needed, update documentation/evidence, and show results. Then run:
python3 <this-skill-dir>/scripts/adoption_state.py complete --project <root>
Do not mark complete with failing new checks, unverified migrations, missing framework evidence, or unaccepted critical/high residual risk.
npx claudepluginhub notwld/engineering-baseline --plugin engineering-baselineGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.