prprompts-flutter-generator: Command for Claude Code

.claude/commands/prd/auto-from-project.md

Auto-Generate PRD from All Project Files is a command for Claude Code from Kandil7/prprompts-flutter-generator. It costs 23 tokens per session (4,415 once invoked), scanned A, original, MIT.

A command that finds all Markdown files in a project and combines their information into a product requirements document (PRD).

In plain words
What is it for?
Use it to scan files such as README.md, requirements notes, feature descriptions, and architecture documents, then create a consolidated PRD with YAML metadata.
Why use it?
It removes the need to copy requirements, features, user descriptions, and architecture notes together manually. Filename patterns help place the discovered content into relevant PRD sections.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is Kandil7/prprompts-flutter-generator's own configuration. It tells Claude Code how to work on prprompts-flutter-generator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything prprompts-flutter-generator configures →

Part of the prprompts-flutter-generator plugin — 25 commands, 4 hooks shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to Kandil7/prprompts-flutter-generator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Kandil7/prprompts-flutter-generator/master/.claude/commands/prd/auto-from-project.md
Clone the repo
git clone --depth 1 https://github.com/Kandil7/prprompts-flutter-generator

Made for: Claude Code.

Or install prprompts-flutter-generator, the plugin that ships this one along with the rest of its 25 commands, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Auto-Generate PRD from All Project Files

README.md
[![agentmods](https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/auto-from-project.svg)](https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/auto-from-project)
Your own site
<a href="https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/auto-from-project"><img src="https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/auto-from-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,415 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.04415
Opus 5 $0.00012 $0.02207
Sonnet 5 $0.00005 $0.00883
Haiku 4.5 $0.00002 $0.00441

Measured 8d ago against content hash 2fa4828f9f60, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Auto-Generate PRD from All Project Files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/prd/auto-from-project.md · 530 lines

How it starts

The opening of the file, as written. The whole thing — 530 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auto-Generate PRD from All Project Markdown Files

Overview

Automatically discover ALL .md files in the project, analyze their content, map to appropriate PRD sections using filename patterns, and generate a comprehensive PRD with fresh YAML frontmatter.

Instructions

Step 1: Discover All Markdown Files

Use glob pattern to find ALL .md files in project:

# Find all markdown files (no exclusions)
**/*.md

List all discovered files to user:

🔍 Discovered Markdown Files:
- README.md
- docs/requirements.md
- docs/features.md
- docs/architecture.md
- features/user-auth.md
- features/dashboard.md
- [... all other .md files]

Total: XX markdown files found

Proceeding to analyze and consolidate...

Step 2: Categorize Files by Pattern

Map each file to PRD section using filename patterns (priority order):

Pattern Matching Rules:

  1. README.md → Executive Summary + Product Vision (highest priority)
  2. requirements.md* (case-insensitive) → Requirements section
  3. features.md* or feature.md* → Features section
  4. user.md* or persona.md* → Target Users section
  5. architecture.md* or tech.md* or technical.md* → Technical Architecture
  6. security.md* or compliance.md* → Security & Compliance section
  7. api.md* → API Specifications
  8. design.md* or ui.md* or ux.md* → Design section
  9. test.md* or qa.md* → Testing Strategy
  10. deploy.md* or release.md* → Deployment section
  11. risk.md* → Risks & Mitigation
  12. timeline.md* or roadmap.md* or schedule.md* → Timeline/Roadmap
  13. metric.md* or kpi.md* or success.md* → Success Metrics
  14. glossary.md* or terms.md* → Glossary/Appendices
  15. Others → Categorized by directory name or Appendices

Directory-based fallback categorization:

  • Files in /features/ or /feature/ → Features
  • Files in /docs/requirements/ → Requirements
  • Files in /architecture/ or /arch/ → Technical Architecture
  • Files in /api/ → API Specifications
  • Files in /design/ → Design
  • Files in /compliance/ or /security/ → Security & Compliance
  • Unknown → Appendices (preserve as-is)

Read the full file on GitHub · 530 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 530 lines · 23 tokens per session scan A 2fa4828f9f60

Subscribe to this mod's changes

Auto-Generate PRD from All Project Files is a command published in the GitHub repository Kandil7/prprompts-flutter-generator (11 stars, last pushed 9mo ago), licensed MIT. It adds 23 tokens to every session and 4,415 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.