08. Skill combination recipes

Guide6 min read

The other pages explain one flow or one Skill at a time. This page shows how Skills feed each other: what one Skill leaves behind, and which Skill picks it up next. Every link below is something the Skills do themselves (read a shared file, offer a hand-off), not a convention you have to remember.

What you wantRecipe
Stop the same review comment from coming backReview learning loop
Turn a fixed bug into a lasting lessonFrom bug fix to prevention
Know which gate runs when, before and after a PRGates before and after a PR
Keep the reason behind hard-to-reverse decisionsRecording decisions while planning
Start a large change whose scope is still unclearDiscovery before planning
Run tasks in parallel without collisionsParallel execution environment
Prepare a releaseRelease preparation

Review learning loop

docs/review-learnings.md is the project's review memory. ywc-review-learnings owns the file; the other Skills read from it and feed it.

  1. Receive — before acting on a comment, ywc-receive-review checks whether it is technically correct, so you don't implement a wrong fix just because a reviewer asked for it.
  2. Handle — ywc-handle-pr-reviews fixes or answers each thread and leaves the PR mergeable (CI green, no conflict with the base).
  3. Record — lessons worth keeping go into docs/review-learnings.md through ywc-review-learnings. With --source pr --pr <number> it distills the bot review comments of one PR. Every new entry is shown to you as a changeset and written only after you confirm it.
  4. Backfill — for past PRs, ywc-mine-review-history scans many merged PRs at once and offers defect classes that keep recurring to ywc-review-learnings.
  5. Reuse — ywc-impl-review loads the learnings at the start of every review (skip with --skip-learnings), so a known false positive is not raised again and a known DO-NOT is caught earlier. After the review it offers to record findings that recur.
claude code
ywc-review-learnings --mode update --source pr --pr 250

The loop works in both tools. Each pass makes the next review quieter: comments the team already rejected stop coming back, and comments the team agreed with are caught before the PR is opened.

From bug fix to prevention

  1. ywc-debug-rootcause finds the root cause, adds a regression test, and gates the fix with ywc-verify-done (15).
  2. If the same class of defect could appear elsewhere, it offers to record it as a review learning (ywc-review-learnings --mode update --source debug).
  3. After a Production incident, ywc-incident-postmortem writes the report and offers its recurrence-preventing action items the same way (--source incident).
  4. From then on ywc-impl-review reads those learnings, so the same class of defect is caught in review instead of in Production.

Steps 2 and 3 are Claude Code only. In Codex the two Skills do not hand off to ywc-review-learnings; if a lesson is worth keeping, record it yourself with ywc-review-learnings (the default feedback source).

Gates before and after a PR

WhenSkillWhat it checks
Before implementationywc-confidence-gateScores readiness on five dimensions: PROCEED (90 or more), REVIEW (70-89), STOP (below 70). Below 90, implementation waits until the weakest dimension is raised or you accept the risk
After implementationywc-impl-reviewFive-aspect review against the spec (14)
When the change touches securityywc-security-auditStatic security review (OWASP Top 10, secrets, threat model)
Before saying "done"ywc-verify-doneFresh evidence (test or build output) for every completion claim
Opening the PRywc-create-prCommit, push, and a PR body built from the task or plan
After reviewers respondywc-handle-pr-reviewsComments, CI and conflicts, as in the loop above
Mergingywc-finish-branchCI and bot-review wait, merge, post-merge check, branch cleanup

You rarely call ywc-verify-done directly: ywc-code-gen and both executors call it at their own completion step. Call it yourself when you finished the work by hand.

Recording decisions while planning

This recipe is Claude Code only.

  • Before planning, ywc-plan reads docs/adr/ and docs/project-mission.md if they exist. A plan does not silently contradict a settled decision; a conflict is shown to you.
  • When an architecture decision in the plan is hard to reverse, would surprise a later reader without context, and is a real trade-off, ywc-plan offers once to save it as an ADR through ywc-adr. When the plan settles a new lasting success criterion, it offers to add it to docs/project-mission.md.
  • When the decision is a library or approach comparison, run ywc-tech-research first and plan on its findings.
claude code
ywc-tech-research "Hono SSE implementation" --compare "Redis,Valkey"

Codex has neither ywc-adr nor ywc-project-mission; keep the reasoning in the plan or spec document instead.

Discovery before planning

This recipe is Codex only.

  1. ywc-wayfinder keeps a local map at docs/ywc-plans/<slug>-wayfinder.md across sessions. The map can hold many tickets, but exactly one is active at a time, and the Skill never implements anything itself.
  2. Once a ticket's route is clear, it hands off to ywc-plan (or to ywc-tech-research when the ticket is blocked on a technical comparison).
  3. From there the usual flow continues: ywc-spec-ready → ywc-task-generator → executor (06). When a single approved spec or ticket only needs implementing, ywc-implement does it as one focused, review-gated change.
codex
ywc-wayfinder Split billing out of the monolith into its own service. The scope is still unclear

Use it only for work that is large, uncertain, or spans several sessions. Ordinary planning belongs to ywc-plan, and idea clarification to ywc-brainstorm.

Parallel execution environment

ywc-parallel-executor creates each task's worktree through ywc-worktrees. In Docker projects it also gives each worktree its own host-port block through ywc-docker-isolate, so the stacks don't collide ("port is already allocated"). After the merge, ywc-finish-branch removes the worktree with ywc-worktrees --mode prune.

You normally call none of these yourself; the executor drives them in both tools. To make or clean up a worktree outside an executor run, use the commands in 19.

Release preparation

  1. Clear pending dependency updates first: ywc-merge-dependabot security parallel-auto.
  2. Open the release PR (for example develop → main), then build its description with ywc-release-pr-list <release PR number>, which groups the merged PRs by author.
  3. Write CHANGELOG.md and user-facing notes with ywc-changelog-release-notes. Passing the result file from step 2 with --pr-list makes it use that list instead of git log.
claude code
ywc-changelog-release-notes --both --version 1.4.0

Previous: 07. Finish automatically from one goal (ywc-agentic) · Next: 09. Starting a new Project