Skip to content
Back to skills

Flow Design

ASecurity

Design an approval-gated feature specification from approved requirements. Use when PWDEV Flow discovery is complete and the user needs architecture decisions, component boundaries, quality constraints, and a definition of done.

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

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-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flow Design?

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

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

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-design
description: Design an approval-gated feature specification from approved requirements. Use when PWDEV Flow discovery is complete and the user needs architecture decisions, component boundaries, quality constraints, and a definition of done.
---

# Design the central contract

Read [specification](../../references/specification.md), [artifacts](../../references/artifacts.md), [memory](../../references/memory.md), and [safety](../../references/safety.md) before designing.

## Entry gate

Require approved requirements or an equivalent user-approved contract. If requirements are missing, contradictory, or materially open, stop and recommend `$flow-discover` rather than inventing them.

## Procedure

1. Read requirements, project context, applicable repository instructions, current architecture, and relevant decisions or conventions.
2. Identify consequences for components, interfaces, data, permissions, compatibility, failures, operations, and tests.
3. Present consequential architecture choices with viable alternatives, trade-offs, and one recommendation. Obtain user approval before locking each decision.
4. Create `.planning/flow/phases/<slug>/spec.md` with all eight required sections from [specification](../../references/specification.md).
5. Record approved choices in `decisions.md`; capture only genuinely durable decisions through `$flow-memory` semantics.
6. Check every requirement has a specification clause and every definition-of-done item has executable evidence.
7. Scan for ambiguous language, hidden scope, unresolved placeholders, and contradictions.
8. Present the specification for approval. Do not continue to planning in the same step unless the user has explicitly approved it.

## Boundaries

- Keep implementation work out of design.
- Prefer established repository patterns unless the approved requirement demands a departure.
- Return to discovery when a proposed design would change product scope.

## Output

Return `STATUS`, specification path, decisions path, unresolved risks, gate result, and `NEXT`. Recommend `$flow-plan` only after the design gate is `APPROVED`.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml200 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…