Skip to content
Agentmart
Submit a tool

papi-sdlc-fix

Create or work with defect fix tasks, where the defect may be in code, a specification, documentation, tooling, or a process.

Skill by stainsby

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/stainsby-papi-sdlc-fix

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create or work with defect fix tasks, where the defect may be in code, a specification, documentation, tooling, or a process. [PAPI SDLC]

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/papi-sdlc-fix

What's inside

Skill name
papi-sdlc-fix
Description
Create or work with defect fix tasks, where the defect may be in code, a specification, documentation, tooling, or a process. [PAPI SDLC]
License
MIT
Instructions
75 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • fix-task-template.md · assets/

SKILL.md (first lines)

# SDLC Task - Fix

- Read, copy and use the template.

## When to use this skill

Use this skill whenever a defect, bug, or unintended behaviour is being
addressed as a task, regardless of whether the defect is in code, a
specification, documentation, tooling, or a process.

## Dependencies

Reading these skills is REQUIRED to understand and execute this skill:

- PAPI skill `papi-sdlc-understand`
- PAPI skill `papi-tasks-understand`
- PAPI skill `papi-templates-understand`

## Core principles

### Fix + improve

A defect fix task is not a minimal patch. It is an opportunity to leave the
affected area in a better state than before the defect was introduced. Every
fix task MUST consider and, where feasible, incorporate:

1. **Root cause addressed** — not just the symptom. Document the root cause
   explicitly; if it cannot be fixed in this task, record it as a follow-on.

2. **Clarity improvement** — if the defect caused confusion (e.g., ambiguous
   naming, missing documentation, unhelpful error messages, misleading
   descriptions), improve the relevant artefact so the same confusion cannot
   recur. This applies equally to code interfaces, specification language,
   process descriptions, and user-facing copy.

3. **Consistency improvement** — if the defect reveals an inconsistency across
   related artefacts (e.g., naming conventions, structural patterns, response
   contracts, formatting), address the inconsistency as part of the task, not
   just the specific broken instance.

4. **Eliminate unnecessary extra steps** — if the defect forced users or
   callers to perform an additional action to obtain information or state that
   should have been available in the first place, fix the artefact so that
   extra step is no longer needed.

5. **Artefacts in sync** — every fix that changes observable behaviour or
   structure **must** update all affected artefacts: specification, code,
   tests, and documentation. A fix without corresponding artefact updates is
   incomplete.

### Scope discipline

"Leave it better" does not mean "also fix everything else you notice".
Improvements included in a fix task must be:
- **Directly related** to the defect or its root cause.
- **Bounded** — if an improvement is significant enough to risk scope creep,
  create a separate task and note it as a follow-on.

### Evidence first

Before writing the plan, capture the exact observed behaviour as evidence.
This serves as the acceptance test: the fix is done when the evidence
condition no longer occurs.

### Test-Driven Development

Use proper TDD: write a failing test that directly captures the observed
evidence, then implement the fix to make that test pass. This ensures the
fix is verifiable and prevents regressions.

## Skill artefacts

- **Template**: `assets/fix-task-template.md`

From stainsby/papi, MIT.

More from stainsby/papi

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 31, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from stainsby

Cite this page

papi-sdlc-fix skill. Agent Mart. https://agentmart.dev/skills/stainsby-papi-sdlc-fix (last updated 2026-10-24)