Skip to content
Back to skills

Maintain

ASecurity

SDLC stage 6 (Maintain) - close the loop - turn incidents, alerts, metric breaches and repeated mistakes into new intent.md files, evals/regression tests and CLAUDE.md or skill updates. Only in repositories where the SDLC is enabled (prompts carry an [SDLC] status line): use when investigating a production incident, failing metric, flaky CI trend, postmortem, or when Claude repeats the same mistake.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agents

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add Sennjen/claude-sdlc --skill maintain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maintain?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maintain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sennjen-maintain/badge)](https://www.skillsdirectory.com/skills/sennjen-maintain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maintain
description: SDLC stage 6 (Maintain) - close the loop - turn incidents, alerts, metric breaches and repeated mistakes into new intent.md files, evals/regression tests and CLAUDE.md or skill updates. Only in repositories where the SDLC is enabled (prompts carry an [SDLC] status line): use when investigating a production incident, failing metric, flaky CI trend, postmortem, or when Claude repeats the same mistake.
---

# Stage 6 - Close the loop

## Incident or metric breach → new intent
1. Gather evidence first: logs, metrics, error traces, deploy history, related PRs and
   their `docs/sdlc/*` artifacts. Quote facts, mark hypotheses as hypotheses.
2. Run `sdlc new <slug> incident` and fill `intent.md`, adding an **Evidence** section
   under *Problem*. *Proposed outcome* states the healthy metric/behaviour.
3. Hand over for `sdlc approve intent`; the fix then follows the normal flow
   (a small fix may use `sdlc skip spec <reason>`).

## Prevent recurrence
- **Regression test / eval:** every fixed incident gets a test or eval that would have
  caught it, wired into CI.
- **Institutional knowledge:** if Claude or the team made the same mistake twice, add a
  one-line rule to `CLAUDE.md` (repo-specific) or to a skill (organisation-wide). Keep
  CLAUDE.md short: replace stale rules instead of appending forever.
- **Gates:** if a problem slipped through a gate, propose a change to `REVIEW.md`,
  `sdlc.config.json` (verify commands, gated commands) or CI.

## Metrics worth watching
First-pass CI success, time from plan approval to PR, rework cycles per PR, review
comments needing human action, defect escape rate, time from alert to `intent.md`.
`.sdlc/audit.log` records approvals, gate denials and verify results for this repo.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.