Use when checking if code follows ARCHITECTURE.md patterns - runs automated conformance checks.
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./packs/nuxt/skills/review-check-architecture/SKILL.mdValidate the entire project (or a specific module) against docs/ARCHITECTURE.md.
Scope: $ARGUMENTS (if empty, validate all modules/)
Run all checks and report a summary:
echo "=== 1. Services with try/catch ==="
grep -rn "try {" modules/*/services/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 2. Services with transformation ==="
grep -rn "\.map(\|\.filter(\|new Date\|\.reduce(" modules/*/services/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 3. Components without script setup ==="
grep -rL "script setup" modules/*/components/*.vue pages/*.vue 2>/dev/null || echo "PASS: All ok"
echo "=== 4. Components without TypeScript ==="
grep -rL 'lang="ts"' modules/*/components/*.vue pages/*.vue 2>/dev/null || echo "PASS: All ok"
echo "=== 5. Options API ==="
grep -rn "defineComponent\|export default {" modules/ pages/ --include="*.vue" 2>/dev/null || echo "PASS: None"
echo "=== 6. Explicit Vue imports (should use auto-imports) ==="
grep -rn "from 'vue'" composables/ components/ pages/ --include="*.vue" --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 7. Server state in Pinia ==="
grep -rn "\$fetch\|useFetch\|useAsyncData" modules/*/stores/ --include="*.ts" 2>/dev/null || echo "PASS: None"
echo "=== 8. any types ==="
grep -rn ": any\| any;\|as any\|<any>" modules/ --include="*.ts" --include="*.vue" 2>/dev/null | wc -l
echo "=== 9. Cross-module imports ==="
for module in modules/*/; do
name=$(basename "$module")
grep -rn "from.*modules/" "$module" --include="*.ts" --include="*.vue" 2>/dev/null | grep -v "modules/${name}" || true
done
echo "=== 10. v-html ==="
grep -rn "v-html" --include="*.vue" 2>/dev/null || echo "PASS: None"
echo "=== 11. Debug artifacts ==="
grep -rn "console\.\|debugger" modules/ --include="*.ts" --include="*.vue" 2>/dev/null | wc -l
echo "=== 12. Server routes without Zod validation ==="
grep -rL "readValidatedBody\|getValidatedQuery\|getValidatedRouterParams" server/api/**/*.ts 2>/dev/null || echo "PASS: All ok"
echo "=== 13. Components > 200 lines ==="
find modules pages components -name "*.vue" -exec sh -c 'lines=$(wc -l < "$1"); [ "$lines" -gt 200 ] && echo "$1: $lines lines"' _ {} \; 2>/dev/null
echo "=== 14. Nuxt 2 patterns ==="
grep -rn "asyncData\|nuxtServerInit\|\$axios\|this\.\$store\|this\.\$route\|this\.\$router" --include="*.vue" --include="*.ts" 2>/dev/null || echo "PASS: None"Produce a summary table:
| Check | Status | Occurrences |
|---|---|---|
| Services without try/catch | PASS/FAIL | X |
| ... | ... | ... |
Overall score: X/14 checks passing.
fernandezbaptiste/specialist-agent
cd716d9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.