bootstrap

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

An execution command that builds a Flutter project from a product requirements document and a set of prepared prompt files. Flutter is a toolkit for building applications, including mobile apps, from one codebase.

In plain words
What is it for?
Use it to bootstrap the project structure and architecture after generating the product requirements and prompt files.
Why use it?
It checks that the required project files exist before reading the requirements and architecture guidance. If any prerequisite is missing, it stops and reports what must be created first.

Command for Claude Code

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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/kandil7/prprompts-flutter-generator/bootstrap
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 bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/bootstrap.svg)](https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/bootstrap)
Your own site
<a href="https://agentmods.dev/commands/kandil7/prprompts-flutter-generator/bootstrap"><img src="https://agentmods.dev/badge/commands/kandil7/prprompts-flutter-generator/bootstrap.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,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.02509
Opus 5 $0.00000 $0.01255
Sonnet 5 $0.00000 $0.00502
Haiku 4.5 $0.00000 $0.00251

Measured 4d ago against content hash 55b4093a4956, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bootstrap 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 4d 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/automation/bootstrap.md · 388 lines

How it starts

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

EXECUTE: Bootstrap Project from PRPROMPTS

IMPORTANT: This is an EXECUTION command. Immediately perform all steps below without waiting for confirmation.


STEP 1: Prerequisites Check

First, check if required files exist:

# Check for PRPROMPTS directory
ls PRPROMPTS/

# Check for PRD
ls docs/PRD.md

# Check for Flutter project
ls pubspec.yaml

If ANY file is missing, STOP and show error:

❌ Error: Missing required files.

Required:
- PRPROMPTS/ directory (with 32 .md files)
- docs/PRD.md
- pubspec.yaml

Please run:
1. qwen create-prd
2. qwen gen-prprompts

Then try bootstrap again.

STEP 2: Read Project Context

NOW read and analyze these files:

  1. Read docs/PRD.md - Extract:

    • Project name, type, compliance
    • Platforms, auth method
    • Features list
    • Team composition
  2. Read PRPROMPTS files - Understand:

    • @PRPROMPTS/01-feature_scaffold.md - Architecture patterns
    • @PRPROMPTS/03-bloc_implementation.md - State management
    • @PRPROMPTS/04-api_integration.md - API integration
    • @PRPROMPTS/06-design_system.md - Design system
    • @PRPROMPTS/16-security_and_compliance.md - Security patterns

STEP 3: Create Architecture Document

NOW create docs/ARCHITECTURE.md with this content:

# Architecture Document

Generated from: PRPROMPTS/01-feature_scaffold.md
Date: [Current Date]

## Folder Structure

lib/
├── core/
│   ├── constants/          # App-wide constants
│   │   ├── app_colors.dart
│   │   ├── app_typography.dart
│   │   └── api_constants.dart
│   ├── errors/             # Error handling
│   │   ├── exceptions.dart
│   │   └── failures.dart
│   ├── network/            # HTTP client, interceptors
│   │   ├── api_client.dart
│   │   └── auth_interceptor.dart
│   ├── security/           # Encryption, secure storage
│   │   ├── encryption_service.dart
│   │   └── secure_storage_service.dart
│   └── utils/              # Utilities
│       ├── logger.dart
│       └── validators.dart
├── features/
│   └── [feature_name]/
│       ├── data/
│       │   ├── models/          # Data models with JSON
│       │   ├── repositories/    # Repository implementations
│       │   └── datasources/     # Remote/Local data sources
│       ├── domain/
│       │   ├── entities/        # Business objects
│       │   ├── repositories/    # Repository interfaces
│       │   └── usecases/        # Business logic
│       └── presentation/
│           ├── bloc/            # BLoC files
│           ├── pages/           # Full screens
│           └── widgets/         # Reusable components
└── shared/
    ├── theme/              # App theme
    │   └── app_theme.dart
    └── widgets/            # Shared widgets
        └── loading_indicator.dart

## State Management
Pattern: BLoC (Business Logic Component)
Reference: @PRPROMPTS/03-bloc_implementation.md

## Security Implementation
Compliance: [Extract from PRD.md compliance field]
Patterns: @PRPROMPTS/16-security_and_compliance.md

## API Integration
Auth Method: [Extract from PRD.md auth_method field]
JWT Verification: RS256 with public key only (no signing!)
Reference: @PRPROMPTS/04-api_integration.md

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

Subscribe to this mod's changes

bootstrap 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,509 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.