rlpatrao/claude_harness_forge/architect-patterns
Claude Code and agent skill by rlpatrao/claude_harness_forge
- community
Checking that the SKILL.md file is still in the repository.
Design the system architecture including layered dependencies, API contracts (endpoints, schemas, errors), data models, folder structure, and deployment topology. Output a detailed design document to `specs/design/` with all decisions justified.
Install
npx vskill@latest install rlpatrao/claude_harness_forge/architect-patternsSKILL.md
The same SKILL.md was published earlier as rlpatrao/claude_harness_forge/architect-patterns.
Architecture Skill
Design Principles
- Layered architecture — dependencies flow downward only. See
.claude/architecture.md. - Typed contracts — every boundary (API, service, repo) has typed input/output.
- Separation of concerns — UI knows nothing about DB, services know nothing about HTTP.
- Convention over configuration — predictable file locations, naming patterns.
API Design Patterns
See references/api-patterns.md for complete REST endpoint conventions, request/response schemas, and error responses.
Data Model Patterns
- Define once in Python (Pydantic), mirror in TypeScript.
- Use UUIDs for primary keys, not auto-increment integers.
- Timestamps:
created_at,updated_aton every table. - Soft delete with
deleted_atwhere business logic requires it. - Enums for status fields (never raw strings).
Folder Structure Convention
See templates/folder-structure.md for the expected directory layout.
Gotchas
- Missing type definitions — If you design an endpoint but don't specify request/response schemas, implementers will make up their own. Always write Pydantic models and TypeScript interfaces before code generation.
- Circular layer dependencies — If Service imports from API or Repository imports from Service, you've violated the layering rule. Refactor by extracting shared types to the Types layer.
- Ambiguous folder structure — If the architecture doesn't specify exactly where a file lives (e.g., is DateValidator in
src/service/validators/orsrc/types/validators/?), implementers will create inconsistent directories. Be explicit. - Unspecified environment variables — If you don't document required vs. optional env vars with defaults, deployment will fail. Always create
.env.examplewith all variables and their defaults. - Database migrations not planned — If the architecture doesn't specify initial migrations or migration strategy (Alembic), data model changes will cause deploy failures. Plan migrations alongside the schema.
- Deployment topology mismatch — If architecture specifies a three-tier deployment (backend, frontend, DB) but the docker-compose.yml is missing health checks or depends_on, services will start in the wrong order or fail to communicate.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/architect-patterns/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rlpatrao/claude_harness_forge/architect-patterns)