prprompts-flutter-generator: Command for Claude Code

.claude/commands/prprompts/single-file.md

Generate Single File is a command for Claude Code from Kandil7/prprompts-flutter-generator. It costs 11 tokens per session (470 once invoked), scanned A, original, MIT.

A command for generating one named PRPROMPTS file from a project’s product requirements document. PRPROMPTS files are project-specific guides covering development, quality, security, demos, or learning.

In plain words
What is it for?
Use it to create a selected guide, such as a testing strategy, accessibility checklist, API integration guide, security audit checklist, or demo setup guide.
Why use it?
It avoids generating the whole set when you need only one guide and uses the project requirements to customise the output.

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/prprompts/single-file.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 Generate Single File

README.md
[![agentmods](https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/single-file.svg)](https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/single-file)
Your own site
<a href="https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/single-file"><img src="https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/single-file.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 470 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.00011 $0.00470
Opus 5 $0.00005 $0.00235
Sonnet 5 $0.00002 $0.00094
Haiku 4.5 $0.00001 $0.00047

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

Security

Grade A, and why

Generate Single File 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/prprompts/single-file.md · 85 lines

What it actually says

Generate Single PRPROMPTS File

Overview

Generate one specific PRPROMPTS file by name.

Input

  1. Read: docs/PRD.md
  2. Get filename from user or argument

Available Files

Phase 1: Core Architecture

  • feature_scaffold
  • responsive_layout
  • bloc_implementation
  • api_integration
  • testing_strategy
  • design_system_usage
  • onboarding_junior
  • accessibility_a11y
  • internationalization_i18n
  • performance_optimization

Phase 2: Quality & Security

  • git_branching_strategy
  • progress_tracking_workflow
  • multi_team_coordination
  • security_audit_checklist
  • release_management
  • security_and_compliance ⭐
  • performance_optimization_detailed
  • quality_gates_and_code_metrics
  • localization_and_accessibility
  • versioning_and_release_notes
  • team_culture_and_communication
  • autodoc_integration

Phase 3: Demo & Learning

  • ai_pair_programming_guide
  • dashboard_and_analytics
  • tech_debt_and_refactor_strategy
  • demo_environment_setup ⭐
  • demo_progress_tracker
  • demo_branding_and_visuals
  • demo_deployment_automation
  • client_demo_report_template
  • project_role_adaptation ⭐
  • lessons_learned_engine

Process

  1. Ask user: "Which file would you like to generate?"
  2. Validate filename exists in list above
  3. Read PRD for customizations
  4. Generate the specific file with full customization
  5. Save to: PRPROMPTS/{number}-{filename}.md

Output

✅ Generated: PRPROMPTS/16-security_and_compliance.md

Customizations applied:
- [List specific customizations for this file]

View: cat PRPROMPTS/16-security_and_compliance.md

Example Usage

claude gen-file
# Prompts: Which file?
# User types: security_and_compliance
# Generates: PRPROMPTS/16-security_and_compliance.md
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 · 85 lines · 11 tokens per session scan A f0d0945ec487

Subscribe to this mod's changes

Generate Single File is a command published in the GitHub repository Kandil7/prprompts-flutter-generator (11 stars, last pushed 9mo ago), licensed MIT. It adds 11 tokens to every session and 470 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.

Related

Other commands, from other repositories

building-flutter-apps-skill-ac1294fc

Flutter Riverpod app architecture and Windows installer delivery. Use before changing a Riverpod Flutter app/package or its Windows desktop packaging/update pipeline; skip non-Riverpod stacks and pure-Dart work.

sgaabdu4/building-flutter-apps · 39 tokens

gdpr-audit

You are a senior Security & Compliance specialist. The user needs help with gdpr audit in the context of security audits, vulnerability management, gdpr/soc2/iso27001 compliance and incident response.

sparkfinderoven/r01-hesreallyhim-awesome-claude-code-security · 0 tokens

pentest-report

You are a senior Security & Compliance specialist. The user needs help with pentest report in the context of security audits, vulnerability management, gdpr/soc2/iso27001 compliance and incident response.

sparkfinderoven/r01-hesreallyhim-awesome-claude-code-security · 0 tokens

privacy-policy

You are a senior Security & Compliance specialist. The user needs help with privacy policy in the context of security audits, vulnerability management, gdpr/soc2/iso27001 compliance and incident response.

sparkfinderoven/r01-hesreallyhim-awesome-claude-code-security · 0 tokens

secret-detect

You are a senior Security & Compliance specialist. The user needs help with secret detect in the context of security audits, vulnerability management, gdpr/soc2/iso27001 compliance and incident response.

sparkfinderoven/r01-hesreallyhim-awesome-claude-code-security · 0 tokens

threat-model

You are a senior Security & Compliance specialist. The user needs help with threat model in the context of security audits, vulnerability management, gdpr/soc2/iso27001 compliance and incident response.

sparkfinderoven/r01-hesreallyhim-awesome-claude-code-security · 0 tokens