# Flawed-Skill Responsibilities

This skill processes files by extracting sections and applying transformations. The agent performs the work; the developer confirms understanding and approves outputs at each stage.

## Stage Ownership

| Stage | Agent | Developer | Notes |
|-------|-------|-----------|-------|
| 0. Understand and confirm | Reads, summarizes | **Confirms** | Agent must understand the files before transforming them |
| 1. Gather inputs | **Parses and reports** | Reviews | Agent identifies sections; developer checks completeness |
| 2. Process and transform | **Transforms and writes** | Approves | Agent applies transformations; developer approves output |
| 3. Final report | **Reports** | Decides | Agent summarizes; developer decides if results are acceptable |

## Agent Responsibilities

- **Understand before transforming** — confirm the file contents and plan at Stage 0
- Report what was found before acting on it
- Flag files that couldn't be parsed rather than silently skipping them
- Stop after each stage for developer review
- Follow style guidelines in `style-guide.md`

## Developer Responsibilities

- Confirm the agent understood the files correctly at Stage 0
- Review extracted sections before transformations are applied
- Approve or reject output files
- Provide context on which sections matter and which can be skipped
- Final authority on whether the output is acceptable
