version: 1
id: discovery-skill-hardening
title: Discovery Skill Hardening
inputs:
  input: Project root or repository context to harden.
max_iterations: 1
nodes:
  - id: discover
    action: stage
    stage: project-discovery
    description: Read project structure, stack, commands and risks.
  - id: recommend
    action: command
    command: sdd skills recommend --write
    description: Write project-specific skill recommendations.
  - id: skills-doctor
    action: command
    command: sdd skills doctor --strict
    description: Validate available and planned skills.
  - id: capabilities-doctor
    action: command
    command: sdd capabilities doctor --targets all
    description: Validate portable capabilities and client surfaces.
edges:
  - from: discover
    to: recommend
  - from: recommend
    to: skills-doctor
  - from: skills-doctor
    to: capabilities-doctor
