style: apply formatting fixes and yaml standardization

- Auto-formatting applied by prettier and yaml-format tools
- Standardized YAML code blocks to use 'yaml' instead of 'yml'
- Fixed quote escaping in YAML strings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Brian Madison
2025-06-15 14:23:33 -05:00
parent ba1e5ceb36
commit 49e34f41b6
14 changed files with 386 additions and 364 deletions

View File

@@ -43,27 +43,24 @@ These references map directly to bundle sections:
CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
```yml
```yaml
activation-instructions:
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
- The customization field ALWAYS takes precedence over any conflicting instructions
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
- Only read the files/tasks listed here when user selects them for execution to minimize context usage
- The customization field ALWAYS takes precedence over any conflicting instructions
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
agent:
name: Mary
id: analyst
title: Business Analyst
icon: 📊
whenToUse: "Use for market research, brainstorming, competitive analysis, creating project briefs, and initial project discovery"
customization:
whenToUse: Use for market research, brainstorming, competitive analysis, creating project briefs, and initial project discovery
customization: null
persona:
role: Insightful Analyst & Strategic Ideation Partner
style: Analytical, inquisitive, creative, facilitative, objective, data-informed
identity: Strategic analyst specializing in brainstorming, market research, competitive analysis, and project briefing
focus: Research planning, ideation facilitation, strategic analysis, actionable insights
core_principles:
- Curiosity-Driven Inquiry - Ask probing "why" questions to uncover underlying truths
- Objective & Evidence-Based Analysis - Ground findings in verifiable data and credible sources
@@ -76,19 +73,16 @@ persona:
- Maintaining a Broad Perspective - Stay aware of market trends and dynamics
- Integrity of Information - Ensure accurate sourcing and representation
- Numbered Options Protocol - Always use numbered lists for selections
startup:
- Greet the user with your name and role, and inform of the *help command.
commands:
- "*help" - Show: numbered list of the following commands to allow selection
- "*chat-mode" - (Default) Strategic analysis consultation with advanced-elicitation
- "*create-doc {template}" - Create doc (no template = show available templates)
- "*brainstorm {topic}" - Facilitate structured brainstorming session
- "*research {topic}" - Generate deep research prompt for investigation
- "*elicit" - Run advanced elicitation to clarify requirements
- "*exit" - Say goodbye as the Business Analyst, and then abandon inhabiting this persona
- '*help" - Show: numbered list of the following commands to allow selection'
- '*chat-mode" - (Default) Strategic analysis consultation with advanced-elicitation'
- '*create-doc {template}" - Create doc (no template = show available templates)'
- '*brainstorm {topic}" - Facilitate structured brainstorming session'
- '*research {topic}" - Generate deep research prompt for investigation'
- '*elicit" - Run advanced elicitation to clarify requirements'
- '*exit" - Say goodbye as the Business Analyst, and then abandon inhabiting this persona'
dependencies:
tasks:
- brainstorming-techniques

View File

@@ -1650,7 +1650,7 @@ Document the choice and key services that will be used.]]
Use appropriate diagram type for clarity.]]
```mermaid
````mermaid
{{architecture_diagram}}
```text
@@ -1763,7 +1763,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
model_interface;
}
}
```
````
**Relationships:**
@@ -1787,7 +1787,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
**TypeScript Interface:**
```typescript
````typescript
interface User {
id: string;
email: string;
@@ -1841,13 +1841,13 @@ servers:
'[object Object]': null
description:
'[object Object]': null
```
````
^^/CONDITION: has_rest_api^^
^^CONDITION: has_graphql_api^^
```graphql
````graphql
# GraphQL Schema
{{graphql_schema}}
```text
@@ -1863,7 +1863,7 @@ servers:
trpc_routers;
}
}
```
````
^^/CONDITION: has_trpc_api^^
@@ -2010,11 +2010,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```text
{{component_structure}}
```
```text
**Component Template:**
```typescript
````typescript
{
{
component_template;
@@ -2034,7 +2034,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
state_structure;
}
}
```
````
**State Management Patterns:**
@@ -2053,7 +2053,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Protected Route Pattern:**
```typescript
````typescript
{
{
protected_route_example;
@@ -2073,11 +2073,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
api_client_setup;
}
}
```
````
**Service Example:**
```typescript
````typescript
{
{
service_example;
@@ -2098,9 +2098,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
^^CONDITION: serverless^^
**Function Organization:**
```
````
{{function_structure}}
```text
````text
**Function Template:**
@@ -2110,7 +2112,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
function_template;
}
}
```
````
^^/CONDITION: serverless^^
@@ -2119,11 +2121,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```text
{{controller_structure}}
```
```text
**Controller Template:**
```typescript
````typescript
{
{
controller_template;
@@ -2141,11 +2143,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```sql
{{database_schema}}
```
````
**Data Access Layer:**
```typescript
````typescript
{
{
repository_pattern;
@@ -2161,11 +2163,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```mermaid
{{auth_flow_diagram}}
```
````
**Middleware/Guards:**
```typescript
````typescript
{
{
auth_middleware;
@@ -2231,7 +2233,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
├── package.json # Root package.json
├── {{monorepo_config}} # Monorepo configuration
└── README.md
```
````
@{example: vercel_structure}
apps/
@@ -2253,7 +2255,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Prerequisites:**
```bash
````bash
{{prerequisites_commands}}
```text
@@ -2261,11 +2263,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```bash
{{setup_commands}}
```
````
**Development Commands:**
```bash
````bash
# Start all services
{{start_all_command}}
@@ -2292,7 +2294,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
# Shared
{{shared_env_vars}}
```
````
## Deployment Architecture
@@ -2315,7 +2317,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### CI/CD Pipeline
```yml
````yaml
'[object Object]': null
```text
@@ -2375,12 +2377,15 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### Testing Pyramid
```
````
E2E Tests
/ \
Integration Tests
/ \
Frontend Unit Backend Unit
/ \
Frontend Unit Backend Unit
```text
### Test Organization
@@ -2388,20 +2393,26 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Frontend Tests:**
```
{{frontend_test_structure}}
```text
**Backend Tests:**
```
```text
{{backend_test_structure}}
```text
**E2E Tests:**
```
{{e2e_test_structure}}
```text
````text
### Test Examples
@@ -2413,11 +2424,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
frontend_test_example;
}
}
```
````
**Backend API Test:**
```typescript
````typescript
{
{
backend_test_example;
@@ -2433,7 +2444,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
e2e_test_example;
}
}
```
````
## Coding Standards
@@ -2474,7 +2485,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### Error Flow
```mermaid
````mermaid
{{error_flow_diagram}}
```text
@@ -2490,11 +2501,11 @@ interface ApiError {
requestId: string;
};
}
```
````
### Frontend Error Handling
```typescript
````typescript
{
{
frontend_error_handler;
@@ -2510,7 +2521,7 @@ interface ApiError {
backend_error_handler;
}
}
```
````
## Monitoring and Observability

View File

@@ -2622,7 +2622,7 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
The index should be organized as follows:
```markdown
````markdown
# Documentation Index
## Root Documents
@@ -2654,7 +2654,8 @@ Documents within the `another-folder/` directory:
### [Nested Document](./another-folder/document.md)
Description of nested document.
```text
````text
### Index Entry Format
@@ -2664,7 +2665,8 @@ Each entry should follow this format:
### [Document Title](relative/path/to/file.md)
Brief description of the document's purpose and contents.
```
````
````
### Rules of Operation
@@ -5631,7 +5633,7 @@ Document the choice and key services that will be used.]]
Use appropriate diagram type for clarity.]]
```mermaid
````mermaid
{{architecture_diagram}}
```text
@@ -5744,7 +5746,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
model_interface;
}
}
```
````
**Relationships:**
@@ -5768,7 +5770,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
**TypeScript Interface:**
```typescript
````typescript
interface User {
id: string;
email: string;
@@ -5822,13 +5824,13 @@ servers:
'[object Object]': null
description:
'[object Object]': null
```
````
^^/CONDITION: has_rest_api^^
^^CONDITION: has_graphql_api^^
```graphql
````graphql
# GraphQL Schema
{{graphql_schema}}
```text
@@ -5844,7 +5846,7 @@ servers:
trpc_routers;
}
}
```
````
^^/CONDITION: has_trpc_api^^
@@ -5991,11 +5993,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```text
{{component_structure}}
```
```text
**Component Template:**
```typescript
````typescript
{
{
component_template;
@@ -6015,7 +6017,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
state_structure;
}
}
```
````
**State Management Patterns:**
@@ -6034,7 +6036,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Protected Route Pattern:**
```typescript
````typescript
{
{
protected_route_example;
@@ -6054,11 +6056,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
api_client_setup;
}
}
```
````
**Service Example:**
```typescript
````typescript
{
{
service_example;
@@ -6079,9 +6081,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
^^CONDITION: serverless^^
**Function Organization:**
```
````
{{function_structure}}
```text
````text
**Function Template:**
@@ -6091,7 +6095,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
function_template;
}
}
```
````
^^/CONDITION: serverless^^
@@ -6100,11 +6104,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```text
{{controller_structure}}
```
```text
**Controller Template:**
```typescript
````typescript
{
{
controller_template;
@@ -6122,11 +6126,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```sql
{{database_schema}}
```
````
**Data Access Layer:**
```typescript
````typescript
{
{
repository_pattern;
@@ -6142,11 +6146,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```mermaid
{{auth_flow_diagram}}
```
````
**Middleware/Guards:**
```typescript
````typescript
{
{
auth_middleware;
@@ -6212,7 +6216,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
├── package.json # Root package.json
├── {{monorepo_config}} # Monorepo configuration
└── README.md
```
````
@{example: vercel_structure}
apps/
@@ -6234,7 +6238,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Prerequisites:**
```bash
````bash
{{prerequisites_commands}}
```text
@@ -6242,11 +6246,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
```bash
{{setup_commands}}
```
````
**Development Commands:**
```bash
````bash
# Start all services
{{start_all_command}}
@@ -6273,7 +6277,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
# Shared
{{shared_env_vars}}
```
````
## Deployment Architecture
@@ -6296,7 +6300,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### CI/CD Pipeline
```yml
````yaml
'[object Object]': null
```text
@@ -6356,12 +6360,15 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### Testing Pyramid
```
````
E2E Tests
/ \
Integration Tests
/ \
Frontend Unit Backend Unit
/ \
Frontend Unit Backend Unit
```text
### Test Organization
@@ -6369,20 +6376,26 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
**Frontend Tests:**
```
{{frontend_test_structure}}
```text
**Backend Tests:**
```
```text
{{backend_test_structure}}
```text
**E2E Tests:**
```
{{e2e_test_structure}}
```text
````text
### Test Examples
@@ -6394,11 +6407,11 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
frontend_test_example;
}
}
```
````
**Backend API Test:**
```typescript
````typescript
{
{
backend_test_example;
@@ -6414,7 +6427,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
e2e_test_example;
}
}
```
````
## Coding Standards
@@ -6455,7 +6468,7 @@ After presenting this section, apply `tasks#advanced-elicitation` protocol]]
### Error Flow
```mermaid
````mermaid
{{error_flow_diagram}}
```text
@@ -6471,11 +6484,11 @@ interface ApiError {
requestId: string;
};
}
```
````
### Frontend Error Handling
```typescript
````typescript
{
{
frontend_error_handler;
@@ -6491,7 +6504,7 @@ interface ApiError {
backend_error_handler;
}
}
```
````
## Monitoring and Observability

View File

@@ -1732,7 +1732,7 @@ After presenting all data models, apply `tasks#advanced-elicitation` protocol]]
**TypeScript Interface:**
```typescript
````typescript
{
{
model_interface;
@@ -1778,7 +1778,7 @@ interface UserProfile {
bio?: string;
preferences: Record<string, any>;
}
```
````
**Relationships:**
@@ -1802,7 +1802,7 @@ Use appropriate format for the chosen API style. If no API (e.g., static site),
^^CONDITION: has_rest_api^^
```yml
````yml
openapi: 3.0.0
info:
title:
@@ -1825,7 +1825,7 @@ servers:
```graphql
# GraphQL Schema
{{graphql_schema}}
```
````
^^/CONDITION: has_graphql_api^^

View File

@@ -43,7 +43,7 @@ These references map directly to bundle sections:
CRITICAL: Read the full YML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
```yml
```yaml
activation-instructions:
- Follow all instructions in this file -> this defines you, your persona and more importantly what you can do. STAY IN CHARACTER!
- Only read the files/tasks listed here when user selects them for execution to minimize context usage