coding by aiskillstore
Quetrex Architecture Enforcer aiskillstore/quetrex-architect
Use when implementing new features in Quetrex. Ensures TDD, TypeScript strict mode, Next.js App Router patterns, ShadCN UI components, and security best practices are followed. Updated for November 2025 standards.
What it changes View full report → Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
Without skill 68%
With skill 100%
Checks it passed that the model alone missed Specifies 75% minimum overall code coverage threshold Specifies 90% test coverage threshold for utility modules Specifies 90% test coverage threshold for business logic servicesand 5 more in the full report
7 fixed15 passed either way0 still failing0 broke
Pass-rate lift +32 pp
Tokens +21%
Agent turns 0%
Response time -24% Model gemini-3.6-flashMeasured 9/3/2026 v1 22 of 22 cases passed with skill
Use this skill Claude Code DecimalAI agent CLI & files
Save it into your project's skills folder. Claude Code picks it up in its next session.
curl -fsSL --create-dirs -o .claude/skills/aiskillstore-quetrex-architect/SKILL.md https://app.decimal.ai/s/aiskillstore-quetrex-architect/SKILL.md Copy command Copy SKILL.md
Want it pinned and updatable? pip install "decimalai>=0.15", then decimalai skills add aiskillstore-quetrex-architect, and start Claude Code with claude --plugin-dir "$(git rev-parse --show-toplevel)/.agents"
Linked stays up to date: your agents get the author's new versions automatically.
Editable copy is yours to change; the author's updates won't reach it.
Install linked skill Create editable copy
1 · One-time — install the CLI (
docs ↗ )
$ pip install "decimalai>=0.15"Copy
2 · Get the skill — writes .agents/skills/aiskillstore-quetrex-architect/ and pins it in .decimal/skills.lock
$ decimalai skills add aiskillstore-quetrex-architectCopy
Copy link Copy README badge Copy SKILL.md No CLI? Get the same file — curl · raw file $ curl -fsSL --create-dirs -o .claude/skills/aiskillstore-quetrex-architect/SKILL.md https://app.decimal.ai/s/aiskillstore-quetrex-architect/SKILL.mdCopy
Safety checks: 3 of 3 passed
Code scan Clean Intent Passed Content Clean
Overview Benchmark Contents Activity Versions 1 Ratings 0
See it in action One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Prompt What is the global overall project test coverage requirement across the entire repository?
What was checked, without and with the skill Checked Without skill With skill Specifies 75% minimum overall code coverage threshold Missed Passed
Show both answers
What's inside The instructions your model reads when the skill loads.
SKILL.md 154 lines single file
Quetrex Architecture Enforcer
When to Use
Creating new features
Refactoring existing code
Reviewing PRs
Ensuring pattern compliance
Process
Read CLAUDE.md for project context
Read .quetrex/memory/patterns.md for architectural patterns (if exists)
Check if feature uses correct patterns:
TypeScript strict (no any, no @ts-ignore)
Zod validation for API routes
Server Components vs Client Components
SSE pattern for streaming
If violations found, explain correct pattern
Guide implementation following TDD
Patterns to Enforce
TypeScript Strict Mode
// ✅ DO: Explicit types
function calculateTotal(items: CartItem[]): number {
return items.reduce((sum, item) => sum + item.price, 0)
}
// ❌ DON'T: Using 'any'
function processData(data: any) { }
// ✅ DO: Use type guards
function isCartItem(obj: unknown): obj is CartItem {
return typeof obj === 'object' && obj !== null && 'price' in obj
}
Next.js App Router Patterns
// ✅ DO: Server Component (default)
Track record Benchmark 22 / 22
test cases passed, vs 15 / 22 without
Adoption
Users 0
Times used 0 View activity → Safety and source details
SkillSafety ✓ 3 of 3 passed ✓ Code scan 15 of 15 checks clean
0 critical · 0 warning · 0 info — scanner v4 — 8/10/2026
View 15 scanner checks live_secret remote_code_execution reverse_shell data_exfiltration ssrf_metadata agent_snooping anti_refusal destructive_commands obfuscated_unicode unicode_homoglyph opaque_blob suspicious_url tool_overreach trigger_abuse prompt_injection_phrasing
✓ Intent Safe
LLM judge · does the skill do what it claims
✓ Content Clean
LLM judge · policy & harmful-content review
Source Imported aiskillstore / marketplace
skills/barnhardt-enterprises-inc/quetrex-architect/SKILL.md
View on GitHub ↗ Imported 8/10/2026Version v1