Works with the AI Agents you already use

    Implementation Plan: Test-First Tasks Any Dev Could Run

    by Nguyen Duc Dung

    1

    Turns a feature or refactor into a reviewed plan: checkable Done criteria, 2-10 minute tasks each with the failing test and proof command, plus a quick red-team of risks. Nothing is built until you approve.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Implementation Plan: Test-First Tasks Any Dev Could Run

    Implementation Plan: Test-First Tasks Any Dev Could Run

    Example session with this skill installed

    Make a plan to add a new API endpoint for user profile updates in our Express app. It needs to handle avatar uploads to S3.

    • Read your context and instructions
    • Compiled the implementation plan

    I have scouted the existing src/routes/user.js and src/services/s3.js. I've drafted a detailed plan in docs/plans/231027-user-profile-update/plan.md.

    Plan Summary: User Profile Update API

    Goal: Implement PATCH /api/v1/users/profile to allow authenticated users to update their bio and avatar URL (S3).

    Done when:

    • curl -X PATCH ... returns 200 OK with the updated JSON payload.
    • S3 bucket contains the uploaded buffer at the correct key.
    • Integration test tests/api/user.test.js passes.

    Proposed Tasks:

    1. Define Schema: Create Zod validation for bio (string) and avatar (multipart/form-data).
    2. Setup Test: Write failing integration test in tests/api/user.test.js asserting 400 on invalid mime-type.
    3. S3 Service Update: Add uploadAvatar method to src/services/s3.js with verification via aws-sdk-mock.
    4. Route Implementation: Wire PATCH route in src/routes/user.js using multer middleware.
    5. Red-team: Added task to handle orphaned S3 objects if the DB update fails after upload.

    Next steps

    • Review the full plan details in docs/plans/231027-user-profile-update/plan.md.
    • Provide approval to proceed with Task 1.
    • Let me know if we should use a different storage provider than S3.

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

    About this skill

    Planning complex code changes directly in the conversation leads to lost context and messy implementations. This skill enforces a structured, repository-based planning workflow that ensures every non-trivial change is vetted, tested, and documented before a single line of feature code is written.

    What it does

    • Automates technical planning by generating structured plan.md files in the repository to survive context resets.
    • Defines "Done" criteria using observable outcomes and specific commands rather than vague quality statements.
    • Breaks down tasks into 2 to 10 minute micro-steps that include the specific files, functions, and failing tests required.
    • Performs red-teaming by analyzing risks related to performance, security, and breaking changes before implementation starts.
    • Manages approval workflows by presenting summaries to the user and marking plans as approved only after explicit confirmation.

    How it works

    1. Scout and Align. The skill reads relevant source code and build configurations to understand the environment.
    2. Draft the Plan. It creates a new file in docs/plans/ with goals, tasks, and risks.
    3. Verify Outcomes. Every task is assigned a specific verification command to ensure progress is measurable.
    4. Request Review. It presents the goal and task titles for user approval.
    5. Finalize. Once approved, the status is updated to "Approved," providing a roadmap for implementation.

    Frameworks & tools

    This skill works with standard project structures including pyproject.toml, Makefile, package.json, and CI configuration files. It specifically targets environments using Git for repository-based documentation.

    Why this beats prompting it yourself

    Generic prompts often skip the "red-team" phase or produce vague tasks that lack verification steps. This skill forces a test-first mentality by requiring a failing test for every task, preventing technical debt and scope creep.

    Use cases

    • Feature development for changes spanning multiple files or logic layers.
    • Large-scale refactors where breaking changes must be identified in advance.
    • Database migrations that require strict sequencing and rollback verification.
    • Complex bug fixes where the root cause involves multiple subsystems.

    Known limitations

    This skill is designed for non-trivial changes; for small fixes under 30 lines, it will suggest a direct fix instead. It respects projects that exclude planning notes from Git.

    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

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill automates the creation of structured, test-first technical plans in your repository. It prevents context loss during complex code changes by enforcing a workflow where goals, risks, and micro-tasks are documented and approved before any feature code is written.

    You do not need external accounts or special software. The skill works with standard project files such as Makefile, pyproject.toml, and package.json, and it requires a Git repository if you want the plans to be stored as documentation.

    The skill generates a markdown file in your repository, typically located in a folder like docs/plans/. This file includes the project goal, clear criteria for when the task is done, a series of 2 to 10 minute micro-tasks with specific verification commands, and a risk analysis.

    This skill is designed for non-trivial changes involving more than one file or approximately 30 lines of code. For small, simple fixes where the cause is already known, it will suggest a direct test-first fix instead of generating a full plan.

    Every task in the plan must include a specific failing test and a verification command. This ensures that progress is measurable and that every change is vetted by a test before it is considered complete.

    You can trigger it by telling your AI agent to plan, make a plan, or plan this first. It will then begin by scouting your code and build configurations to align with your project requirements.

    New in Business & Operations

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