achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Scaffolds a Flask REST API project with recommended structure, app factory, blueprints, config, and dependencies. Use when the user asks to "create a Flask API," "scaffold Flask," "new Flask project," or "Flask project structure.".
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
From spec, OpenAPI, or contract: implements or extends endpoints, request/response types, validation, and status codes; aligns with existing patterns. Use when the user adds an API spec, describes a new endpoint, or says "implement this API.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Plans safe evolution of request/response JSON and form schemas (required fields, nullability, enums, versioning). Use when changing DTOs, Pydantic models, OpenAPI schemas, or "we need to add/change a field on the API.".
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Reviews a diff between two OpenAPI (or similar) specs; highlights breaking vs safe changes and review checklist items. Use when the user says "OpenAPI diff," "spec diff," "what changed in swagger," or compares two API description files.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Compares implementation (routes, types, status codes) to contract or spec; reports drift and suggests fixes or spec updates. Use when the user mentions "contract," "spec," "OpenAPI," or "does this match the API.".
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Evaluates architecture options using explicit tradeoffs (scalability, coupling, operability, delivery risk) and recommends a decision with rationale. Use when choosing between system designs, technologies, or topology options.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Plans architecture-level evolution from current state to target state with compatibility, migration phases, and risk controls. Use when refactoring major subsystems, splitting services, replacing infrastructure, or addressing architecture drift.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Selects architecture patterns only when justified by concrete failure modes or scaling pressure; rejects pattern cargo-culting. Use when deciding service boundaries, layering, repository/service patterns, CQRS, events, or modularization strategy.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Adds mandatory inline comments and docstrings explaining why, invariants, and non-obvious logic when writing or editing code. Use when the user asks to "add comments," "document this code," "explain this function," or when shipping new or materially changed logic per ai-guardrails.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Adds specific raises, narrow catches, exception chaining, and domain error types when writing or editing code. Use when the user asks to "add error handling," "raise specific exceptions," "custom exceptions," or when shipping new or materially changed logic with raise/except paths per ai-guardrails.
achaykovsky/Cursor-Usage-Templates
Skill Claude CodeCodex
Adds structured code-path logging (entry/exit, errors, key decisions); applies log levels, follows project patterns, and redacts sensitive data. Use when the user asks to "add logging," "log this," or make a code path debuggable through logs.