Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/architecture-patterns
AI-friendly architecture patterns for TypeScript projects including Domain-Driven Design, Clean Architecture, Hexagonal Architecture, and Page Object Model testing patterns
Passed 22 of 22 test cases with the skill, and 19 of 22 without it.
3 fixed19 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am building a backend endpoint in Next.js App Router where users can post a new project entry. Can you write the route handler file in TypeScript for me? Please provide the complete route handler code with proper request payload validation, user authentication, ownership authorization, error handling, and database insertion, along with a brief explanation of how safety and type rules are handled.
| Checked | Without skill | With skill |
|---|---|---|
| The implementation uses Drizzle ORM for database insertion. | Missed | Passed |
| The route handler uses Zod schema validation for input payload parsing. | Passed | Passed |
The instructions your model reads when the skill loads.
This skill is a pattern index that references comprehensive skills for details. Use this to understand which pattern to use, then reference the specific skill for implementation details.
→ See: nextjs-15-specialist skill
Quick Reference:
Decision Tree:
Need interactivity (onClick, onChange)?
├─ YES → Client Component
└─ NO → Server Component
Need React hooks (useState, useEffect)?
├─ YES → Client Component
└─ NO → Server Component
Need to fetch data?
└─ Prefer Server Component (better performance)
Details: nextjs-patterns.md
test cases passed, vs 19 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.