> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blitzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt Templates

> Browse ready-to-use prompt templates for common development scenarios

An ever-evolving collection of structured prompt templates for AI-Native development. As new patterns and best practices emerge, this library grows to cover more scenarios - from new products and feature development to bug fixes, refactoring, and test coverage. Each template guides you through writing effective prompts for the Blitzy platform.

<Warning>
  Templates are actively refined and new ones are added as we validate patterns across real-world projects.
</Warning>

### Development & Modernization

<CardGroup cols={2}>
  <Card title="New Product" icon="rocket" href="/templates/feature-product-development/new-product">
    Build a full application from scratch
  </Card>

  <Card title="New Feature" icon="plus" href="/templates/feature-product-development/new-feature">
    Add functionality to an existing codebase
  </Card>

  <Card title="New Frontend Feature" icon="browser" href="/templates/feature-product-development/new-frontend-feature">
    Add a UI feature with component and styling guidance
  </Card>

  <Card title="Figma to Code" icon="figma" href="/templates/feature-product-development/figma-to-code">
    Convert Figma designs into pixel-faithful front-end code
  </Card>

  <Card title="User Story Generation" icon="brain" href="/templates/feature-product-development/user-story-generation">
    Generate user stories from product requirements
  </Card>

  <Card title="Refactor" icon="wrench" href="/templates/code-quality-maintenance/refactor">
    Restructure code without changing behavior
  </Card>
</CardGroup>

### Quality & Maintenance

<CardGroup cols={2}>
  <Card title="Bug Fix" icon="bandage" href="/templates/code-quality-maintenance/bug-fix">
    Diagnose and fix defects in existing code
  </Card>

  <Card title="Security Vulnerabilities" icon="shield-halved" href="/templates/code-quality-maintenance/fix-security-vulnerabilities">
    Identify and remediate security issues
  </Card>
</CardGroup>

### Testing & Documentation

<CardGroup cols={2}>
  <Card title="Add Testing" icon="flask" href="/templates/code-quality-maintenance/add-testing">
    Generate unit, integration, or end-to-end tests
  </Card>

  <Card title="Codebase Ingestion" icon="file-import" href="/templates/documentation-onboarding/codebase-ingestion">
    Onboard a repository so Blitzy understands your codebase structure and conventions
  </Card>

  <Card title="Document Code" icon="file-lines" href="/templates/documentation-onboarding/document-code">
    Generate documentation for existing code
  </Card>
</CardGroup>

### Rules

Reusable directives that enforce quality and analysis standards during code generation. Add them to your project on the platform.

<Card title="Browse Rule Templates" icon="scale-balanced" href="/templates/rules-overview">
  View all available rule templates and learn how to use them
</Card>

## Using Templates

Each template provides a structured framework covering:

* **Vision & Purpose** - Define what you're building and why
* **Core Requirements** - Specify functional and technical requirements
* **Planning & Implementation** - Detail your technical stack and key workflows
* **Business Requirements** - Document access controls, rules, and priorities

Customize the prompts based on your specific project needs, and refer to the **[Golden Rules](/prompt-engineering/golden-rules)** for best practices in prompt engineering.
