# Directory Structure

## Directory Structure

```
project-root/
    .windsurf/
        prompts/
            library/
                index.json               # Prompt library index
                    # Prompt categories
                    # Search metadata
                    # Usage statistics

                code-generation/
                    react-component.prompt.md    # React component prompt
                        # Component structure
                        # Props definition
                        # Style integration

                    api-endpoint.prompt.md       # API endpoint prompt
                        # Route definition
                        # Handler structure
                        # Error handling

                    database-query.prompt.md     # Query generation prompt
                        # Schema context
                        # Optimization hints
                        # Safety checks

                code-review/
                    security-review.prompt.md    # Security review prompt
                        # Vulnerability checklist
                        # Best practice validation
                        # Fix suggestions

                    performance-review.prompt.md # Performance review prompt
                        # Bottleneck identification
                        # Optimization opportunities
                        # Benchmark comparison

                documentation/
                    api-docs.prompt.md           # API documentation prompt
                        # OpenAPI generation
                        # Example creation
                        # Error documentation

                    readme.prompt.md             # README generation prompt
                        # Project description
                        # Installation steps
                        # Usage examples

            variables/
                project-context.json         # Project-specific variables
                    # Framework name
                    # Coding standards
                    # Team preferences

                tech-stack.json              # Technology stack variables
                    # Languages
                    # Frameworks
                    # Tools

            favorites.json                   # Frequently used prompts
                # Quick access list
                # Usage counts
                # Last used timestamps
```
