Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    PM + Dev Subagents: Spec-to-Code Loop with Quality Gates

    2

    Implement a rigorous PM-Developer review loop with separated authority and automated quality gates.

    $6

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    12 uses5.0 (1 review)
    PM + Dev Subagents: Spec-to-Code Loop with Quality Gates

    PM + Dev Subagents: Spec-to-Code Loop with Quality Gates

    Example session with this skill installed

    I need to implement a new JWT auth flow. Use a PM and a dev agent to ensure the spec is followed and all security tests pass before finishing.

    • Read your context and instructions
    • Compiled the pm + dev

    Protocol initialized in .pmdev/jwt-auth-flow/. PM has generated SPEC.md with 5 acceptance criteria. Quality gate detected: npm test, npm run lint. Starting Round 01. Developer is implementing the auth provider while PM awaits the gate log for verification.

    PM has generated SPEC.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Single-agent coding tasks often suffer from "self-review blindness" where the agent decides a task is done simply because it stopped typing. Developers frequently find themselves in a "ping-pong" loop with agents that claim success while ignoring acceptance criteria or moving the goalposts by editing the spec.

    What it does

    • Enforces a strict separation of authority by spawning two subagents: a PM to write the spec and a Developer to write the code.
    • Implements a file-based protocol (SPEC.md, BUILD.md, REVIEW.md) that persists across agent crashes or restarts.
    • Automates quality gates by detecting and running project-specific tests, linters, and build commands.
    • Prevents infinite loops through built-in thrash detection and hard round budgets.
    • Ensures the PM agent has no write access to source code, preventing it from reviewing its own fixes.

    Why this beats prompting it yourself

    Writing "please review your work" in a single prompt rarely works because the agent shares the same context and bias as its mistakes. This skill provides a structured framework with specialized roles, dedicated artifacts, and bash-backed verification that forces objective accountability. It replaces vague conversational feedback with a citation-based rubric that links every code change to a specific acceptance criterion.

    Use cases

    • Executing complex feature requests where self-correction typically fails.
    • Managing long-running refactors that require strict adherence to a multi-point checklist.
    • Automating internal PR reviews before a human ever touches the code.
    • Ensuring legacy code changes pass a rigorous, multi-stage quality gate without manual oversight.

    Known limitations

    This skill requires a repository with executable tests or build signals to populate the quality gate. It consumes 3x to 5x more tokens than a single-agent execution, making it unsuitable for trivial fixes.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Requires an executable test suite or build pipeline. Token usage is significantly higher (3x-5x) due to the multi-agent round protocol. Not for simple typos or exploration.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    5.0
    1 review
    5
    1
    4
    0
    3
    0
    2
    0
    1
    0

    This skill has been used 12 times.

    Trust & safety

    Security scan

    Security scan passed 2 months ago

    Permissions

    Terminal / Shell
    Listed2 months ago
    Updated1 day ago

    What's inside

    Frequently Asked Questions

    The skill separates authority between two subagents: a PM who defines the specs and a Developer who writes the code. By using a file-based protocol and automated test gates, it prevents the 'self-review blindness' typical of single-agent workflows.

    This skill is designed for agents with file-system and terminal access, and is compatible with major models like GPT-4o and Claude 3.5 Sonnet. It works best in environments that support multi-agent orchestration and bash execution.

    Yes, it is specifically designed to detect and execute existing project-specific tests, linters, and build commands. It uses these outputs to populate quality gates, ensuring that the Developer subagent cannot mark a task as complete if the build fails.

    Because this workflow involves two specialized subagents and multiple review rounds, it typically consumes 3x to 5x more tokens than a standard single-agent prompt. We recommend using it for complex features rather than trivial typos.

    You receive the complete workflow configuration, the subagent role definitions, and the file-based protocol templates (SPEC.md, BUILD.md, REVIEW.md). The purchase also includes any future logic updates to the thrash detection and quality gate systems.

    The skill features built-in thrash detection and hard round budgets. If the PM and Developer subagents cannot reach a consensus within the allotted cycles, the loop terminates to prevent infinite loops and wasted token spend.

    New in Agents & Orchestration