adapt-to-project

Solid

Use this skill to walk the adopter through the four classes of post-install change (substitution, .upstream companion merges, discovery + restructuring, within-layout consolidation). Triggers after installing a pack (the install->adapt chain nudges via session-start hook) or any time `<repo>/.adapt-install-marker.toml` / `~/.agentbundle/.adapt-install-marker.toml` is on disk. Walks both scopes' state files for Tier-2 detection; class-1 substitution shells out to `agentbundle adapt`; classes 2-4 write files directly under the per-scope path-jail.

AI & Automation 14 stars 4 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 80/100

Stars 20%
39
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Skill: adapt-to-project > **Status:** v1. Class-1 substitution shells out to the CLI; classes > 2–4 are LLM-judgment writes the skill performs directly under the > per-scope path-jail. ## When to invoke Invoke this skill **inside an adopter's repository** after they have installed one or more packs (the install verb writes `.adapt-install-marker.toml` at the install's scope root; the session-start hook surfaces the nudge on the next session open). Re-invoke any time: - A new pack is installed at either scope. - An adopter sees the session-start nudge naming a pack pending adaptation. - Companion files (`*.upstream.*`) appear on disk at either scope. - The adopter asks "adapt this template to my project". Idempotent on re-invocation: when every pack-declared marker is in the repo-scope `[markers]` table, every companion has been resolved, every finding is recorded in either `[[findings.accepted]]` or `[[findings.declined]]` at the scope it was observed in, and both scopes' `.adapt-install-marker.toml` files are absent, the skill emits zero filesystem diff and no new proposals. ## Pre-flight Before any proposal, read **both** scopes' state files and surface divergence: 1. **State files.** Read `<repo>/.agentbundle-state.toml` (if present) and `~/.agentbundle/state.toml` (if present). These carry `schema-version = "0.2"` and an explicit `scope` column. If either file declares `schema-version = "0.1"`, emit one stderr-style message naming `agentbundle i...

Details

Author
eugenelim
Repository
eugenelim/agent-ready-repo
Created
2 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

adopt-project

Apply agent-starter patterns to an EXISTING project - audits the codebase, proposes components by invasiveness tier (hooks, skills, CLAUDE.md, lint configs, patterns), and applies only what the developer approves. Use when the user says adopt, retrofit, "apply agent-starter to this project", or wants starter patterns in an existing codebase.

79 Updated today
sneg55
AI & Automation Solid

project-onboarding-adapter

Adapt this .agents bundle to a frontend project using approved native pointers, local-only overlays, stack detection, skill applicability, tool capabilities, client and verification facts, optional loop memory, and context cache. Do not create app code or overwrite instructions.

5 Updated 1 weeks ago
ytvee-dev
Code & Development Listed

adopt

Run-once onboarding for a fork that adopts this governance-corpus-plus-pack project. A maintainer's clone carries accumulated operational working-state (audit-trail registers, session handoff, a next-actions queue, per-document review anchors) that is meaningless to a fresh adopter; this skill resets that machinery-core working-state to clean adopter baselines, settles how the adopter will handle the absent sibling repositories (their own, or self-contained with in-repo stubs `/adopt` creates or functional in-repo siblings), strips maintainer-only operational residue, and records the adopter's choices in a committed adopt-config so the resume step proceeds in adopter-mode without re-asking. It runs ONLY on an adopter clone (a fork origin), never on the maintainer's own repo or a maintainer's fresh-machine clone, and only once (an existing adopt-config short-circuits it).

3 Updated today
jposluns