codando-io/officina/adopt
Claude Code and agent skill by codando-io/officina
- community
Checking that the SKILL.md file is still in the repository.
Adopt the engineering harness in the current repository, upgrade a repository to a newer harness version, or check an adopted repository for drift. Creates or updates AGENTS.md, .engineering/ (config, overrides, memory), CLAUDE.md, and .claude/settings.json, filling project context from verified facts. Run only when the user asks.
Install
npx vskill@latest install codando-io/officina/adoptSKILL.md
The same SKILL.md was published earlier as codando-io/officina/adopt.
Adopt
Run this skill only when the user explicitly asks for it.
Connect a repository to the harness with a small, reviewable change. The harness brings process; the repository brings its own facts. Never overwrite a file the project already has: merge into it and show the diff.
Modes
Pick from the arguments or the repository state:
- adopt:
.engineering/harness.yamldoes not exist. - upgrade: it exists and declares an older harness line than
$HARNESS/VERSION.
- check: it exists and matches; verify the setup is still correct.
Adopt
If the working tree has uncommitted changes, stop and ask before starting.
- Inspect the repository (read-only): languages, solution/project files,
package manifests, Docker and CI files, existing agent instruction files (AGENTS.md, CLAUDE.md, .claude/), the ADR directory (docs/adr, adr/, docs/decisions), test projects, telemetry setup, deploy configuration.
- Choose profiles from
$HARNESS/profiles/README.mdby matching each
profile's Detection section. If none fits, use no profile and say so; do not force one.
- Create `.engineering/` from the templates:
harness.yamlfrom$HARNESS/templates/harness.yaml: the current harness
line (major.minor of $HARNESS/VERSION while in 0.x), the profiles, the ADR directory actually used (default docs/adr).
memory/INDEX.mdfrom$HARNESS/templates/memory-index.md, and empty
memory/gotchas/ and memory/discoveries/ directories (keep them with .gitkeep).
- Do not create the ADR directory; the first ADR creates it.
overrides/only if the project already has rules that differ from the
harness (e.g. a documented branching model). Use $HARNESS/templates/override.md. Do not create empty override files.
- Project context in `AGENTS.md`. Use
$HARNESS/templates/AGENTS.mdas the
section list. If AGENTS.md exists, add only missing sections. Fill sections with facts you verified:
- run the build and test commands and record the ones that worked. Before
the first restore or install, check the manifests for install scripts and unusual sources ($HARNESS/core/security.md §3-4) and ask if anything looks odd. If a command needs infrastructure you do not have (Docker, a database), record it as (unverified) instead of guessing;
- fill the feature map from routes, screens, and public endpoints, using the
names the UI and docs already use; mark a row (unverified) when you did not see it run;
- name two or three reference implementations (the best existing examples of
an endpoint, a component, a test) as file paths;
- describe the actual architecture, not an ideal one;
- leave a clearly marked
(unknown - ask the team)where you could not verify; - in Delivery, write
missingfor any item the project does not have (CI on
every change, merge gate, staging gate, rollback, feature flags) and list those as readiness gaps in the output.
- Claude Code files. Apply
$HARNESS/docs/claude-code.md, section
Project setup.
- Ignore working files: add
.engineering/work/to.gitignore.
If the repository has no pull request template, offer to install $HARNESS/templates/pull-request.md as .github/pull_request_template.md, so pull requests opened by hand follow the same structure. If the project has no commit message check (commitlint, a commit-msg hook), offer $HARNESS/bin/check-commit-msg as the local commit-msg hook, with --summary-only when the project's commits are one line. Offer a stop_check in harness.yaml: the cheapest rung of the profile's verification ladder that finishes in under a minute. Offer $HARNESS/templates/harness-check.yml as a CI workflow, so a broken harness.yaml or an orphaned override fails the pull request instead of the next session. If the app has a surface an agent can drive (web UI, CLI, API), offer a verification skill for it ($HARNESS/skills/test/references/verification-skill.md); it is generated only when the user accepts. If the repository has paths where a mistake is expensive (auth, billing, money, CI and release workflows, installers), offer .engineering/overrides/review.md naming them and what failure means there, so review weighs them; suggest GitHub CODEOWNERS on the same paths.
- Verify. Run
$HARNESS/bin/eng-context --checkfrom the repository root
and show its output (the header, profiles, memory count, and any warnings). It must exit 0, and a repository that has not adopted the harness exits 1. Then check CLAUDE.md and .claude/settings.json against $HARNESS/docs/claude-code.md.
- Deliver as one commit on a new branch (`chore: adopt engineering harness
vX.Y`), and summarize: files created, sections left unknown, suggested first memory entries. Ask before pushing or opening a PR.
Upgrade
- Read the
$HARNESS/CHANGELOG.mdentries between the project's line and the
current version. Apply each Migration section in order.
- Mechanical changes (renamed keys, moved files): apply them.
- Changes that need judgment (a changed override semantic, a removed skill the
project's overrides reference): list them and ask.
- Update
harness:in.engineering/harness.yaml. Run the verification step. - One commit:
chore: upgrade engineering harness to vX.Y.
Check
Report, without changing anything:
eng-contextoutput and warnings;AGENTS.mdcommands that no longer work (run them);- overrides that reference skills or sections that no longer exist;
- memory entries whose evidence (files, commands) no longer exists;
$HARNESS/bin/verify-driftoutput: verification skills whose covered files
changed after their sync commit, to re-confirm with $HARNESS/skills/test/references/formal-verification.md; for a verify-<app> skill, run the maintenance pass in $HARNESS/skills/test/references/verification-skill.md when its feature map looks stale;
CLAUDE.mdor.claude/settings.jsondrifted from
$HARNESS/docs/claude-code.md, section Project setup.
Output
List of files created or changed with one line each, the verification output, readiness gaps (from Delivery), and open questions for the team.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/adopt/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codando-io/officina/adopt)