Skip to content
Back to skills

Flow Maintenance

ASecurity

Inventory, archive, and summarize PWDEV Flow project history safely. Use when the user asks to find stale artifacts, archive completed work, clean the Flow workspace without deletion, or generate a changelog from verified history.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
documentationgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add pwdev-solucoes/pwdev-claude-marketplace --skill flow-maintenance --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flow Maintenance?

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

Security grade badge for Flow Maintenance
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pwdev-solucoes-flow-maintenance/badge)](https://www.skillsdirectory.com/skills/pwdev-solucoes-flow-maintenance)

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: flow-maintenance
description: Inventory, archive, and summarize PWDEV Flow project history safely. Use when the user asks to find stale artifacts, archive completed work, clean the Flow workspace without deletion, or generate a changelog from verified history.
---

# Maintain PWDEV Flow History

Read [maintenance](../../references/maintenance.md), [artifacts](../../references/artifacts.md), [audit](../../references/audit.md), and [safety](../../references/safety.md) before proposing changes.

## Route

- `inventory` is read-only and classifies each candidate as active, complete, stale, or archivable.
- `archive` moves only explicitly approved, verified-complete phase or quick-task directories.
- `changelog` derives a preview from real Git commits and verified Flow execution summaries.

If the request is ambiguous, begin with `inventory`; it does not authorize archiving.

## Inventory

1. Read state, active product and phase contracts, verification verdicts, memory links, migration records, and audit references.
2. List exact candidate paths, classification evidence, size, dependencies, and proposed archive destination.
3. Preserve config, state, context, product contracts, memory, audit data, migration records, and the active phase.

## Archive

1. Produce the inventory and require explicit approval for the exact source paths and destinations.
2. Resolve destinations below `.planning/flow/archive/<date>/`; refuse every collision instead of overwriting.
3. Move only approved directories whose verification verdict is `APPROVED` and which are no longer active.
4. Update authorized state references, then record `archived` through [flow_audit.py](../../scripts/flow_audit.py) when audit is enabled.
5. Verify that every approved source moved, every destination exists, and no unapproved path changed.

## Changelog

Read actual Git history and verified Flow summaries. Use an explicit version or `Unreleased`, preserve existing `CHANGELOG.md` content, exclude fabricated or reverted work, and present a preview before writing unless the user already authorized file generation.

## Constraints

- Never delete artifacts, use recursive cleanup, rewrite Git history, or archive incomplete work.
- A stale artifact is a finding, not automatically an archive candidate.
- Do not infer approval for archive targets from a general cleanup request.

## Output

Return `MODE`, inventory or changelog preview, exact changes made if any, verification evidence, `STATUS`, and `NEXT`.

Files in this skill

  • SKILL.md2.4 KB
  • agents/openai.yaml213 B

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…