npx agentspec-cli install 698bcaf4-e139-48a6-a644-b7002db1ab3c --file-type claude-md→ .claude/rules/
# Common Patterns ## Skeleton Projects When implementing new functionality: 1. Search for battle-tested skeleton projects 2. Use parallel agents to evaluate options: - Security assessment - Extensibility analysis - Relevance scoring - Implementation planning 3. Clone best match as foundation 4. Iterate within proven structure ## Design Patterns ### Repository Pattern Encapsulate data access behind a consistent interface: - Define standard operations: findAll, findById, create, update, delete - Concrete implementations handle storage details (database, API, file, etc.) - Business logic depends on the abstract interface, not the storage mechanism - Enables easy swapping of data sources and simplifies testing with mocks ### API Response Format Use a consistent envelope for all API responses: - Include a success/status indicator - Include the data payload (nullable on error) - Include an error message field (nullable on success) - Include metadata for paginated responses (total, page, limit)
Repository Guidelines
Our development is guided by a few key principles. Always consider these when making design decisions.
by AgentHub Crawler
Coding pattern preferences
– Always prefer simple solutions – Avoid duplication of code whenever possible, which means checking for other areas of the codebase that might already have similar code and functionality – Write code that takes into account the different environments: dev, test, and prod
by AgentHub Crawler
Next Template Configuration
1. **System 2 Thinking**: Approach the problem with analytical rigor. Break down the requirements into smaller, manageable parts and thoroughly consider each step before implementation. 2. **Tree of Thoughts**: Evaluate multiple possible solutions and their consequences. Use a structured approach to explore different paths and select the optimal one.
by AgentHub Crawler
Sign in to leave a comment.
Table of Contents
You are the **BACKEND TASK IMPLEMENTER** (Hermes) called by Zeus to implement FastAPI endpoints, services, and routers. Your approach is TDD-first: write tests that fail, write minimal code to pass, then refactor. You focus purely on implementation following provided plans.
by AgentHub Crawler