@jhm1909/ag-kit 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agent/ARCHITECTURE.md +189 -0
- package/.agent/known-registries.json +181 -0
- package/.agent/mcp_config.json +19 -0
- package/.agent/rules/clean-code.md +107 -0
- package/.agent/rules/documents.md +177 -0
- package/.agent/rules/git-workflow.md +68 -0
- package/.agent/rules/nano-banana.md +46 -0
- package/.agent/rules/research.md +35 -0
- package/.agent/rules/skill-loading.md +100 -0
- package/.agent/rules/skill-suggestion.md +47 -0
- package/.agent/rules/testing.md +52 -0
- package/.agent/rules/workflow-advisor.md +108 -0
- package/.agent/rules/workflow-skill-convention.md +127 -0
- package/.agent/skills/ai-engineer/SKILL.md +824 -0
- package/.agent/skills/ai-engineer/references/agentic-patterns.md +329 -0
- package/.agent/skills/ai-engineer/references/evaluation.md +493 -0
- package/.agent/skills/ai-engineer/references/llm.md +490 -0
- package/.agent/skills/ai-engineer/references/rag-advanced.md +444 -0
- package/.agent/skills/ai-engineer/references/serving-optimization.md +531 -0
- package/.agent/skills/ai-engineer/vector-db/README.md +137 -0
- package/.agent/skills/app-builder/SKILL.md +75 -0
- package/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/.agent/skills/app-builder/feature-building.md +53 -0
- package/.agent/skills/app-builder/project-detection.md +34 -0
- package/.agent/skills/app-builder/scaffolding.md +118 -0
- package/.agent/skills/app-builder/tech-stack.md +41 -0
- package/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
- package/.agent/skills/backend-developer/SKILL.md +763 -0
- package/.agent/skills/backend-developer/references/general-patterns.md +65 -0
- package/.agent/skills/backend-developer/references/go-echo.md +68 -0
- package/.agent/skills/backend-developer/references/go-gin.md +76 -0
- package/.agent/skills/backend-developer/references/java-springboot.md +83 -0
- package/.agent/skills/backend-developer/references/node-express.md +64 -0
- package/.agent/skills/backend-developer/references/node-nestjs.md +69 -0
- package/.agent/skills/backend-developer/references/python-django.md +67 -0
- package/.agent/skills/backend-developer/references/python-fastapi.md +80 -0
- package/.agent/skills/blockchain-engineer/SKILL.md +975 -0
- package/.agent/skills/blockchain-engineer/references/deployment.md +28 -0
- package/.agent/skills/blockchain-engineer/references/evm.md +14 -0
- package/.agent/skills/blockchain-engineer/references/mechanisms.md +32 -0
- package/.agent/skills/blockchain-engineer/references/solidity.md +32 -0
- package/.agent/skills/business-analysis/SKILL.md +85 -0
- package/.agent/skills/business-analysis/references/best-practices/diagrams.md +141 -0
- package/.agent/skills/business-analysis/references/domains/ai-agent.md +94 -0
- package/.agent/skills/business-analysis/references/domains/blockchain-dapp.md +86 -0
- package/.agent/skills/business-analysis/references/domains/ecommerce.md +77 -0
- package/.agent/skills/business-analysis/references/domains/education.md +42 -0
- package/.agent/skills/business-analysis/references/domains/fintech.md +44 -0
- package/.agent/skills/business-analysis/references/domains/fnb.md +82 -0
- package/.agent/skills/business-analysis/references/domains/healthtech.md +44 -0
- package/.agent/skills/business-analysis/references/domains/internal-tools.md +38 -0
- package/.agent/skills/business-analysis/references/domains/marketplace.md +52 -0
- package/.agent/skills/business-analysis/references/domains/saas.md +36 -0
- package/.agent/skills/business-analysis/references/workflows/collaboration.md +41 -0
- package/.agent/skills/business-analysis/scripts/verify_mermaid.py +86 -0
- package/.agent/skills/business-analysis/templates/brd.md +46 -0
- package/.agent/skills/business-analysis/templates/change-request.md +41 -0
- package/.agent/skills/business-analysis/templates/prd-functional.md +38 -0
- package/.agent/skills/business-analysis/templates/use-case.md +40 -0
- package/.agent/skills/business-analysis/templates/user-story-detailed.md +36 -0
- package/.agent/skills/code-review/SKILL.md +113 -0
- package/.agent/skills/code-review/references/code-review-reception.md +209 -0
- package/.agent/skills/code-review/references/differential_review.md +59 -0
- package/.agent/skills/code-review/references/requesting-code-review.md +105 -0
- package/.agent/skills/code-review/references/spec_compliance.md +43 -0
- package/.agent/skills/code-review/references/verification-before-completion.md +139 -0
- package/.agent/skills/context-engineering/SKILL.md +68 -0
- package/.agent/skills/context-engineering/references/context-compression.md +84 -0
- package/.agent/skills/context-engineering/references/context-degradation.md +93 -0
- package/.agent/skills/context-engineering/references/context-fundamentals.md +75 -0
- package/.agent/skills/context-engineering/references/context-optimization.md +82 -0
- package/.agent/skills/context-engineering/references/evaluation.md +89 -0
- package/.agent/skills/context-engineering/references/memory-systems.md +88 -0
- package/.agent/skills/context-engineering/references/multi-agent-patterns.md +90 -0
- package/.agent/skills/context-engineering/references/project-development.md +97 -0
- package/.agent/skills/context-engineering/references/tool-design.md +86 -0
- package/.agent/skills/debugging/SKILL.md +60 -0
- package/.agent/skills/debugging/references/defense-in-depth.md +130 -0
- package/.agent/skills/debugging/references/root-cause-tracing.md +177 -0
- package/.agent/skills/debugging/references/systematic-debugging.md +295 -0
- package/.agent/skills/debugging/references/verification-before-completion.md +142 -0
- package/.agent/skills/designer/SKILL.md +159 -0
- package/.agent/skills/designer/concepts/apple-glass.md +48 -0
- package/.agent/skills/designer/concepts/aurora-gradients.md +26 -0
- package/.agent/skills/designer/concepts/bento-grids.md +14 -0
- package/.agent/skills/designer/concepts/claymorphism.md +27 -0
- package/.agent/skills/designer/concepts/neo-brutalism.md +32 -0
- package/.agent/skills/designer/data/app-interface.csv +31 -0
- package/.agent/skills/designer/data/charts.csv +26 -0
- package/.agent/skills/designer/data/colors.csv +162 -0
- package/.agent/skills/designer/data/design.csv +1776 -0
- package/.agent/skills/designer/data/icons.csv +106 -0
- package/.agent/skills/designer/data/landing.csv +35 -0
- package/.agent/skills/designer/data/products.csv +162 -0
- package/.agent/skills/designer/data/react-performance.csv +45 -0
- package/.agent/skills/designer/data/styles.csv +85 -0
- package/.agent/skills/designer/data/typography.csv +74 -0
- package/.agent/skills/designer/data/ui-reasoning.csv +162 -0
- package/.agent/skills/designer/data/ux-guidelines.csv +100 -0
- package/.agent/skills/designer/references/accessibility.md +172 -0
- package/.agent/skills/designer/references/branding.md +88 -0
- package/.agent/skills/designer/references/color-theory.md +139 -0
- package/.agent/skills/designer/references/creation.md +118 -0
- package/.agent/skills/designer/references/design-systems.md +219 -0
- package/.agent/skills/designer/references/frontend_design_aesthetics.md +57 -0
- package/.agent/skills/designer/references/layout.md +200 -0
- package/.agent/skills/designer/references/motion.md +92 -0
- package/.agent/skills/designer/references/review.md +100 -0
- package/.agent/skills/designer/references/trends.md +209 -0
- package/.agent/skills/designer/references/typography.md +190 -0
- package/.agent/skills/designer/scripts/remove_background.py +135 -0
- package/.agent/skills/designer/scripts/ui-search/__pycache__/core.cpython-314.pyc +0 -0
- package/.agent/skills/designer/scripts/ui-search/__pycache__/design_system.cpython-314.pyc +0 -0
- package/.agent/skills/designer/scripts/ui-search/core.py +217 -0
- package/.agent/skills/designer/scripts/ui-search/design_system.py +1067 -0
- package/.agent/skills/designer/scripts/ui-search/search.py +114 -0
- package/.agent/skills/designer/templates/design-motion-spec.md +30 -0
- package/.agent/skills/devops-engineer/SKILL.md +90 -0
- package/.agent/skills/devops-engineer/docker-compose/README.md +47 -0
- package/.agent/skills/devops-engineer/references/ci-cd-pipelines.md +76 -0
- package/.agent/skills/devops-engineer/references/cloud-providers.md +57 -0
- package/.agent/skills/devops-engineer/references/codebase-normalization.md +104 -0
- package/.agent/skills/devops-engineer/references/container-orchestration.md +69 -0
- package/.agent/skills/devops-engineer/references/iac-tools.md +63 -0
- package/.agent/skills/devops-engineer/references/observability-security.md +45 -0
- package/.agent/skills/devops-engineer/references/vercel-supabase.md +17 -0
- package/.agent/skills/devops-engineer/templates/release-notes.md +8 -0
- package/.agent/skills/frontend-developer/SKILL.md +125 -0
- package/.agent/skills/frontend-developer/react-nextjs/README.md +90 -0
- package/.agent/skills/frontend-developer/references/angular.md +52 -0
- package/.agent/skills/frontend-developer/references/composition_patterns.md +60 -0
- package/.agent/skills/frontend-developer/references/core-performance.md +68 -0
- package/.agent/skills/frontend-developer/references/modern-signals.md +43 -0
- package/.agent/skills/frontend-developer/references/react_performance_rules.md +55 -0
- package/.agent/skills/frontend-developer/references/vue-nuxt.md +55 -0
- package/.agent/skills/frontend-developer/scripts/validate_compliance.py +65 -0
- package/.agent/skills/frontend-developer/threejs/README.md +89 -0
- package/.agent/skills/frontend-developer/threejs/animation.md +552 -0
- package/.agent/skills/frontend-developer/threejs/fundamentals.md +488 -0
- package/.agent/skills/frontend-developer/threejs/geometry.md +548 -0
- package/.agent/skills/frontend-developer/threejs/interaction.md +660 -0
- package/.agent/skills/frontend-developer/threejs/lighting.md +481 -0
- package/.agent/skills/frontend-developer/threejs/loaders.md +623 -0
- package/.agent/skills/frontend-developer/threejs/materials.md +520 -0
- package/.agent/skills/frontend-developer/threejs/postprocessing.md +602 -0
- package/.agent/skills/frontend-developer/threejs/router.json +181 -0
- package/.agent/skills/frontend-developer/threejs/shaders.md +642 -0
- package/.agent/skills/frontend-developer/threejs/textures.md +628 -0
- package/.agent/skills/game-development/2d-games/SKILL.md +119 -0
- package/.agent/skills/game-development/3d-games/SKILL.md +135 -0
- package/.agent/skills/game-development/SKILL.md +167 -0
- package/.agent/skills/game-development/game-art/SKILL.md +185 -0
- package/.agent/skills/game-development/game-audio/SKILL.md +190 -0
- package/.agent/skills/game-development/game-design/SKILL.md +129 -0
- package/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
- package/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
- package/.agent/skills/game-development/pc-games/SKILL.md +144 -0
- package/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
- package/.agent/skills/game-development/web-games/SKILL.md +150 -0
- package/.agent/skills/lead-architect/SKILL.md +85 -0
- package/.agent/skills/lead-architect/references/application-architecture.md +70 -0
- package/.agent/skills/lead-architect/references/infrastructure.md +51 -0
- package/.agent/skills/lead-architect/references/process.md +42 -0
- package/.agent/skills/lead-architect/references/system-architecture.md +62 -0
- package/.agent/skills/lead-architect/references/web-fullstack.md +82 -0
- package/.agent/skills/lead-architect/templates/adr.md +62 -0
- package/.agent/skills/lead-architect/templates/rfc.md +46 -0
- package/.agent/skills/lead-architect/templates/sdd.md +62 -0
- package/.agent/skills/lead-architect/templates/technical-spec.md +61 -0
- package/.agent/skills/marketer/SKILL.md +66 -0
- package/.agent/skills/marketer/remotion-best-practices/SKILL.md +58 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/3d.md +86 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/animations.md +29 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/assets/charts-bar-chart.tsx +173 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/assets/text-animations-typewriter.tsx +100 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/assets.md +78 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/audio.md +172 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/calculate-metadata.md +104 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/can-decode.md +75 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/charts.md +58 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/compositions.md +146 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/display-captions.md +126 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/extract-frames.md +229 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/fonts.md +152 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/get-audio-duration.md +58 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/get-video-dimensions.md +68 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/get-video-duration.md +58 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/gifs.md +138 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/images.md +130 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/import-srt-captions.md +67 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/lottie.md +68 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/measuring-dom-nodes.md +35 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/measuring-text.md +143 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/sequencing.md +106 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/tailwind.md +11 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/text-animations.md +20 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/timing.md +179 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/transcribe-captions.md +19 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/transitions.md +122 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/trimming.md +53 -0
- package/.agent/skills/marketer/remotion-best-practices/rules/videos.md +171 -0
- package/.agent/skills/mcp-builder/SKILL.md +76 -0
- package/.agent/skills/mcp-builder/references/evaluation.md +602 -0
- package/.agent/skills/mcp-builder/references/mcp_best_practices.md +249 -0
- package/.agent/skills/mcp-builder/references/node_mcp_server.md +970 -0
- package/.agent/skills/mcp-builder/references/python_mcp_server.md +719 -0
- package/.agent/skills/mobile-developer/SKILL.md +83 -0
- package/.agent/skills/mobile-developer/api-routes/SKILL.md +389 -0
- package/.agent/skills/mobile-developer/building-ui/SKILL.md +335 -0
- package/.agent/skills/mobile-developer/building-ui/references/animations.md +220 -0
- package/.agent/skills/mobile-developer/building-ui/references/controls.md +270 -0
- package/.agent/skills/mobile-developer/building-ui/references/form-sheet.md +227 -0
- package/.agent/skills/mobile-developer/building-ui/references/gradients.md +106 -0
- package/.agent/skills/mobile-developer/building-ui/references/icons.md +213 -0
- package/.agent/skills/mobile-developer/building-ui/references/media.md +198 -0
- package/.agent/skills/mobile-developer/building-ui/references/route-structure.md +229 -0
- package/.agent/skills/mobile-developer/building-ui/references/search.md +248 -0
- package/.agent/skills/mobile-developer/building-ui/references/storage.md +121 -0
- package/.agent/skills/mobile-developer/building-ui/references/tabs.md +368 -0
- package/.agent/skills/mobile-developer/building-ui/references/visual-effects.md +197 -0
- package/.agent/skills/mobile-developer/building-ui/references/webgpu-three.md +605 -0
- package/.agent/skills/mobile-developer/cicd-workflows/SKILL.md +107 -0
- package/.agent/skills/mobile-developer/cicd-workflows/scripts/fetch.js +109 -0
- package/.agent/skills/mobile-developer/cicd-workflows/scripts/package.json +11 -0
- package/.agent/skills/mobile-developer/cicd-workflows/scripts/validate.js +84 -0
- package/.agent/skills/mobile-developer/data-fetching/SKILL.md +508 -0
- package/.agent/skills/mobile-developer/deployment/SKILL.md +207 -0
- package/.agent/skills/mobile-developer/deployment/references/app-store-metadata.md +479 -0
- package/.agent/skills/mobile-developer/deployment/references/ios-app-store.md +355 -0
- package/.agent/skills/mobile-developer/deployment/references/play-store.md +246 -0
- package/.agent/skills/mobile-developer/deployment/references/testflight.md +58 -0
- package/.agent/skills/mobile-developer/deployment/references/workflows.md +200 -0
- package/.agent/skills/mobile-developer/dev-client/SKILL.md +181 -0
- package/.agent/skills/mobile-developer/tailwind-setup/SKILL.md +501 -0
- package/.agent/skills/mobile-developer/upgrading-expo/SKILL.md +116 -0
- package/.agent/skills/mobile-developer/upgrading-expo/references/new-architecture.md +79 -0
- package/.agent/skills/mobile-developer/upgrading-expo/references/react-19.md +79 -0
- package/.agent/skills/mobile-developer/upgrading-expo/references/react-compiler.md +59 -0
- package/.agent/skills/mobile-developer/use-dom/SKILL.md +434 -0
- package/.agent/skills/modern-python/SKILL.md +122 -0
- package/.agent/skills/project-manager/SKILL.md +110 -0
- package/.agent/skills/project-manager/references/ba-collaboration.md +62 -0
- package/.agent/skills/project-manager/references/discovery_process.md +52 -0
- package/.agent/skills/project-manager/references/jobs_to_be_done.md +51 -0
- package/.agent/skills/project-manager/references/prd_development.md +52 -0
- package/.agent/skills/project-manager/references/rules-guide.md +55 -0
- package/.agent/skills/project-manager/references/skill-creation.md +98 -0
- package/.agent/skills/project-manager/references/strategic-frameworks.md +62 -0
- package/.agent/skills/project-manager/references/task-decomposition.md +194 -0
- package/.agent/skills/project-manager/references/workflows-guide.md +44 -0
- package/.agent/skills/project-manager/router.json +160 -0
- package/.agent/skills/project-manager/scripts/compare_skill.py +177 -0
- package/.agent/skills/project-manager/scripts/encoding_utils.py +36 -0
- package/.agent/skills/project-manager/scripts/init_skill.py +190 -0
- package/.agent/skills/project-manager/scripts/quick_validate.py +123 -0
- package/.agent/skills/project-manager/templates/pm-strategy-one-pager.md +6 -0
- package/.agent/skills/project-manager/templates/prd-strategic.md +38 -0
- package/.agent/skills/project-manager/templates/skill-questionnaire.md +118 -0
- package/.agent/skills/project-manager/templates/user-story-simple.md +14 -0
- package/.agent/skills/prompt-engineer/SKILL.md +319 -0
- package/.agent/skills/prompt-engineer/skill-creator/README.md +47 -0
- package/.agent/skills/qa-tester/SKILL.md +142 -0
- package/.agent/skills/qa-tester/assets/README.md +8 -0
- package/.agent/skills/qa-tester/references/accessibility_testing.md +35 -0
- package/.agent/skills/qa-tester/references/agent_browser.md +38 -0
- package/.agent/skills/qa-tester/references/automation/api_testing.md +23 -0
- package/.agent/skills/qa-tester/references/automation/best_practices.md +14 -0
- package/.agent/skills/qa-tester/references/automation/jest_vitest.md +26 -0
- package/.agent/skills/qa-tester/references/automation/playwright.md +30 -0
- package/.agent/skills/qa-tester/references/e2e_testing.md +46 -0
- package/.agent/skills/qa-tester/references/integration_testing.md +39 -0
- package/.agent/skills/qa-tester/references/performance_testing.md +44 -0
- package/.agent/skills/qa-tester/references/property_based_testing.md +44 -0
- package/.agent/skills/qa-tester/references/security_audit.md +53 -0
- package/.agent/skills/qa-tester/references/security_testing.md +30 -0
- package/.agent/skills/qa-tester/references/sharp_edges.md +49 -0
- package/.agent/skills/qa-tester/references/static_analysis.md +52 -0
- package/.agent/skills/qa-tester/references/supply_chain_audit.md +54 -0
- package/.agent/skills/qa-tester/references/test_case_standards.md +96 -0
- package/.agent/skills/qa-tester/references/test_report_template.md +32 -0
- package/.agent/skills/qa-tester/references/unit_testing.md +50 -0
- package/.agent/skills/qa-tester/references/visual_testing.md +32 -0
- package/.agent/skills/qa-tester/templates/uat-plan.md +34 -0
- package/.agent/skills/research-first/SKILL.md +118 -0
- package/.agent/skills-manifest.json +264 -0
- package/.agent/workflows/absorb.md +176 -0
- package/.agent/workflows/bootstrap.md +91 -0
- package/.agent/workflows/brainstorm.md +168 -0
- package/.agent/workflows/break-tasks.md +77 -0
- package/.agent/workflows/commit.md +349 -0
- package/.agent/workflows/custom-behavior.md +64 -0
- package/.agent/workflows/debug.md +65 -0
- package/.agent/workflows/development.md +49 -0
- package/.agent/workflows/documentation.md +221 -0
- package/.agent/workflows/gen-tests.md +53 -0
- package/.agent/workflows/guide.md +196 -0
- package/.agent/workflows/implement-feature.md +182 -0
- package/.agent/workflows/install-skill.md +193 -0
- package/.agent/workflows/qa.md +54 -0
- package/.agent/workflows/ui-ux-design.md +108 -0
- package/LICENSE +21 -0
- package/README.md +258 -0
- package/cli/index.js +345 -0
- package/cli/migrate-skills.js +113 -0
- package/cli/verify.js +291 -0
- package/package.json +49 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Systematic Debugging
|
|
3
|
+
description: Four-phase debugging framework that ensures root cause investigation before attempting fixes. Never jump to solutions.
|
|
4
|
+
when_to_use: when encountering any bug, test failure, or unexpected behavior, before proposing fixes
|
|
5
|
+
version: 2.1.0
|
|
6
|
+
languages: all
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Systematic Debugging
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Random fixes waste time and create new bugs. Quick patches mask underlying issues.
|
|
14
|
+
|
|
15
|
+
**Core principle:** ALWAYS find root cause before attempting fixes. Symptom fixes are failure.
|
|
16
|
+
|
|
17
|
+
**Violating the letter of this process is violating the spirit of debugging.**
|
|
18
|
+
|
|
19
|
+
## The Iron Law
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you haven't completed Phase 1, you cannot propose fixes.
|
|
26
|
+
|
|
27
|
+
## When to Use
|
|
28
|
+
|
|
29
|
+
Use for ANY technical issue:
|
|
30
|
+
- Test failures
|
|
31
|
+
- Bugs in production
|
|
32
|
+
- Unexpected behavior
|
|
33
|
+
- Performance problems
|
|
34
|
+
- Build failures
|
|
35
|
+
- Integration issues
|
|
36
|
+
|
|
37
|
+
**Use this ESPECIALLY when:**
|
|
38
|
+
- Under time pressure (emergencies make guessing tempting)
|
|
39
|
+
- "Just one quick fix" seems obvious
|
|
40
|
+
- You've already tried multiple fixes
|
|
41
|
+
- Previous fix didn't work
|
|
42
|
+
- You don't fully understand the issue
|
|
43
|
+
|
|
44
|
+
**Don't skip when:**
|
|
45
|
+
- Issue seems simple (simple bugs have root causes too)
|
|
46
|
+
- You're in a hurry (rushing guarantees rework)
|
|
47
|
+
- Manager wants it fixed NOW (systematic is faster than thrashing)
|
|
48
|
+
|
|
49
|
+
## The Four Phases
|
|
50
|
+
|
|
51
|
+
You MUST complete each phase before proceeding to the next.
|
|
52
|
+
|
|
53
|
+
### Phase 1: Root Cause Investigation
|
|
54
|
+
|
|
55
|
+
**BEFORE attempting ANY fix:**
|
|
56
|
+
|
|
57
|
+
1. **Read Error Messages Carefully**
|
|
58
|
+
- Don't skip past errors or warnings
|
|
59
|
+
- They often contain the exact solution
|
|
60
|
+
- Read stack traces completely
|
|
61
|
+
- Note line numbers, file paths, error codes
|
|
62
|
+
|
|
63
|
+
2. **Reproduce Consistently**
|
|
64
|
+
- Can you trigger it reliably?
|
|
65
|
+
- What are the exact steps?
|
|
66
|
+
- Does it happen every time?
|
|
67
|
+
- If not reproducible → gather more data, don't guess
|
|
68
|
+
|
|
69
|
+
3. **Check Recent Changes**
|
|
70
|
+
- What changed that could cause this?
|
|
71
|
+
- Git diff, recent commits
|
|
72
|
+
- New dependencies, config changes
|
|
73
|
+
- Environmental differences
|
|
74
|
+
|
|
75
|
+
4. **Gather Evidence in Multi-Component Systems**
|
|
76
|
+
|
|
77
|
+
**WHEN system has multiple components (CI → build → signing, API → service → database):**
|
|
78
|
+
|
|
79
|
+
**BEFORE proposing fixes, add diagnostic instrumentation:**
|
|
80
|
+
```
|
|
81
|
+
For EACH component boundary:
|
|
82
|
+
- Log what data enters component
|
|
83
|
+
- Log what data exits component
|
|
84
|
+
- Verify environment/config propagation
|
|
85
|
+
- Check state at each layer
|
|
86
|
+
|
|
87
|
+
Run once to gather evidence showing WHERE it breaks
|
|
88
|
+
THEN analyze evidence to identify failing component
|
|
89
|
+
THEN investigate that specific component
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Example (multi-layer system):**
|
|
93
|
+
```bash
|
|
94
|
+
# Layer 1: Workflow
|
|
95
|
+
echo "=== Secrets available in workflow: ==="
|
|
96
|
+
echo "IDENTITY: ${IDENTITY:+SET}${IDENTITY:-UNSET}"
|
|
97
|
+
|
|
98
|
+
# Layer 2: Build script
|
|
99
|
+
echo "=== Env vars in build script: ==="
|
|
100
|
+
env | grep IDENTITY || echo "IDENTITY not in environment"
|
|
101
|
+
|
|
102
|
+
# Layer 3: Signing script
|
|
103
|
+
echo "=== Keychain state: ==="
|
|
104
|
+
security list-keychains
|
|
105
|
+
security find-identity -v
|
|
106
|
+
|
|
107
|
+
# Layer 4: Actual signing
|
|
108
|
+
codesign --sign "$IDENTITY" --verbose=4 "$APP"
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**This reveals:** Which layer fails (secrets → workflow ✓, workflow → build ✗)
|
|
112
|
+
|
|
113
|
+
5. **Trace Data Flow**
|
|
114
|
+
|
|
115
|
+
**WHEN error is deep in call stack:**
|
|
116
|
+
|
|
117
|
+
See skills/root-cause-tracing for backward tracing technique
|
|
118
|
+
|
|
119
|
+
**Quick version:**
|
|
120
|
+
- Where does bad value originate?
|
|
121
|
+
- What called this with bad value?
|
|
122
|
+
- Keep tracing up until you find the source
|
|
123
|
+
- Fix at source, not at symptom
|
|
124
|
+
|
|
125
|
+
### Phase 2: Pattern Analysis
|
|
126
|
+
|
|
127
|
+
**Find the pattern before fixing:**
|
|
128
|
+
|
|
129
|
+
1. **Find Working Examples**
|
|
130
|
+
- Locate similar working code in same codebase
|
|
131
|
+
- What works that's similar to what's broken?
|
|
132
|
+
|
|
133
|
+
2. **Compare Against References**
|
|
134
|
+
- If implementing pattern, read reference implementation COMPLETELY
|
|
135
|
+
- Don't skim - read every line
|
|
136
|
+
- Understand the pattern fully before applying
|
|
137
|
+
|
|
138
|
+
3. **Identify Differences**
|
|
139
|
+
- What's different between working and broken?
|
|
140
|
+
- List every difference, however small
|
|
141
|
+
- Don't assume "that can't matter"
|
|
142
|
+
|
|
143
|
+
4. **Understand Dependencies**
|
|
144
|
+
- What other components does this need?
|
|
145
|
+
- What settings, config, environment?
|
|
146
|
+
- What assumptions does it make?
|
|
147
|
+
|
|
148
|
+
### Phase 3: Hypothesis and Testing
|
|
149
|
+
|
|
150
|
+
**Scientific method:**
|
|
151
|
+
|
|
152
|
+
1. **Form Single Hypothesis**
|
|
153
|
+
- State clearly: "I think X is the root cause because Y"
|
|
154
|
+
- Write it down
|
|
155
|
+
- Be specific, not vague
|
|
156
|
+
|
|
157
|
+
2. **Test Minimally**
|
|
158
|
+
- Make the SMALLEST possible change to test hypothesis
|
|
159
|
+
- One variable at a time
|
|
160
|
+
- Don't fix multiple things at once
|
|
161
|
+
|
|
162
|
+
3. **Verify Before Continuing**
|
|
163
|
+
- Did it work? Yes → Phase 4
|
|
164
|
+
- Didn't work? Form NEW hypothesis
|
|
165
|
+
- DON'T add more fixes on top
|
|
166
|
+
|
|
167
|
+
4. **When You Don't Know**
|
|
168
|
+
- Say "I don't understand X"
|
|
169
|
+
- Don't pretend to know
|
|
170
|
+
- Ask for help
|
|
171
|
+
- Research more
|
|
172
|
+
|
|
173
|
+
### Phase 4: Implementation
|
|
174
|
+
|
|
175
|
+
**Fix the root cause, not the symptom:**
|
|
176
|
+
|
|
177
|
+
1. **Create Failing Test Case**
|
|
178
|
+
- Simplest possible reproduction
|
|
179
|
+
- Automated test if possible
|
|
180
|
+
- One-off test script if no framework
|
|
181
|
+
- MUST have before fixing
|
|
182
|
+
- See skills/testing/test-driven-development for writing proper failing tests
|
|
183
|
+
|
|
184
|
+
2. **Implement Single Fix**
|
|
185
|
+
- Address the root cause identified
|
|
186
|
+
- ONE change at a time
|
|
187
|
+
- No "while I'm here" improvements
|
|
188
|
+
- No bundled refactoring
|
|
189
|
+
|
|
190
|
+
3. **Verify Fix**
|
|
191
|
+
- Test passes now?
|
|
192
|
+
- No other tests broken?
|
|
193
|
+
- Issue actually resolved?
|
|
194
|
+
|
|
195
|
+
4. **If Fix Doesn't Work**
|
|
196
|
+
- STOP
|
|
197
|
+
- Count: How many fixes have you tried?
|
|
198
|
+
- If < 3: Return to Phase 1, re-analyze with new information
|
|
199
|
+
- **If ≥ 3: STOP and question the architecture (step 5 below)**
|
|
200
|
+
- DON'T attempt Fix #4 without architectural discussion
|
|
201
|
+
|
|
202
|
+
5. **If 3+ Fixes Failed: Question Architecture**
|
|
203
|
+
|
|
204
|
+
**Pattern indicating architectural problem:**
|
|
205
|
+
- Each fix reveals new shared state/coupling/problem in different place
|
|
206
|
+
- Fixes require "massive refactoring" to implement
|
|
207
|
+
- Each fix creates new symptoms elsewhere
|
|
208
|
+
|
|
209
|
+
**STOP and question fundamentals:**
|
|
210
|
+
- Is this pattern fundamentally sound?
|
|
211
|
+
- Are we "sticking with it through sheer inertia"?
|
|
212
|
+
- Should we refactor architecture vs. continue fixing symptoms?
|
|
213
|
+
|
|
214
|
+
**Discuss with your human partner before attempting more fixes**
|
|
215
|
+
|
|
216
|
+
This is NOT a failed hypothesis - this is a wrong architecture.
|
|
217
|
+
|
|
218
|
+
## Red Flags - STOP and Follow Process
|
|
219
|
+
|
|
220
|
+
If you catch yourself thinking:
|
|
221
|
+
- "Quick fix for now, investigate later"
|
|
222
|
+
- "Just try changing X and see if it works"
|
|
223
|
+
- "Add multiple changes, run tests"
|
|
224
|
+
- "Skip the test, I'll manually verify"
|
|
225
|
+
- "It's probably X, let me fix that"
|
|
226
|
+
- "I don't fully understand but this might work"
|
|
227
|
+
- "Pattern says X but I'll adapt it differently"
|
|
228
|
+
- "Here are the main problems: [lists fixes without investigation]"
|
|
229
|
+
- Proposing solutions before tracing data flow
|
|
230
|
+
- **"One more fix attempt" (when already tried 2+)**
|
|
231
|
+
- **Each fix reveals new problem in different place**
|
|
232
|
+
|
|
233
|
+
**ALL of these mean: STOP. Return to Phase 1.**
|
|
234
|
+
|
|
235
|
+
**If 3+ fixes failed:** Question the architecture (see Phase 4.5)
|
|
236
|
+
|
|
237
|
+
## your human partner's Signals You're Doing It Wrong
|
|
238
|
+
|
|
239
|
+
**Watch for these redirections:**
|
|
240
|
+
- "Is that not happening?" - You assumed without verifying
|
|
241
|
+
- "Will it show us...?" - You should have added evidence gathering
|
|
242
|
+
- "Stop guessing" - You're proposing fixes without understanding
|
|
243
|
+
- "Ultrathink this" - Question fundamentals, not just symptoms
|
|
244
|
+
- "We're stuck?" (frustrated) - Your approach isn't working
|
|
245
|
+
|
|
246
|
+
**When you see these:** STOP. Return to Phase 1.
|
|
247
|
+
|
|
248
|
+
## Common Rationalizations
|
|
249
|
+
|
|
250
|
+
| Excuse | Reality |
|
|
251
|
+
|--------|---------|
|
|
252
|
+
| "Issue is simple, don't need process" | Simple issues have root causes too. Process is fast for simple bugs. |
|
|
253
|
+
| "Emergency, no time for process" | Systematic debugging is FASTER than guess-and-check thrashing. |
|
|
254
|
+
| "Just try this first, then investigate" | First fix sets the pattern. Do it right from the start. |
|
|
255
|
+
| "I'll write test after confirming fix works" | Untested fixes don't stick. Test first proves it. |
|
|
256
|
+
| "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
|
|
257
|
+
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
|
|
258
|
+
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
|
|
259
|
+
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
|
|
260
|
+
|
|
261
|
+
## Quick Reference
|
|
262
|
+
|
|
263
|
+
| Phase | Key Activities | Success Criteria |
|
|
264
|
+
|-------|---------------|------------------|
|
|
265
|
+
| **1. Root Cause** | Read errors, reproduce, check changes, gather evidence | Understand WHAT and WHY |
|
|
266
|
+
| **2. Pattern** | Find working examples, compare | Identify differences |
|
|
267
|
+
| **3. Hypothesis** | Form theory, test minimally | Confirmed or new hypothesis |
|
|
268
|
+
| **4. Implementation** | Create test, fix, verify | Bug resolved, tests pass |
|
|
269
|
+
|
|
270
|
+
## When Process Reveals "No Root Cause"
|
|
271
|
+
|
|
272
|
+
If systematic investigation reveals issue is truly environmental, timing-dependent, or external:
|
|
273
|
+
|
|
274
|
+
1. You've completed the process
|
|
275
|
+
2. Document what you investigated
|
|
276
|
+
3. Implement appropriate handling (retry, timeout, error message)
|
|
277
|
+
4. Add monitoring/logging for future investigation
|
|
278
|
+
|
|
279
|
+
**But:** 95% of "no root cause" cases are incomplete investigation.
|
|
280
|
+
|
|
281
|
+
## Integration with Other Skills
|
|
282
|
+
|
|
283
|
+
This skill works with:
|
|
284
|
+
- skills/root-cause-tracing - How to trace back through call stack
|
|
285
|
+
- skills/defense-in-depth - Add validation after finding root cause
|
|
286
|
+
- skills/testing/condition-based-waiting - Replace timeouts identified in Phase 2
|
|
287
|
+
- skills/verification-before-completion - Verify fix worked before claiming success
|
|
288
|
+
|
|
289
|
+
## Real-World Impact
|
|
290
|
+
|
|
291
|
+
From debugging sessions:
|
|
292
|
+
- Systematic approach: 15-30 minutes to fix
|
|
293
|
+
- Random fixes approach: 2-3 hours of thrashing
|
|
294
|
+
- First-time fix rate: 95% vs 40%
|
|
295
|
+
- New bugs introduced: Near zero vs common
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Verification Before Completion
|
|
3
|
+
description: Run verification commands and confirm output before claiming success
|
|
4
|
+
when_to_use: when about to claim work is complete, fixed, or passing, before committing or creating PRs
|
|
5
|
+
version: 1.1.0
|
|
6
|
+
languages: all
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Verification Before Completion
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Claiming work is complete without verification is dishonesty, not efficiency.
|
|
14
|
+
|
|
15
|
+
**Core principle:** Evidence before claims, always.
|
|
16
|
+
|
|
17
|
+
**Violating the letter of this rule is violating the spirit of this rule.**
|
|
18
|
+
|
|
19
|
+
## The Iron Law
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you haven't run the verification command in this message, you cannot claim it passes.
|
|
26
|
+
|
|
27
|
+
## The Gate Function
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
BEFORE claiming any status or expressing satisfaction:
|
|
31
|
+
|
|
32
|
+
1. IDENTIFY: What command proves this claim?
|
|
33
|
+
2. RUN: Execute the FULL command (fresh, complete)
|
|
34
|
+
3. READ: Full output, check exit code, count failures
|
|
35
|
+
4. VERIFY: Does output confirm the claim?
|
|
36
|
+
- If NO: State actual status with evidence
|
|
37
|
+
- If YES: State claim WITH evidence
|
|
38
|
+
5. ONLY THEN: Make the claim
|
|
39
|
+
|
|
40
|
+
Skip any step = lying, not verifying
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Common Failures
|
|
44
|
+
|
|
45
|
+
| Claim | Requires | Not Sufficient |
|
|
46
|
+
|-------|----------|----------------|
|
|
47
|
+
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
|
|
48
|
+
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
|
|
49
|
+
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
|
|
50
|
+
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
|
|
51
|
+
| Regression test works | Red-green cycle verified | Test passes once |
|
|
52
|
+
| Agent completed | VCS diff shows changes | Agent reports "success" |
|
|
53
|
+
| Requirements met | Line-by-line checklist | Tests passing |
|
|
54
|
+
|
|
55
|
+
## Red Flags - STOP
|
|
56
|
+
|
|
57
|
+
- Using "should", "probably", "seems to"
|
|
58
|
+
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
|
|
59
|
+
- About to commit/push/PR without verification
|
|
60
|
+
- Trusting agent success reports
|
|
61
|
+
- Relying on partial verification
|
|
62
|
+
- Thinking "just this once"
|
|
63
|
+
- Tired and wanting work over
|
|
64
|
+
- **ANY wording implying success without having run verification**
|
|
65
|
+
|
|
66
|
+
## Rationalization Prevention
|
|
67
|
+
|
|
68
|
+
| Excuse | Reality |
|
|
69
|
+
|--------|---------|
|
|
70
|
+
| "Should work now" | RUN the verification |
|
|
71
|
+
| "I'm confident" | Confidence ≠ evidence |
|
|
72
|
+
| "Just this once" | No exceptions |
|
|
73
|
+
| "Linter passed" | Linter ≠ compiler |
|
|
74
|
+
| "Agent said success" | Verify independently |
|
|
75
|
+
| "I'm tired" | Exhaustion ≠ excuse |
|
|
76
|
+
| "Partial check is enough" | Partial proves nothing |
|
|
77
|
+
| "Different words so rule doesn't apply" | Spirit over letter |
|
|
78
|
+
|
|
79
|
+
## Key Patterns
|
|
80
|
+
|
|
81
|
+
**Tests:**
|
|
82
|
+
```
|
|
83
|
+
✅ [Run test command] [See: 34/34 pass] "All tests pass"
|
|
84
|
+
❌ "Should pass now" / "Looks correct"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Regression tests (TDD Red-Green):**
|
|
88
|
+
```
|
|
89
|
+
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
|
|
90
|
+
❌ "I've written a regression test" (without red-green verification)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Build:**
|
|
94
|
+
```
|
|
95
|
+
✅ [Run build] [See: exit 0] "Build passes"
|
|
96
|
+
❌ "Linter passed" (linter doesn't check compilation)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Requirements:**
|
|
100
|
+
```
|
|
101
|
+
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
|
|
102
|
+
❌ "Tests pass, phase complete"
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Agent delegation:**
|
|
106
|
+
```
|
|
107
|
+
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
|
|
108
|
+
❌ Trust agent report
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Why This Matters
|
|
112
|
+
|
|
113
|
+
From 24 failure memories:
|
|
114
|
+
- your human partner said "I don't believe you" - trust broken
|
|
115
|
+
- Undefined functions shipped - would crash
|
|
116
|
+
- Missing requirements shipped - incomplete features
|
|
117
|
+
- Time wasted on false completion → redirect → rework
|
|
118
|
+
- Violates: "Honesty is a core value. If you lie, you'll be replaced."
|
|
119
|
+
|
|
120
|
+
## When To Apply
|
|
121
|
+
|
|
122
|
+
**ALWAYS before:**
|
|
123
|
+
- ANY variation of success/completion claims
|
|
124
|
+
- ANY expression of satisfaction
|
|
125
|
+
- ANY positive statement about work state
|
|
126
|
+
- Committing, PR creation, task completion
|
|
127
|
+
- Moving to next task
|
|
128
|
+
- Delegating to agents
|
|
129
|
+
|
|
130
|
+
**Rule applies to:**
|
|
131
|
+
- Exact phrases
|
|
132
|
+
- Paraphrases and synonyms
|
|
133
|
+
- Implications of success
|
|
134
|
+
- ANY communication suggesting completion/correctness
|
|
135
|
+
|
|
136
|
+
## The Bottom Line
|
|
137
|
+
|
|
138
|
+
**No shortcuts for verification.**
|
|
139
|
+
|
|
140
|
+
Run the command. Read the output. THEN claim the result.
|
|
141
|
+
|
|
142
|
+
This is non-negotiable.
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: designer
|
|
3
|
+
description: >
|
|
4
|
+
UI/UX design intelligence with searchable database. 50+ styles, 161 color palettes, 57 font pairings,
|
|
5
|
+
161 product types, 99 UX guidelines. BM25 search engine for data-driven design decisions.
|
|
6
|
+
Use for creating interfaces, visual identity, design systems, and accessibility.
|
|
7
|
+
license: MIT
|
|
8
|
+
compatibility: Claude Code, Cursor, Gemini CLI, GitHub Copilot
|
|
9
|
+
metadata:
|
|
10
|
+
author: jhm1909
|
|
11
|
+
version: "4.0.0"
|
|
12
|
+
domain: design
|
|
13
|
+
estimated_tokens: 15000
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Designer — Design Intelligence
|
|
17
|
+
|
|
18
|
+
Expert design guidance powered by a **searchable design database** with BM25 ranking.
|
|
19
|
+
|
|
20
|
+
## Knowledge Graph
|
|
21
|
+
|
|
22
|
+
- **extends**: []
|
|
23
|
+
- **requires**: []
|
|
24
|
+
- **suggests**: [[frontend-developer]], [[research-first]]
|
|
25
|
+
- **conflicts**: []
|
|
26
|
+
- **enhances**: [[frontend-developer]] (implementation of designs)
|
|
27
|
+
- **moc**: [[design-moc]]
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## Design Intelligence Search (REQUIRED)
|
|
32
|
+
|
|
33
|
+
Before making ANY design decision, **search the database** for data-driven recommendations.
|
|
34
|
+
|
|
35
|
+
### Prerequisites
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
python3 --version # Python 3.x required (zero external dependencies)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Design System Generation (Start Here)
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
python3 skills/designer/scripts/ui-search/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Example:**
|
|
48
|
+
```bash
|
|
49
|
+
python3 skills/designer/scripts/ui-search/search.py "fintech SaaS dashboard modern" --design-system -p "PayFlow"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Returns: Complete design system (style, colors, typography, effects, anti-patterns).
|
|
53
|
+
|
|
54
|
+
### Domain Search (Deep-Dive)
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
python3 skills/designer/scripts/ui-search/search.py "<keyword>" --domain <domain> [-n <max_results>]
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
| Domain | Use For | Example |
|
|
61
|
+
|--------|---------|---------|
|
|
62
|
+
| `product` | Product type recommendations | `--domain product "SaaS e-commerce"` |
|
|
63
|
+
| `style` | UI styles, effects | `--domain style "glassmorphism dark"` |
|
|
64
|
+
| `color` | Color palettes by product | `--domain color "fintech professional"` |
|
|
65
|
+
| `typography` | Font pairings | `--domain typography "elegant modern"` |
|
|
66
|
+
| `chart` | Chart types + libraries | `--domain chart "trend dashboard"` |
|
|
67
|
+
| `ux` | Best practices, anti-patterns | `--domain ux "animation accessibility"` |
|
|
68
|
+
| `icons` | Icon recommendations | `--domain icons "navigation e-commerce"` |
|
|
69
|
+
| `react` | React/Next.js performance | `--domain react "rerender bundle"` |
|
|
70
|
+
| `web` | App interface guidelines | `--domain web "touch targets safe areas"` |
|
|
71
|
+
| `landing` | Page structure, CTA | `--domain landing "hero social-proof"` |
|
|
72
|
+
|
|
73
|
+
### Workflow
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
1. ANALYZE requirements → product type, audience, style keywords
|
|
77
|
+
2. SEARCH --design-system → get full recommendation
|
|
78
|
+
3. DEEP-DIVE --domain → supplement specific needs
|
|
79
|
+
4. IMPLEMENT → using verified, data-driven choices
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Rule Categories by Priority
|
|
85
|
+
|
|
86
|
+
| Priority | Category | Impact | Key Checks |
|
|
87
|
+
|----------|----------|--------|------------|
|
|
88
|
+
| 1 | Accessibility | CRITICAL | Contrast 4.5:1, alt text, keyboard nav, aria-labels |
|
|
89
|
+
| 2 | Touch & Interaction | CRITICAL | Min 44×44px targets, 8px spacing, loading feedback |
|
|
90
|
+
| 3 | Performance | HIGH | WebP/AVIF, lazy loading, CLS < 0.1 |
|
|
91
|
+
| 4 | Style Selection | HIGH | Match product type, consistency, SVG icons |
|
|
92
|
+
| 5 | Layout & Responsive | HIGH | Mobile-first, viewport meta, no horizontal scroll |
|
|
93
|
+
| 6 | Typography & Color | MEDIUM | Base 16px, line-height 1.5, semantic tokens |
|
|
94
|
+
| 7 | Animation | MEDIUM | 150-300ms, transform/opacity only, reduced-motion |
|
|
95
|
+
| 8 | Forms & Feedback | MEDIUM | Visible labels, error near field, progressive disclosure |
|
|
96
|
+
| 9 | Navigation | HIGH | Bottom nav ≤5, predictable back, deep linking |
|
|
97
|
+
| 10 | Charts & Data | LOW | Legends, tooltips, accessible colors |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Core Principles
|
|
102
|
+
|
|
103
|
+
### Intentionality Over Trends
|
|
104
|
+
- **Why this color?** — Brand meaning, accessibility, contrast
|
|
105
|
+
- **Why this font?** — Readability, personality, performance
|
|
106
|
+
- **Why this animation?** — User feedback, spatial understanding
|
|
107
|
+
|
|
108
|
+
### Distinctive Over Generic (Anti-AI-Slop)
|
|
109
|
+
- ❌ Default gradients, Inter everywhere, card templates
|
|
110
|
+
- ✅ Committed aesthetic, unique typography, contextual layouts
|
|
111
|
+
- 📖 Load [Frontend Design Aesthetics](./references/frontend_design_aesthetics.md) for Anthropic's anti-AI-slop guide
|
|
112
|
+
|
|
113
|
+
### Technical Excellence
|
|
114
|
+
- Semantic HTML first
|
|
115
|
+
- CSS custom properties for theming
|
|
116
|
+
- Performance-minded animations
|
|
117
|
+
- Accessibility as foundation
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## Pre-Delivery Checklist
|
|
122
|
+
|
|
123
|
+
### Visual
|
|
124
|
+
- [ ] SVG icons (no emojis as UI elements)
|
|
125
|
+
- [ ] Consistent icon family and style
|
|
126
|
+
- [ ] Semantic theme tokens (no hardcoded hex)
|
|
127
|
+
|
|
128
|
+
### Interaction
|
|
129
|
+
- [ ] All tappable elements have press feedback
|
|
130
|
+
- [ ] Touch targets ≥44×44pt
|
|
131
|
+
- [ ] Micro-interactions 150-300ms
|
|
132
|
+
- [ ] Disabled states visually clear
|
|
133
|
+
|
|
134
|
+
### Light/Dark Mode
|
|
135
|
+
- [ ] Primary text contrast ≥4.5:1 in both modes
|
|
136
|
+
- [ ] Dividers/borders visible in both modes
|
|
137
|
+
- [ ] Both themes tested before delivery
|
|
138
|
+
|
|
139
|
+
### Layout
|
|
140
|
+
- [ ] Safe areas respected
|
|
141
|
+
- [ ] 4/8dp spacing rhythm maintained
|
|
142
|
+
- [ ] Verified on small + large screens
|
|
143
|
+
|
|
144
|
+
### Accessibility
|
|
145
|
+
- [ ] All images/icons have alt text
|
|
146
|
+
- [ ] Color is never the only indicator
|
|
147
|
+
- [ ] Reduced motion supported
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Asset Creation Workflow
|
|
152
|
+
|
|
153
|
+
1. **Generate** with `generate_image` (follow `.agent/rules/nano-banana.md`)
|
|
154
|
+
2. **Process** with `scripts/remove_background.py`
|
|
155
|
+
3. **Deliver** to [[frontend-developer]] for implementation
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
*Design intelligence v4.0 | Searchable database + Anthropic aesthetics | Source: [Anthropic frontend-design](https://github.com/anthropics/skills)*
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Apple Glassmorphism (VisionOS / modern macOS)
|
|
2
|
+
|
|
3
|
+
**Concept**: A premium, depth-oriented interface that mimics physical glass materials. It relies heavily on background blurring, translucency, and light interaction to create a sense of hierarchy and spatial awareness.
|
|
4
|
+
|
|
5
|
+
**Key Characteristics**:
|
|
6
|
+
|
|
7
|
+
- **Translucency**: High-quality `backdrop-filter: blur()`.
|
|
8
|
+
- **Depth**: Multiple layers of glass with varying opacity.
|
|
9
|
+
- **Light**: Subtle white borders and inner shadows to simulate edge lighting and thickness.
|
|
10
|
+
- **Hierarchy**: Content floats on top of the background, creating a sense of Z-axis layering.
|
|
11
|
+
|
|
12
|
+
**CSS Implementation Guide**:
|
|
13
|
+
|
|
14
|
+
```css
|
|
15
|
+
.apple-glass {
|
|
16
|
+
/* Base Material */
|
|
17
|
+
background: rgba(255, 255, 255, 0.65); /* Light mode base */
|
|
18
|
+
backdrop-filter: blur(20px) saturate(180%);
|
|
19
|
+
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
20
|
+
|
|
21
|
+
/* Border / Edge Light */
|
|
22
|
+
border: 1px solid rgba(255, 255, 255, 0.4);
|
|
23
|
+
|
|
24
|
+
/* Depth & Volume */
|
|
25
|
+
box-shadow:
|
|
26
|
+
0 4px 30px rgba(0, 0, 0, 0.1),
|
|
27
|
+
/* Drop shadow for lift */ inset 0 0 0 1px rgba(255, 255, 255, 0.2); /* Inner lighting */
|
|
28
|
+
|
|
29
|
+
border-radius: 20px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Dark Mode Variant */
|
|
33
|
+
@media (prefers-color-scheme: dark) {
|
|
34
|
+
.apple-glass {
|
|
35
|
+
background: rgba(30, 30, 30, 0.6);
|
|
36
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
37
|
+
box-shadow:
|
|
38
|
+
0 4px 30px rgba(0, 0, 0, 0.3),
|
|
39
|
+
inset 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
**Usage**:
|
|
45
|
+
|
|
46
|
+
- Sidebars, modal windows, floating controls.
|
|
47
|
+
- When you want a "native" application feel.
|
|
48
|
+
- Best used with colorful, abstract backgrounds to show off the blur effect.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Aurora / Mesh Gradients
|
|
2
|
+
|
|
3
|
+
**Concept**: Ethereal, flowing, and mood-setting. Focuses on soft, moving gradients that blend multiple colors seamlessly.
|
|
4
|
+
|
|
5
|
+
**Key Characteristics**:
|
|
6
|
+
|
|
7
|
+
- **Backgrounds**: Multiple radial gradients blurred together.
|
|
8
|
+
- **Motion**: Slow, liquid movement of color blobs.
|
|
9
|
+
- **Overlay**: Often paired with Glassmorphism.
|
|
10
|
+
|
|
11
|
+
**CSS Implementation Guide**:
|
|
12
|
+
|
|
13
|
+
```css
|
|
14
|
+
.aurora-bg {
|
|
15
|
+
background-color: #ff9a9e;
|
|
16
|
+
background-image:
|
|
17
|
+
radial-gradient(at 40% 20%, hsla(28, 100%, 74%, 1) 0px, transparent 50%),
|
|
18
|
+
radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 1) 0px, transparent 50%),
|
|
19
|
+
radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 1) 0px, transparent 50%);
|
|
20
|
+
filter: blur(40px);
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Usage**:
|
|
25
|
+
|
|
26
|
+
- SaaS landing pages, login screens, emotional branding.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Bento Grids
|
|
2
|
+
|
|
3
|
+
**Concept**: Inspired by Japanese lunch boxes (Bento). Content is organized into rigid, yet varied rectangular distinct cells.
|
|
4
|
+
|
|
5
|
+
**Key Characteristics**:
|
|
6
|
+
|
|
7
|
+
- **Layout**: CSS Grid based.
|
|
8
|
+
- **Content**: Each cell is self-contained (image, text, control).
|
|
9
|
+
- **Spacing**: Consistent, typically large gaps.
|
|
10
|
+
- **Curvature**: Uniform border-radius on all cells (`24px+`).
|
|
11
|
+
|
|
12
|
+
**Usage**:
|
|
13
|
+
|
|
14
|
+
- Product showcases, feature lists, shiny marketing sections.
|