debtmap 0.16.6

Code complexity and technical debt analyzer
Documentation
# implement.yml - Configuration for implementing specifications with validation

# Commands to execute for each specification
commands:
  # Step 1: Implement the specification
  - claude: "/prodigy-implement-spec $ARG"
    commit_required: true
    validate:
      claude: "/prodigy-validate-spec $ARG --output .prodigy/validation-result.json"
      result_file: ".prodigy/validation-result.json"  # Where Prodigy reads validation results from
      threshold: 100  # Spec must be 100% implemented (default)
      on_incomplete:
        claude: "/prodigy-complete-spec $ARG --gaps ${validation.gaps}"
        max_attempts: 5
        fail_workflow: false  # Continue even if we can't reach 100%
        commit_required: true  # Require commit to verify fixes were made

  # Step 2: Run tests to verify implementation
  - shell: "just test"
    on_failure:
      claude: "/prodigy-debug-test-failure --spec $ARG --output ${shell.output}"
      max_attempts: 5
      fail_workflow: false  # Continue workflow even if tests can't be fixed

  # Step 3: Run linting and formatting after implementation
  - shell: "just fmt-check && just lint"
    on_failure:
      claude: "/prodigy-lint ${shell.output}"
      max_attempts: 5
      fail_workflow: false