Skip to content
cccskills
FreePublished on GitHub

assemble

Dev-Critic loop: implement, review, fix — repeat until clean

The English summary is being prepared. Showing the original description.

Works withLinear
See how to install

Files included (1)

  • SKILL.md3.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Assemble — Dev-Critic feedback loop

Orchestrate a Dev -> Critic feedback loop, driving a task from implementation to a clean, verified state without human intervention — unless genuine blocking questions arise.

Trigger

When a task needs full implementation AND review in one go.

Goal

Run dev and critic in alternating cycles until the critic issues a PASS verdict. Each cycle runs in its own sub-agent with a fresh context window. Only interrupt the user when a question genuinely blocks progress.

Boundaries

  • In scope: orchestrating dev-critic sub-agent cycles to reach PASS, managing the circuit breaker.
  • Out of scope: committing or pushing (ship), authoring or modifying specs (spec), creating Linear issues (lead).

Pipeline

Step 0 — Context Gathering

Before starting the loop, gather the context the sub-agents will need:

  1. Read the task: $ARGUMENTS
  2. If a PBI/Linear issue ID is given, fetch it via MCP to get acceptance criteria.
  3. Identify relevant specs in specs/ for the task domain.
  4. Read AGENTS.md / CLAUDE.md for project constraints.

Compile this into a Task Brief — a self-contained description that each sub-agent receives.

Step 1 — Dev Cycle

Spawn a sub-agent (model: sonnet / pro) with the full dev skill instructions and the Task Brief.

The dev agent prompt must include:

  • The complete dev skill instructions (from .agents/skills/dev/SKILL.md or .claude/skills/dev/SKILL.md)
  • The Task Brief from Step 0
  • If this is cycle N>1: the Critic Findings from the previous cycle, with explicit instructions to fix each violation

Wait for the dev agent to complete. Capture its summary of changes made.

Step 2 — Critic Cycle

Spawn a sub-agent (model: sonnet / pro) with the full critic skill instructions.

The critic agent prompt must include:

  • The complete critic skill instructions (from .agents/skills/critic/SKILL.md or .claude/skills/critic/SKILL.md)
  • The Task Brief (so the critic knows what was intended)
  • The dev agent's summary of what was changed

Wait for the critic agent to complete. Parse the verdict.

Step 3 — Decision Gate

Based on the critic's verdict:

  • PASS — Proceed to Step 4 (finish).
  • PASS WITH NOTES — Proceed to Step 4 (finish). Report the notes to the user.
  • FAIL — Extract the violation list. Go back to Step 1 with the findings as fix instructions.

Circuit breaker: If you have completed 3 full cycles without reaching PASS, stop and present the remaining findings to the user. Ask whether to continue or adjust the approach. Do not loop forever.

Step 4 — Finish

Report to the user:

  • Summary of what was implemented
  • Number of dev-critic cycles it took
  • Final critic verdict (and any notes)
  • Suggest running /ship to commit and push

Sub-Agent Model Policy

Follow the standard model policy for sub-agent spawning:

  • haiku / flash — File search, grep, reading files, listing issues, gathering context
  • sonnet / pro — Code edits, writing content, running validation, critic reviews
  • opus — Only if a sub-task genuinely requires it; ask user first

Principles

  • Fresh context per cycle — Each dev/critic run is a separate sub-agent. No stale state accumulation.
  • Self-healing — Critic findings feed directly into the next dev cycle as fix instructions.
  • Silent unless stuck — Do not ask the user for confirmation between cycles. Only interrupt if genuinely blocked (ambiguous requirement, conflicting specs, architectural question).
  • Deterministic exit — The loop has a clear termination condition (PASS) and a circuit breaker (3 cycles).

Instructions

$ARGUMENTS

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

assess

Free

Assess source material against the ASDLC Knowledge Base and produce an evidence-calibrated Content Review Report.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

critic

Free

Perform an adversarial review of the current uncommitted changeset, validating it against project contracts and architectural intent.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

Triage the content corpus against the latest GSC snapshot and produce a prioritized refresh report. Read-only: reports, never edits.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

dev

Free

Implement features, fix bugs, and keep the codebase healthy and maintainable. Works from a defined PBI, issue, or task description.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

GEO+SEO audit of asdlc.io — analyzes the codebase for Generative Engine Optimization across AI citability, technical infrastructure, content quality, schema markup, and knowledge base discoverability. Produces a composite GEO Score (0-100) with prioritized action plan.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

lead

Free

Produce written specs and atomic PBIs that an implementation agent can execute independently. Authors specs and Linear issues.

The English summary is being prepared. Showing the original description.

villetakanen/asdlc-io45Updated Oct 9, 2026

See all skills by villetakanen

Report a problem with this skill