wu5 dev flow

    1

    A rigorous Python dev workflow enforcing SDD, TDD, and Git gates through an audited state machine.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    wu5 dev flow

    Example session with this skill installed

    Initialize a new feature called 'user-auth' in this Python repo using the full flow. I need to add JWT verification to the existing login endpoint.

    • Read your context and instructions
    • Compiled the wu5 dev flow

    I have initialized the user-auth change using the full SDD/TDD workflow. The state machine is now at drafting-spec, and I have generated the initial directory structure for this task.

    Initialization Result

    ActionPath/StatusDescription
    Workspace/spec/changes/user-auth/Created directory for feature specifications
    Statedrafting-specCurrent phase in state.json
    Draftedproposal.mdInitial requirement summary for JWT verification
    Drafteddesign.mdPlaceholder for token validation logic and dependency injection
    Scriptwu5_flow.py statusSystem verified: No dirty workspace detected

    Proposed Specification Outline

    I have drafted a proposal focusing on

    1. Dependency Injection: Moving secret keys out of the implementation into a config provider.
    2. Red-Green Plan: Writing a failing test for a 401 response on expired tokens before any implementation.
    3. Review Points: Specifically checking for hardcoded algorithms or salt values.

    Next steps

    1. Review the generated spec/changes/user-auth/proposal.md and provide feedback.
    2. Once satisfied, run python scripts/wu5_flow.py approve spec to lock the requirements.
    3. I will then begin the drafting-plan phase to map specific tests to the JWT logic.

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

    About this skill

    Software projects often fail due to drift between specifications, tests, and implementation. This skill enforces a rigorous, state-machine driven workflow that prevents unverified code from reaching your main branch.

    What it does

    • Enforce SDD/TDD: Requires Software Design Documents and Test-Driven Development cycles for every functional change.
    • Automated Gates: Uses a dedicated Python script to verify project state, approve baselines, and check commit readiness.
    • Zero-Hardcode Policy: Scans and blocks implementation of hardcoded keys, environment-specific paths, or business thresholds.
    • State Persistence: Tracks progress in state.json and status.md to maintain context across different sessions or agents.
    • Atomic Commits: Handles local git staging and commits only after rigorous verification and review cycles.

    How it works

    1. Initialize: Run wu5_flow.py init to scaffold the specification directory and baseline the existing codebase.
    2. Define: Create a new change slug and draft the proposal.md and plan.md for user approval.
    3. Develop: Execute the Red-Green-Refactor loop, ensuring tests fail as expected before writing business logic.
    4. Verify: Run automated checks for types, linting, and test coverage, followed by a two-stage manual review gate.
    5. Ship: Archive the change, update the feature documentation, and prepare the final PR summary.

    Frameworks & tools

    Specifically designed for Python environments using pytest, pyright, and ruff. It integrates directly with Git for workflow enforcement and utilizes custom Python scripts for state management.

    Why this beats prompting it yourself

    Prompting an agent to "follow TDD" often results in shortcuts or forgotten steps over long sessions. This skill uses a hard-coded state machine and external script validation that refuses to proceed if specifications are unapproved or tests are missing.

    Use cases

    • Initializing a new Python project with strict architectural standards.
    • Executing high-stakes refactoring where regression is not an option.
    • Onboarding agents to existing repositories while maintaining a verifiable audit trail.
    • Managing complex feature additions that span multiple work sessions.

    Known limitations

    Does not handle database schema migrations or irreversible data transformations. Requires local Python environment to run the gatekeeper scripts.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 10 days ago

    • Free to download with an account

    Requires

    Python

    Listed10 days ago

    What's inside

    Frequently Asked Questions