atelier-fashion/adlc-toolkit/wrapup
Claude Code and agent skill by atelier-fashion/adlc-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Close out a completed feature — update ADLC artifacts, log knowledge, and summarize
Install
npx vskill@latest install atelier-fashion/adlc-toolkit/wrapupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
/wrapup — Feature Completion Wrap-Up
You are closing out a completed feature after it has been merged. This skill ensures ADLC artifacts are finalized, knowledge is captured, and the team has a clear summary of what shipped.
Ethos
!test -s .adlc/ETHOS.md && cat .adlc/ETHOS.md || echo No ethos found — run /init, or /adlc:init on the plugin install, to vendor .adlc/ETHOS.md
Context
Run this block first, with your shell tool, and read its output before you continue. Each read prints a notice instead of failing when its file is absent.
Input
The target is the argument: whatever follows /wrapup in the invocation (on Claude Code it can also arrive as an ARGUMENTS: line appended to this text).
It is a REQ id, optionally followed by --close-out. With no REQ id, Step 1 infers it. Strip the flag before any REQ-id parsing; its meaning is defined under Close-out mode below.
Prerequisites
Before proceeding, verify that .adlc/context/architecture.md and .adlc/context/conventions.md exist. If any of these files are missing, stop and tell the user: "The .adlc/ structure hasn't been initialized. Run /init (/adlc:init on the plugin install) first to set up the project context."
Close-out mode (--close-out)
Close-out mode exists for the actor that performed a merge it did not implement: the /sprint orchestrator after a cross-repo or fallback merge, or the workflow engine's close-out leaf (BUG-249). /proceed Step 8c's rule is "whoever performs the merge owns the Step 8b close-out", and that actor has neither the implementing session's transcript nor the authority to deploy — so running the full skill from a post-merge leaf would push, open a PR, re-merge, delete branches and deploy to every listed device. This mode runs exactly the close-out half.
What runs: Step 1 (identify), Step 3 (artifact statuses + the terminal record), Step 4 (knowledge capture, with the input rule below), Step 5 (ship summary), then the close-out commit below. What is skipped: Step 2 (the feature merge), Step 6 (deploy), Step 7 (cleanup), Step 8 (next steps). Deploy and cleanup belong to the orchestrator that invoked this mode, which reports what it did not do.
Rules:
- Precondition — the feature PR is already merged. Before anything else, confirm every touched repo's PR reports
MERGED(adlc_forge_pr_view <prUrl> --fields state,mergedAt, sourcingpartials/forge.shin the same fence). If any is not, stop withclose-out refused: <repo> PR <url> is <state>, not MERGED— this mode never merges a feature PR. - Where it runs. In a dedicated close-out worktree the caller declares (
WORKTREE PATH (mandatory): <abs>— the REQ-263 contract), on branchchore/REQ-xxx-close-outcut fromorigin/<integration-branch>. Never in the caller's live checkout, and never concurrently with another REQ's close-out in the same repo: the caller serializes close-outs per repo the way it serializes merges. - Step 3 item 5 targets the primary repo path's copy of
pipeline-state.json(<repos[primary].path>/.adlc/specs/REQ-xxx-*/pipeline-state.json, the Step 8b target) — the close-out worktree has no state file (it is gitignored, per-worktree). Write all five fields, and additionally"closeOut": { "status": "ok", "at": "<ISO timestamp>" }. The caller writes"status": "failed", "reason": "<why>"to the same key if this mode exits non-zero, so/statuscan show a merged-but-not-closed REQ as exactly that. - Step 4 draws on supplied evidence, not a transcript. Transcript discovery is skipped (
JSONLstays empty; the delegate is not invoked, which the resolver records asfallback/gate=fail, not a ghost-skip — the same case (b) the delegated-drafting rule already allows). The lesson is drafted from what the caller's prompt supplies: the REQ's consolidated Phase-5 findings (severity, title, fixed/not), the implementer and reviewer reports, the task list, the merged PR's file list, andpipeline-state.json(phaseHistory,blockers,conflictsResolved,lane.escalations) plus the spec'slane_escalatedfrontmatter, and validated withadlc_lesson_checklike any other write (Step 4 Write and check). A non-emptylane.escalations, or alane_escalatedin the spec, is run evidence for the escalation lesson in Step 4 Lane escalations on its own. If the prompt supplies none of the findings or reports, and there is no escalation, write no lesson and putNO_ENTRY: close-out had no run evidencein the summary's### Lessons capturedsection — a lesson invented without run evidence is worse than none. - Close-out commit. After Steps 3–5, in the close-out worktree:
git addthe spec, task files and any newASSUME-*/LESSON-*files; commitchore(REQ-xxx): close-out — spec complete[, LESSON-nnn]; push; open a PR throughadlc_forge_pr_createtitled the same; merge it withadlc_forge_pr_merge <url> --squash --delete-branchand checkbranch_deleted(BUG-195). Lesson ids were allocated and rechecked in Step 4, so this push is collision-safe. The caller removes the close-out worktree afterwards. If the chore PR cannot be merged (policy, conflict), leave it open, report its URL, and exit non-zero so the caller recordscloseOut.status: failed. - Output. The Step 5 summary, with
### Lessons capturedfilled, is the mode's return value; the caller carries it into the sprint summary.
Instructions
Step 1: Identify the Feature
- If given a REQ ID, locate all artifacts under
.adlc/specs/REQ-xxx-*/ - If no REQ ID given, infer from the current branch name or recent merge commits
- Read the requirement spec, architecture doc, and all task files
- Detect repository mode — read
.adlc/config.ymlin the primary repo. If it declares more than one entry underrepos:, this is cross-repo mode; otherwise single-repo mode. In cross-repo mode also readpipeline-state.jsonfrom the spec directory — it holds the per-repo branch/worktree/PR/merge state.
Step 2: Commit, Push, and Merge
Determine the repo set to operate on:
- Single-repo mode: operate on the current repo only. Skip to the single-repo steps below.
- Cross-repo mode from `/proceed`:
pipeline-state.jsonalready lists touched repos; eachrepos[<id>].mergedreflects whether/proceedPhase 8 already merged that PR. WalkmergeOrderand for each repo either confirm it's merged (no-op) or run the single-repo merge sequence inside that repo's worktree. - Cross-repo mode standalone: no
pipeline-state.json— fall back to detecting touched repos from the config and checking for feature branches/open PRs in each. Proceed with the single-repo merge sequence in each repo that has pending work, inmerge_orderfrom the config.
Already merged? Before the sequence below, check the branch's PR with adlc_forge_pr_view <prUrl> --fields state,mergedAt (source partials/forge.sh in the same fence). If it reports MERGED — the normal state when /proceed Phase 8 or a /sprint orchestrator merged before invoking /wrapup — skip items 1–9 and continue at item 10 (cleanup). Re-running the merge sequence against a merged PR pushes, re-creates and re-merges nothing useful and can delete branches twice. In close-out mode Step 2 is skipped entirely (see Close-out mode).
Single-repo merge sequence — run this block inside each target repo's worktree (same mechanics as before):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwrapup/SKILL.md
Popularity
- Repository stars
- 147
- Repository forks
- 38
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. 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/atelier-fashion/adlc-toolkit/wrapup)