{
  "$schema": "../src/schemas/cli-config.schema.json",
  "projectName": "Backend API",
  "projectType": "backend",
  "description": "RESTful API server with database integration",
  "rules": [
    {
      "id": "claude-prompting-fundamentals",
      "enabled": true,
      "variables": {
        "translation.function": "i18n.t",
        "package.file": "package.json"
      }
    },
    {
      "id": "claude-development-workflow",
      "enabled": true,
      "variables": {
        "package.file": "package.json",
        "state.library": "Redis / Database",
        "auth.system": "JWT / OAuth2",
        "lint.command": "npm run lint",
        "typecheck.command": "npm run type-check",
        "test.command": "npm test",
        "ui.library": "N/A"
      }
    },
    {
      "id": "claude-communication-rules",
      "enabled": true
    },
    {
      "id": "claude-codebase-mastery",
      "enabled": true,
      "variables": {
        "package.file": "package.json",
        "lint.command": "npm run lint",
        "typecheck.command": "npm run type-check",
        "test.command": "npm test"
      }
    },
    {
      "id": "database-patterns",
      "enabled": true,
      "variables": {
        "database.system": "PostgreSQL",
        "orm.library": "Prisma / TypeORM",
        "migration.directory": "migrations"
      }
    },
    {
      "id": "testing-standards",
      "enabled": true,
      "variables": {
        "coverage.unit": "85",
        "test.unit": "npm test",
        "test.integration": "npm run test:integration",
        "test.e2e": "npm run test:e2e",
        "test.watch": "npm run test:watch",
        "test.coverage": "npm run test:coverage",
        "test.directory": "__tests__",
        "test.extension": "ts"
      }
    },
    {
      "id": "security-standards",
      "enabled": true,
      "variables": {
        "secrets.manager": "HashiCorp Vault / AWS Secrets Manager",
        "auth.method": "JWT with refresh tokens",
        "security.scanCommand": "npm audit && npm run security:scan"
      }
    },
    {
      "id": "github-projects",
      "enabled": true,
      "variables": {
        "project.owner": "company",
        "project.repo": "backend-api"
      }
    },
    {
      "id": "utility-management",
      "enabled": true,
      "variables": {
        "utils.directory": "src/utils",
        "utils.library": "Custom utility functions"
      }
    },
    {
      "id": "no-mock-data",
      "enabled": true
    }
  ],
  "globalVariables": {
    "project.name": "Backend API",
    "project.type": "backend",
    "project.description": "RESTful API server with authentication and database integration",
    "project.tech_stack": "Node.js, TypeScript, PostgreSQL, Express"
  },
  "customSections": [
    {
      "id": "api-endpoints",
      "title": "🔗 API Endpoints",
      "content": "**Base URL**: `https://api.example.com/v1`\n\n**Authentication**: Bearer token required for protected endpoints\n\n**Rate Limiting**: 1000 requests per hour per API key",
      "order": 8
    },
    {
      "id": "deployment",
      "title": "🚀 Deployment",
      "content": "**Production**: Deployed on AWS ECS with auto-scaling\n**Staging**: Deployed on AWS ECS (single instance)\n**Development**: Local Docker container",
      "order": 25
    }
  ]
}