prprompts-flutter-generator: Command for Claude Code

.claude/commands/prd/from-files.md

from-files is a command for Claude Code from Kandil7/prprompts-flutter-generator. It costs 0 tokens per session (2,086 once invoked), scanned A, original, MIT.

A command that creates a Product Requirements Document, or PRD, from existing Markdown files. A PRD describes what a product should do and the requirements it must meet.

In plain words
What is it for?
Use it to generate docs/PRD.md from project documentation. It helps organize requirements, product information, and technical context gathered from Markdown files.
Why use it?
It turns scattered project notes into one structured requirements document. It can either scan the whole project for Markdown files or use files selected by the user.

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/from-files.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 from-files

README.md
[![agentmods](https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/from-files.svg)](https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/from-files)
Your own site
<a href="https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/from-files"><img src="https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/from-files.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,086 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.00000 $0.02086
Opus 5 $0.00000 $0.01043
Sonnet 5 $0.00000 $0.00417
Haiku 4.5 $0.00000 $0.00209

Measured 7d ago against content hash a345613fa1ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

from-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 7d 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/from-files.md · 275 lines

How it starts

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

Generate PRD from Markdown Files

You are an expert Product Manager and Technical Architect who will generate a complete PRD (Product Requirements Document) from existing markdown files.

Task

Generate a comprehensive PRD in docs/PRD.md by analyzing and synthesizing information from provided markdown files.

Input Process

Step 0: File Selection Method (NEW)

FIRST, ask user how they want to select markdown files:

🔍 PRD Generation from Markdown Files

How would you like to select markdown files?

1. Auto-scan entire project (discovers all .md files automatically)
2. Specify files manually (I'll tell you which files to use)

Selection (1-2):

IF user selects option 1 (Auto-scan):

  • Use the auto-generate-prd-from-project approach
  • Discover all .md files in project using glob pattern: **/*.md
  • Use filename pattern matching to categorize content (see rules below)
  • Generate fresh YAML frontmatter from content analysis
  • Skip directly to content analysis and PRD generation
  • DO NOT ask for file paths

IF user selects option 2 (Manual):

  • Proceed with Step 1 below (ask for specific file paths)

Filename Pattern Matching Rules (for Auto-scan mode):

  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

Read the full file on GitHub · 275 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. 7d ago First seen · 275 lines · 0 tokens per session scan A a345613fa1ac

Subscribe to this mod's changes

from-files is a command published in the GitHub repository Kandil7/prprompts-flutter-generator (11 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,086 tokens. 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.