cokit-cli 1.2.7 → 1.4.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/README.md +8 -31
- package/agents/ck-brainstormer.agent.md +92 -0
- package/agents/ck-code-reviewer.agent.md +145 -0
- package/agents/ck-code-simplifier.agent.md +41 -0
- package/agents/ck-debugger.agent.md +142 -0
- package/agents/ck-docs-manager.agent.md +209 -0
- package/agents/ck-fullstack-developer.agent.md +106 -0
- package/agents/ck-git-manager.agent.md +7 -0
- package/agents/ck-planner.agent.md +104 -0
- package/agents/ck-project-manager.agent.md +24 -0
- package/agents/ck-researcher.agent.md +48 -0
- package/agents/ck-tester.agent.md +139 -0
- package/agents/ck-ui-ux-designer.agent.md +200 -0
- package/docs/README.md +8 -16
- package/docs/Skills Orchestration Layer - Training Slides - en.pdf +0 -0
- package/docs/Skills Orchestration Layer - Training Slides - vi.pdf +0 -0
- package/docs/code-standards.md +1 -2
- package/docs/codebase-summary.md +35 -66
- package/docs/cokit-commands-usage-guide.md +27 -73
- package/docs/cokit-sync-and-maintenance-guide.md +43 -191
- package/docs/copilot-processing-flow.md +18 -18
- package/docs/migration-guide.md +14 -14
- package/docs/project-overview-pdr.md +5 -6
- package/docs/project-roadmap.md +12 -14
- package/docs/system-architecture.md +13 -17
- package/docs/upstream-porting-rules.md +182 -0
- package/package.json +3 -4
- package/prompts/ck-ask.prompt.md +0 -1
- package/prompts/ck-bootstrap.prompt.md +12 -15
- package/prompts/ck-brainstorm.prompt.md +0 -1
- package/prompts/ck-cook.prompt.md +11 -12
- package/prompts/ck-debug.prompt.md +0 -1
- package/prompts/ck-deploy.prompt.md +22 -0
- package/prompts/ck-docs.prompt.md +0 -1
- package/prompts/ck-fix-fast.prompt.md +1 -1
- package/prompts/ck-fix-hard.prompt.md +2 -2
- package/prompts/ck-frontend.prompt.md +20 -0
- package/prompts/ck-help.prompt.md +0 -1
- package/prompts/ck-plan-fast.prompt.md +1 -4
- package/prompts/ck-plan-hard.prompt.md +3 -6
- package/prompts/ck-plan-red-team.prompt.md +1 -1
- package/prompts/ck-plan.prompt.md +0 -3
- package/prompts/ck-project.prompt.md +20 -0
- package/prompts/ck-review.prompt.md +4 -7
- package/prompts/ck-scout.prompt.md +0 -1
- package/prompts/ck-security.prompt.md +22 -0
- package/prompts/ck-ship.prompt.md +22 -0
- package/prompts/ck-test.prompt.md +1 -3
- package/prompts/ck-watzup.prompt.md +0 -1
- package/skills/ck-agent-browser/SKILL.md +294 -0
- package/skills/ck-agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
- package/skills/ck-backend-development/SKILL.md +94 -0
- package/skills/ck-bootstrap/SKILL.md +102 -0
- package/skills/ck-bootstrap/references/shared-phases.md +59 -0
- package/skills/ck-bootstrap/references/workflow-auto.md +52 -0
- package/skills/ck-bootstrap/references/workflow-fast.md +50 -0
- package/skills/ck-bootstrap/references/workflow-full.md +60 -0
- package/skills/ck-bootstrap/references/workflow-parallel.md +59 -0
- package/skills/ck-brainstorm/SKILL.md +122 -0
- package/skills/ck-chrome-devtools/SKILL.md +630 -0
- package/skills/ck-chrome-devtools/references/cdp-domains.md +694 -0
- package/skills/ck-chrome-devtools/references/performance-guide.md +940 -0
- package/skills/ck-chrome-devtools/references/puppeteer-reference.md +953 -0
- package/skills/ck-chrome-devtools/scripts/README.md +290 -0
- package/skills/ck-chrome-devtools/scripts/aria-snapshot.js +363 -0
- package/skills/ck-chrome-devtools/scripts/click.js +84 -0
- package/skills/ck-chrome-devtools/scripts/connect-chrome.js +146 -0
- package/skills/ck-chrome-devtools/scripts/console.js +81 -0
- package/skills/ck-chrome-devtools/scripts/evaluate.js +56 -0
- package/skills/ck-chrome-devtools/scripts/fill.js +77 -0
- package/skills/ck-chrome-devtools/scripts/import-cookies.js +205 -0
- package/skills/ck-chrome-devtools/scripts/inject-auth.js +230 -0
- package/skills/ck-chrome-devtools/scripts/install-deps.sh +181 -0
- package/skills/ck-chrome-devtools/scripts/install.sh +83 -0
- package/skills/ck-chrome-devtools/scripts/navigate.js +138 -0
- package/skills/ck-chrome-devtools/scripts/network.js +108 -0
- package/skills/ck-chrome-devtools/scripts/package-lock.json +1595 -0
- package/skills/ck-chrome-devtools/scripts/package.json +16 -0
- package/skills/ck-chrome-devtools/scripts/performance.js +151 -0
- package/skills/ck-chrome-devtools/scripts/screenshot.js +199 -0
- package/skills/ck-chrome-devtools/scripts/select-ref.js +132 -0
- package/skills/ck-chrome-devtools/scripts/snapshot.js +136 -0
- package/skills/ck-chrome-devtools/scripts/ws-debug.js +44 -0
- package/skills/ck-chrome-devtools/scripts/ws-full-debug.js +107 -0
- package/skills/ck-code-review/SKILL.md +196 -0
- package/skills/ck-code-review/references/adversarial-review.md +223 -0
- package/skills/ck-code-review/references/checklist-workflow.md +100 -0
- package/skills/ck-code-review/references/checklists/api.md +52 -0
- package/skills/ck-code-review/references/checklists/base.md +100 -0
- package/skills/ck-code-review/references/checklists/web-app.md +54 -0
- package/skills/ck-code-review/references/code-review-reception.md +113 -0
- package/skills/ck-code-review/references/codebase-scan-workflow.md +30 -0
- package/skills/ck-code-review/references/edge-case-scouting.md +119 -0
- package/skills/ck-code-review/references/input-mode-resolution.md +135 -0
- package/skills/ck-code-review/references/parallel-review-workflow.md +76 -0
- package/skills/ck-code-review/references/requesting-code-review.md +116 -0
- package/skills/ck-code-review/references/spec-compliance-review.md +43 -0
- package/skills/ck-code-review/references/task-management-reviews.md +155 -0
- package/skills/ck-common/README.md +110 -0
- package/skills/ck-common/api_key_helper.py +381 -0
- package/skills/ck-context-engineering/SKILL.md +107 -0
- package/skills/ck-context-engineering/references/context-degradation.md +93 -0
- package/skills/ck-context-engineering/references/runtime-awareness.md +160 -0
- package/skills/ck-cook/README.md +86 -0
- package/skills/ck-cook/SKILL.md +155 -0
- package/skills/ck-cook/references/intent-detection.md +101 -0
- package/skills/ck-cook/references/review-cycle.md +75 -0
- package/skills/ck-cook/references/subagent-patterns.md +75 -0
- package/skills/ck-cook/references/workflow-steps.md +192 -0
- package/skills/ck-databases/SKILL.md +84 -0
- package/skills/ck-databases/db-design.md +188 -0
- package/skills/ck-debug/SKILL.md +120 -0
- package/skills/ck-debug/references/frontend-verification.md +103 -0
- package/skills/ck-debug/references/investigation-methodology.md +101 -0
- package/skills/ck-debug/references/log-and-ci-analysis.md +97 -0
- package/skills/ck-debug/references/performance-diagnostics.md +113 -0
- package/skills/ck-debug/references/reporting-standards.md +122 -0
- package/skills/ck-debug/references/task-management-debugging.md +155 -0
- package/skills/ck-deploy/SKILL.md +154 -0
- package/skills/ck-deploy/references/platform-config-templates.md +35 -0
- package/skills/ck-deploy/references/platforms/aws.md +58 -0
- package/skills/ck-deploy/references/platforms/cloudflare.md +41 -0
- package/skills/ck-deploy/references/platforms/coolify.md +32 -0
- package/skills/ck-deploy/references/platforms/digitalocean.md +45 -0
- package/skills/ck-deploy/references/platforms/dokploy.md +29 -0
- package/skills/ck-deploy/references/platforms/flyio.md +54 -0
- package/skills/ck-deploy/references/platforms/gcp.md +45 -0
- package/skills/ck-deploy/references/platforms/github-pages.md +56 -0
- package/skills/ck-deploy/references/platforms/heroku.md +31 -0
- package/skills/ck-deploy/references/platforms/netlify.md +39 -0
- package/skills/ck-deploy/references/platforms/railway.md +38 -0
- package/skills/ck-deploy/references/platforms/render.md +39 -0
- package/skills/ck-deploy/references/platforms/tose.md +35 -0
- package/skills/ck-deploy/references/platforms/vercel.md +37 -0
- package/skills/ck-deploy/references/platforms/vultr.md +27 -0
- package/skills/ck-devops/SKILL.md +96 -0
- package/skills/ck-docs-seeker/SKILL.md +97 -0
- package/skills/ck-docs-seeker/references/context7-patterns.md +68 -0
- package/skills/ck-docs-seeker/scripts/fetch-docs.js +213 -0
- package/skills/ck-docs-seeker/scripts/utils/env-loader.js +94 -0
- package/skills/ck-docs-seeker/workflows/library-search.md +87 -0
- package/skills/ck-fix/SKILL.md +209 -0
- package/skills/ck-fix/references/complexity-assessment.md +73 -0
- package/skills/ck-fix/references/diagnosis-protocol.md +133 -0
- package/skills/ck-fix/references/mode-selection.md +46 -0
- package/skills/ck-fix/references/parallel-exploration.md +100 -0
- package/skills/ck-fix/references/prevention-gate.md +87 -0
- package/skills/ck-fix/references/review-cycle.md +77 -0
- package/skills/ck-fix/references/skill-activation-matrix.md +98 -0
- package/skills/ck-fix/references/task-orchestration.md +110 -0
- package/skills/ck-fix/references/workflow-ci.md +28 -0
- package/skills/ck-fix/references/workflow-deep.md +154 -0
- package/skills/ck-fix/references/workflow-logs.md +72 -0
- package/skills/ck-fix/references/workflow-quick.md +82 -0
- package/skills/ck-fix/references/workflow-standard.md +120 -0
- package/skills/ck-fix/references/workflow-test.md +75 -0
- package/skills/ck-fix/references/workflow-ui.md +72 -0
- package/skills/ck-frontend-design/SKILL.md +109 -0
- package/skills/ck-frontend-design/references/ai-multimodal-overview.md +165 -0
- package/skills/ck-frontend-design/references/anti-slop-rules.md +103 -0
- package/skills/ck-frontend-design/references/asset-generation.md +337 -0
- package/skills/ck-frontend-design/references/bento-motion-engine.md +142 -0
- package/skills/ck-frontend-design/references/magicui-components.md +129 -0
- package/skills/ck-frontend-design/references/performance-guardrails.md +169 -0
- package/skills/ck-frontend-design/references/premium-design-patterns.md +93 -0
- package/skills/ck-frontend-design/references/redesign-audit-checklist.md +114 -0
- package/skills/ck-frontend-design/references/visual-analysis-overview.md +95 -0
- package/skills/ck-frontend-design/references/workflow-3d.md +98 -0
- package/skills/ck-frontend-design/references/workflow-describe.md +87 -0
- package/skills/ck-frontend-design/references/workflow-immersive.md +82 -0
- package/skills/ck-frontend-design/references/workflow-quick.md +52 -0
- package/skills/ck-frontend-design/references/workflow-screenshot.md +63 -0
- package/skills/ck-frontend-design/references/workflow-video.md +74 -0
- package/skills/ck-frontend-development/SKILL.md +400 -0
- package/skills/ck-frontend-development/resources/common-patterns.md +331 -0
- package/skills/ck-frontend-development/resources/complete-examples.md +872 -0
- package/skills/ck-frontend-development/resources/component-patterns.md +502 -0
- package/skills/ck-frontend-development/resources/data-fetching.md +767 -0
- package/skills/ck-frontend-development/resources/file-organization.md +502 -0
- package/skills/ck-frontend-development/resources/loading-and-error-states.md +501 -0
- package/skills/ck-frontend-development/resources/performance.md +406 -0
- package/skills/ck-frontend-development/resources/routing-guide.md +364 -0
- package/skills/ck-frontend-development/resources/styling-guide.md +428 -0
- package/skills/ck-frontend-development/resources/typescript-standards.md +418 -0
- package/skills/ck-git/SKILL.md +113 -0
- package/skills/ck-git/references/commit-standards.md +46 -0
- package/skills/ck-git/references/workflow-commit.md +58 -0
- package/skills/ck-git/references/workflow-merge.md +48 -0
- package/skills/ck-git/references/workflow-pr.md +58 -0
- package/skills/ck-git/references/workflow-push.md +52 -0
- package/skills/ck-mcp-management/README.md +219 -0
- package/skills/ck-mcp-management/SKILL.md +210 -0
- package/skills/ck-mcp-management/references/configuration.md +114 -0
- package/skills/ck-mcp-management/references/gemini-cli-integration.md +221 -0
- package/skills/ck-mcp-management/scripts/.env.example +10 -0
- package/skills/ck-mcp-management/scripts/dist/mcp-client.js +183 -0
- package/skills/ck-mcp-management/scripts/mcp-client.ts +230 -0
- package/skills/ck-mermaidjs-v11/SKILL.md +116 -0
- package/skills/ck-planning/SKILL.md +194 -0
- package/skills/ck-planning/references/archive-workflow.md +53 -0
- package/skills/ck-planning/references/codebase-understanding.md +62 -0
- package/skills/ck-planning/references/output-standards.md +145 -0
- package/skills/ck-planning/references/plan-organization.md +182 -0
- package/skills/ck-planning/references/red-team-personas.md +69 -0
- package/skills/ck-planning/references/red-team-workflow.md +77 -0
- package/skills/ck-planning/references/research-phase.md +49 -0
- package/skills/ck-planning/references/scope-challenge.md +90 -0
- package/skills/ck-planning/references/task-management.md +134 -0
- package/skills/ck-planning/references/validate-question-framework.md +80 -0
- package/skills/ck-planning/references/validate-workflow.md +65 -0
- package/skills/ck-planning/references/workflow-modes.md +154 -0
- package/skills/ck-problem-solving/SKILL.md +96 -0
- package/skills/ck-project-management/SKILL.md +133 -0
- package/skills/ck-project-management/references/documentation-triggers.md +60 -0
- package/skills/ck-project-management/references/hydration-workflow.md +89 -0
- package/skills/ck-project-management/references/progress-tracking.md +120 -0
- package/skills/ck-project-management/references/reporting-patterns.md +94 -0
- package/skills/ck-project-management/references/task-operations.md +87 -0
- package/skills/ck-repomix/SKILL.md +248 -0
- package/skills/ck-repomix/references/usage-patterns.md +232 -0
- package/skills/ck-repomix/scripts/README.md +179 -0
- package/skills/ck-repomix/scripts/repomix_batch.py +455 -0
- package/skills/ck-research/SKILL.md +172 -0
- package/skills/ck-scout/SKILL.md +91 -0
- package/skills/ck-scout/references/external-scouting.md +140 -0
- package/skills/ck-scout/references/internal-scouting.md +119 -0
- package/skills/ck-scout/references/task-management-scouting.md +125 -0
- package/skills/ck-security/SKILL.md +139 -0
- package/skills/ck-security/references/stride-owasp-checklist.md +128 -0
- package/skills/ck-sequential-thinking/README.md +183 -0
- package/skills/ck-sequential-thinking/SKILL.md +94 -0
- package/skills/ck-sequential-thinking/package.json +31 -0
- package/skills/ck-ship/SKILL.md +116 -0
- package/skills/ck-ship/references/auto-detect.md +103 -0
- package/skills/ck-ship/references/pr-template.md +90 -0
- package/skills/ck-ship/references/ship-workflow.md +241 -0
- package/skills/ck-test/SKILL.md +111 -0
- package/skills/ck-test/references/report-format.md +58 -0
- package/skills/ck-test/references/test-execution-workflow.md +103 -0
- package/skills/ck-test/references/ui-testing-workflow.md +65 -0
- package/skills/ck-ui-styling/SKILL.md +321 -0
- package/skills/ck-web-testing/SKILL.md +96 -0
- package/templates/repo/.github/agents/ck-brainstormer.agent.md +92 -0
- package/templates/repo/.github/agents/ck-code-reviewer.agent.md +145 -0
- package/templates/repo/.github/agents/ck-code-simplifier.agent.md +41 -0
- package/templates/repo/.github/agents/ck-debugger.agent.md +142 -0
- package/templates/repo/.github/agents/ck-docs-manager.agent.md +209 -0
- package/templates/repo/.github/agents/ck-fullstack-developer.agent.md +106 -0
- package/templates/repo/.github/agents/ck-git-manager.agent.md +7 -0
- package/templates/repo/.github/agents/ck-planner.agent.md +104 -0
- package/templates/repo/.github/agents/ck-project-manager.agent.md +24 -0
- package/templates/repo/.github/agents/ck-researcher.agent.md +48 -0
- package/templates/repo/.github/agents/ck-tester.agent.md +139 -0
- package/templates/repo/.github/agents/ck-ui-ux-designer.agent.md +200 -0
- package/templates/repo/.github/prompts/ck-ask.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +12 -15
- package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-cook.prompt.md +11 -12
- package/templates/repo/.github/prompts/ck-debug.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-deploy.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-fix-fast.prompt.md +1 -1
- package/templates/repo/.github/prompts/ck-fix-hard.prompt.md +2 -2
- package/templates/repo/.github/prompts/ck-frontend.prompt.md +20 -0
- package/templates/repo/.github/prompts/ck-help.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +1 -4
- package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +3 -6
- package/templates/repo/.github/prompts/ck-plan-red-team.prompt.md +1 -1
- package/templates/repo/.github/prompts/ck-plan.prompt.md +0 -3
- package/templates/repo/.github/prompts/ck-project.prompt.md +20 -0
- package/templates/repo/.github/prompts/ck-review.prompt.md +4 -7
- package/templates/repo/.github/prompts/ck-scout.prompt.md +0 -1
- package/templates/repo/.github/prompts/ck-security.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-ship.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-test.prompt.md +1 -3
- package/templates/repo/.github/prompts/ck-watzup.prompt.md +0 -1
- package/templates/repo/.github/skills/ck-agent-browser/SKILL.md +294 -0
- package/templates/repo/.github/skills/ck-agent-browser/references/agent-browser-vs-chrome-devtools.md +112 -0
- package/templates/repo/.github/skills/ck-backend-development/SKILL.md +94 -0
- package/templates/repo/.github/skills/ck-bootstrap/SKILL.md +102 -0
- package/templates/repo/.github/skills/ck-bootstrap/references/shared-phases.md +59 -0
- package/templates/repo/.github/skills/ck-bootstrap/references/workflow-auto.md +52 -0
- package/templates/repo/.github/skills/ck-bootstrap/references/workflow-fast.md +50 -0
- package/templates/repo/.github/skills/ck-bootstrap/references/workflow-full.md +60 -0
- package/templates/repo/.github/skills/ck-bootstrap/references/workflow-parallel.md +59 -0
- package/templates/repo/.github/skills/ck-brainstorm/SKILL.md +122 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/SKILL.md +630 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/references/cdp-domains.md +694 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/references/performance-guide.md +940 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/references/puppeteer-reference.md +953 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/README.md +290 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/aria-snapshot.js +363 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/click.js +84 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/connect-chrome.js +146 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/console.js +81 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/evaluate.js +56 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/fill.js +77 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/import-cookies.js +205 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/inject-auth.js +230 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/install-deps.sh +181 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/install.sh +83 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/navigate.js +138 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/network.js +108 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/package-lock.json +1595 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/package.json +16 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/performance.js +151 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/screenshot.js +199 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/select-ref.js +132 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/snapshot.js +136 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/ws-debug.js +44 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/ws-full-debug.js +107 -0
- package/templates/repo/.github/skills/ck-code-review/SKILL.md +196 -0
- package/templates/repo/.github/skills/ck-code-review/references/adversarial-review.md +223 -0
- package/templates/repo/.github/skills/ck-code-review/references/checklist-workflow.md +100 -0
- package/templates/repo/.github/skills/ck-code-review/references/checklists/api.md +52 -0
- package/templates/repo/.github/skills/ck-code-review/references/checklists/base.md +100 -0
- package/templates/repo/.github/skills/ck-code-review/references/checklists/web-app.md +54 -0
- package/templates/repo/.github/skills/ck-code-review/references/code-review-reception.md +113 -0
- package/templates/repo/.github/skills/ck-code-review/references/codebase-scan-workflow.md +30 -0
- package/templates/repo/.github/skills/ck-code-review/references/edge-case-scouting.md +119 -0
- package/templates/repo/.github/skills/ck-code-review/references/input-mode-resolution.md +135 -0
- package/templates/repo/.github/skills/ck-code-review/references/parallel-review-workflow.md +76 -0
- package/templates/repo/.github/skills/ck-code-review/references/requesting-code-review.md +116 -0
- package/templates/repo/.github/skills/ck-code-review/references/spec-compliance-review.md +43 -0
- package/templates/repo/.github/skills/ck-code-review/references/task-management-reviews.md +155 -0
- package/templates/repo/.github/skills/ck-common/README.md +110 -0
- package/templates/repo/.github/skills/ck-common/api_key_helper.py +381 -0
- package/templates/repo/.github/skills/ck-context-engineering/SKILL.md +107 -0
- package/templates/repo/.github/skills/ck-context-engineering/references/context-degradation.md +93 -0
- package/templates/repo/.github/skills/ck-context-engineering/references/runtime-awareness.md +160 -0
- package/templates/repo/.github/skills/ck-cook/README.md +86 -0
- package/templates/repo/.github/skills/ck-cook/SKILL.md +155 -0
- package/templates/repo/.github/skills/ck-cook/references/intent-detection.md +101 -0
- package/templates/repo/.github/skills/ck-cook/references/review-cycle.md +75 -0
- package/templates/repo/.github/skills/ck-cook/references/subagent-patterns.md +75 -0
- package/templates/repo/.github/skills/ck-cook/references/workflow-steps.md +192 -0
- package/templates/repo/.github/skills/ck-databases/SKILL.md +84 -0
- package/templates/repo/.github/skills/ck-databases/db-design.md +188 -0
- package/templates/repo/.github/skills/ck-debug/SKILL.md +120 -0
- package/templates/repo/.github/skills/ck-debug/references/frontend-verification.md +103 -0
- package/templates/repo/.github/skills/ck-debug/references/investigation-methodology.md +101 -0
- package/templates/repo/.github/skills/ck-debug/references/log-and-ci-analysis.md +97 -0
- package/templates/repo/.github/skills/ck-debug/references/performance-diagnostics.md +113 -0
- package/templates/repo/.github/skills/ck-debug/references/reporting-standards.md +122 -0
- package/templates/repo/.github/skills/ck-debug/references/task-management-debugging.md +155 -0
- package/templates/repo/.github/skills/ck-deploy/SKILL.md +154 -0
- package/templates/repo/.github/skills/ck-deploy/references/platform-config-templates.md +35 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/aws.md +58 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/cloudflare.md +41 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/coolify.md +32 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/digitalocean.md +45 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/dokploy.md +29 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/flyio.md +54 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/gcp.md +45 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/github-pages.md +56 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/heroku.md +31 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/netlify.md +39 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/railway.md +38 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/render.md +39 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/tose.md +35 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/vercel.md +37 -0
- package/templates/repo/.github/skills/ck-deploy/references/platforms/vultr.md +27 -0
- package/templates/repo/.github/skills/ck-devops/SKILL.md +96 -0
- package/templates/repo/.github/skills/ck-docs-seeker/SKILL.md +97 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/context7-patterns.md +68 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/fetch-docs.js +213 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/utils/env-loader.js +94 -0
- package/templates/repo/.github/skills/ck-docs-seeker/workflows/library-search.md +87 -0
- package/templates/repo/.github/skills/ck-fix/SKILL.md +209 -0
- package/templates/repo/.github/skills/ck-fix/references/complexity-assessment.md +73 -0
- package/templates/repo/.github/skills/ck-fix/references/diagnosis-protocol.md +133 -0
- package/templates/repo/.github/skills/ck-fix/references/mode-selection.md +46 -0
- package/templates/repo/.github/skills/ck-fix/references/parallel-exploration.md +100 -0
- package/templates/repo/.github/skills/ck-fix/references/prevention-gate.md +87 -0
- package/templates/repo/.github/skills/ck-fix/references/review-cycle.md +77 -0
- package/templates/repo/.github/skills/ck-fix/references/skill-activation-matrix.md +98 -0
- package/templates/repo/.github/skills/ck-fix/references/task-orchestration.md +110 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-ci.md +28 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-deep.md +154 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-logs.md +72 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-quick.md +82 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-standard.md +120 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-test.md +75 -0
- package/templates/repo/.github/skills/ck-fix/references/workflow-ui.md +72 -0
- package/templates/repo/.github/skills/ck-frontend-design/SKILL.md +109 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/ai-multimodal-overview.md +165 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/anti-slop-rules.md +103 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/asset-generation.md +337 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/bento-motion-engine.md +142 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/magicui-components.md +129 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/performance-guardrails.md +169 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/premium-design-patterns.md +93 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/redesign-audit-checklist.md +114 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/visual-analysis-overview.md +95 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-3d.md +98 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-describe.md +87 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-immersive.md +82 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-quick.md +52 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-screenshot.md +63 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/workflow-video.md +74 -0
- package/templates/repo/.github/skills/ck-frontend-development/SKILL.md +400 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/common-patterns.md +331 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/complete-examples.md +872 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/component-patterns.md +502 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/data-fetching.md +767 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/file-organization.md +502 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/loading-and-error-states.md +501 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/performance.md +406 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/routing-guide.md +364 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/styling-guide.md +428 -0
- package/templates/repo/.github/skills/ck-frontend-development/resources/typescript-standards.md +418 -0
- package/templates/repo/.github/skills/ck-git/SKILL.md +113 -0
- package/templates/repo/.github/skills/ck-git/references/commit-standards.md +46 -0
- package/templates/repo/.github/skills/ck-git/references/workflow-commit.md +58 -0
- package/templates/repo/.github/skills/ck-git/references/workflow-merge.md +48 -0
- package/templates/repo/.github/skills/ck-git/references/workflow-pr.md +58 -0
- package/templates/repo/.github/skills/ck-git/references/workflow-push.md +52 -0
- package/templates/repo/.github/skills/ck-mcp-management/README.md +219 -0
- package/templates/repo/.github/skills/ck-mcp-management/SKILL.md +210 -0
- package/templates/repo/.github/skills/ck-mcp-management/references/configuration.md +114 -0
- package/templates/repo/.github/skills/ck-mcp-management/references/gemini-cli-integration.md +221 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/.env.example +10 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/mcp-client.ts +230 -0
- package/templates/repo/.github/skills/ck-mermaidjs-v11/SKILL.md +116 -0
- package/templates/repo/.github/skills/ck-planning/SKILL.md +194 -0
- package/templates/repo/.github/skills/ck-planning/references/archive-workflow.md +53 -0
- package/templates/repo/.github/skills/ck-planning/references/codebase-understanding.md +62 -0
- package/templates/repo/.github/skills/ck-planning/references/output-standards.md +145 -0
- package/templates/repo/.github/skills/ck-planning/references/plan-organization.md +182 -0
- package/templates/repo/.github/skills/ck-planning/references/red-team-personas.md +69 -0
- package/templates/repo/.github/skills/ck-planning/references/red-team-workflow.md +77 -0
- package/templates/repo/.github/skills/ck-planning/references/research-phase.md +49 -0
- package/templates/repo/.github/skills/ck-planning/references/scope-challenge.md +90 -0
- package/templates/repo/.github/skills/ck-planning/references/task-management.md +134 -0
- package/templates/repo/.github/skills/ck-planning/references/validate-question-framework.md +80 -0
- package/templates/repo/.github/skills/ck-planning/references/validate-workflow.md +65 -0
- package/templates/repo/.github/skills/ck-planning/references/workflow-modes.md +154 -0
- package/templates/repo/.github/skills/ck-problem-solving/SKILL.md +96 -0
- package/templates/repo/.github/skills/ck-project-management/SKILL.md +133 -0
- package/templates/repo/.github/skills/ck-project-management/references/documentation-triggers.md +60 -0
- package/templates/repo/.github/skills/ck-project-management/references/hydration-workflow.md +89 -0
- package/templates/repo/.github/skills/ck-project-management/references/progress-tracking.md +120 -0
- package/templates/repo/.github/skills/ck-project-management/references/reporting-patterns.md +94 -0
- package/templates/repo/.github/skills/ck-project-management/references/task-operations.md +87 -0
- package/templates/repo/.github/skills/ck-repomix/SKILL.md +248 -0
- package/templates/repo/.github/skills/ck-repomix/references/usage-patterns.md +232 -0
- package/templates/repo/.github/skills/ck-repomix/scripts/README.md +179 -0
- package/templates/repo/.github/skills/ck-repomix/scripts/repomix_batch.py +455 -0
- package/templates/repo/.github/skills/ck-research/SKILL.md +172 -0
- package/templates/repo/.github/skills/ck-scout/SKILL.md +91 -0
- package/templates/repo/.github/skills/ck-scout/references/external-scouting.md +140 -0
- package/templates/repo/.github/skills/ck-scout/references/internal-scouting.md +119 -0
- package/templates/repo/.github/skills/ck-scout/references/task-management-scouting.md +125 -0
- package/templates/repo/.github/skills/ck-security/SKILL.md +139 -0
- package/templates/repo/.github/skills/ck-security/references/stride-owasp-checklist.md +128 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/README.md +183 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/SKILL.md +94 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/package-lock.json +3652 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/package.json +31 -0
- package/templates/repo/.github/skills/ck-ship/SKILL.md +116 -0
- package/templates/repo/.github/skills/ck-ship/references/auto-detect.md +103 -0
- package/templates/repo/.github/skills/ck-ship/references/pr-template.md +90 -0
- package/templates/repo/.github/skills/ck-ship/references/ship-workflow.md +241 -0
- package/templates/repo/.github/skills/ck-test/SKILL.md +111 -0
- package/templates/repo/.github/skills/ck-test/references/report-format.md +58 -0
- package/templates/repo/.github/skills/ck-test/references/test-execution-workflow.md +103 -0
- package/templates/repo/.github/skills/ck-test/references/ui-testing-workflow.md +65 -0
- package/templates/repo/.github/skills/ck-ui-styling/SKILL.md +321 -0
- package/templates/repo/.github/skills/ck-web-testing/SKILL.md +96 -0
- package/agents/brainstormer.agent.md +0 -78
- package/agents/code-reviewer.agent.md +0 -111
- package/agents/code-simplifier.agent.md +0 -46
- package/agents/debugger.agent.md +0 -137
- package/agents/docs-manager.agent.md +0 -217
- package/agents/fullstack-developer.agent.md +0 -96
- package/agents/git-manager.agent.md +0 -10
- package/agents/planner.agent.md +0 -122
- package/agents/researcher.agent.md +0 -46
- package/agents/tester.agent.md +0 -116
- package/agents/ui-ux-designer.agent.md +0 -233
- package/docs/claudekit-porting-rules.md +0 -182
- package/docs/cokit-comprehensive-mapping-guide.md +0 -357
- package/docs/cokit-slides.md +0 -210
- package/docs/cokit-team-presentation.md +0 -354
- package/docs/guide-next-steps-speckit-cokit-implementation.md +0 -187
- package/prompts/ck-spec-analyze.prompt.md +0 -201
- package/prompts/ck-spec-checklist.prompt.md +0 -308
- package/prompts/ck-spec-clarify.prompt.md +0 -190
- package/prompts/ck-spec-constitution.prompt.md +0 -92
- package/prompts/ck-spec-implement.prompt.md +0 -157
- package/prompts/ck-spec-plan.prompt.md +0 -95
- package/prompts/ck-spec-specify.prompt.md +0 -261
- package/prompts/ck-spec-tasks.prompt.md +0 -181
- package/skills/agent-browser/SKILL.md +0 -291
- package/skills/backend-development/SKILL.md +0 -94
- package/skills/brainstorm/SKILL.md +0 -74
- package/skills/code-review/SKILL.md +0 -193
- package/skills/code-review/references/code-review-reception.md +0 -209
- package/skills/code-review/references/requesting-code-review.md +0 -105
- package/skills/common/README.md +0 -120
- package/skills/common/api_key_helper.py +0 -411
- package/skills/context-engineering/SKILL.md +0 -106
- package/skills/context-engineering/references/context-degradation.md +0 -93
- package/skills/context-engineering/references/runtime-awareness.md +0 -202
- package/skills/cook/README.md +0 -86
- package/skills/cook/SKILL.md +0 -127
- package/skills/cook/references/intent-detection.md +0 -101
- package/skills/cook/references/review-cycle.md +0 -75
- package/skills/cook/references/workflow-steps.md +0 -140
- package/skills/databases/SKILL.md +0 -111
- package/skills/databases/db-design.md +0 -188
- package/skills/debug/SKILL.md +0 -178
- package/skills/devops/SKILL.md +0 -102
- package/skills/docs-seeker/SKILL.md +0 -96
- package/skills/docs-seeker/references/context7-patterns.md +0 -64
- package/skills/docs-seeker/scripts/fetch-docs.js +0 -214
- package/skills/docs-seeker/scripts/utils/env-loader.js +0 -94
- package/skills/docs-seeker/workflows/library-search.md +0 -86
- package/skills/fix/SKILL.md +0 -112
- package/skills/fix/references/complexity-assessment.md +0 -61
- package/skills/fix/references/mode-selection.md +0 -30
- package/skills/fix/references/parallel-exploration.md +0 -77
- package/skills/fix/references/review-cycle.md +0 -77
- package/skills/fix/references/skill-activation-matrix.md +0 -65
- package/skills/fix/references/workflow-ci.md +0 -28
- package/skills/fix/references/workflow-deep.md +0 -91
- package/skills/fix/references/workflow-logs.md +0 -36
- package/skills/fix/references/workflow-quick.md +0 -59
- package/skills/fix/references/workflow-standard.md +0 -86
- package/skills/fix/references/workflow-test.md +0 -36
- package/skills/fix/references/workflow-ui.md +0 -34
- package/skills/frontend-design/SKILL.md +0 -77
- package/skills/frontend-design/references/asset-generation.md +0 -161
- package/skills/frontend-design/references/visual-analysis-overview.md +0 -95
- package/skills/frontend-design/references/workflow-describe.md +0 -86
- package/skills/frontend-design/references/workflow-quick.md +0 -54
- package/skills/frontend-design/references/workflow-screenshot.md +0 -62
- package/skills/git/SKILL.md +0 -99
- package/skills/git/references/commit-standards.md +0 -46
- package/skills/git/references/workflow-commit.md +0 -58
- package/skills/git/references/workflow-merge.md +0 -48
- package/skills/git/references/workflow-pr.md +0 -58
- package/skills/git/references/workflow-push.md +0 -52
- package/skills/mcp-management/README.md +0 -219
- package/skills/mcp-management/SKILL.md +0 -209
- package/skills/mcp-management/references/configuration.md +0 -114
- package/skills/mcp-management/references/gemini-cli-integration.md +0 -221
- package/skills/mcp-management/scripts/.env.example +0 -10
- package/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
- package/skills/mcp-management/scripts/mcp-client.ts +0 -230
- package/skills/mermaidjs-v11/SKILL.md +0 -115
- package/skills/planning/SKILL.md +0 -163
- package/skills/planning/references/codebase-understanding.md +0 -62
- package/skills/planning/references/output-standards.md +0 -141
- package/skills/planning/references/plan-organization.md +0 -160
- package/skills/planning/references/research-phase.md +0 -49
- package/skills/problem-solving/SKILL.md +0 -95
- package/skills/repomix/SKILL.md +0 -247
- package/skills/repomix/references/usage-patterns.md +0 -232
- package/skills/repomix/scripts/README.md +0 -179
- package/skills/repomix/scripts/repomix_batch.py +0 -455
- package/skills/research/SKILL.md +0 -169
- package/skills/scout/SKILL.md +0 -91
- package/skills/scout/references/external-scouting.md +0 -140
- package/skills/scout/references/internal-scouting.md +0 -119
- package/skills/sequential-thinking/README.md +0 -183
- package/skills/sequential-thinking/SKILL.md +0 -92
- package/skills/sequential-thinking/package.json +0 -31
- package/skills/ui-styling/SKILL.md +0 -319
- package/skills/web-testing/SKILL.md +0 -148
- package/templates/repo/.github/AGENTS.md +0 -103
- package/templates/repo/.github/agents/brainstormer.agent.md +0 -78
- package/templates/repo/.github/agents/code-reviewer.agent.md +0 -111
- package/templates/repo/.github/agents/code-simplifier.agent.md +0 -46
- package/templates/repo/.github/agents/debugger.agent.md +0 -137
- package/templates/repo/.github/agents/docs-manager.agent.md +0 -217
- package/templates/repo/.github/agents/fullstack-developer.agent.md +0 -96
- package/templates/repo/.github/agents/git-manager.agent.md +0 -10
- package/templates/repo/.github/agents/planner.agent.md +0 -122
- package/templates/repo/.github/agents/researcher.agent.md +0 -46
- package/templates/repo/.github/agents/tester.agent.md +0 -116
- package/templates/repo/.github/agents/ui-ux-designer.agent.md +0 -233
- package/templates/repo/.github/prompts/ck-spec-analyze.prompt.md +0 -201
- package/templates/repo/.github/prompts/ck-spec-checklist.prompt.md +0 -308
- package/templates/repo/.github/prompts/ck-spec-clarify.prompt.md +0 -190
- package/templates/repo/.github/prompts/ck-spec-constitution.prompt.md +0 -92
- package/templates/repo/.github/prompts/ck-spec-implement.prompt.md +0 -157
- package/templates/repo/.github/prompts/ck-spec-plan.prompt.md +0 -95
- package/templates/repo/.github/prompts/ck-spec-specify.prompt.md +0 -261
- package/templates/repo/.github/prompts/ck-spec-tasks.prompt.md +0 -181
- package/templates/repo/.github/skills/agent-browser/SKILL.md +0 -291
- package/templates/repo/.github/skills/backend-development/SKILL.md +0 -94
- package/templates/repo/.github/skills/brainstorm/SKILL.md +0 -74
- package/templates/repo/.github/skills/code-review/SKILL.md +0 -193
- package/templates/repo/.github/skills/code-review/references/code-review-reception.md +0 -209
- package/templates/repo/.github/skills/code-review/references/requesting-code-review.md +0 -105
- package/templates/repo/.github/skills/common/README.md +0 -120
- package/templates/repo/.github/skills/common/api_key_helper.py +0 -411
- package/templates/repo/.github/skills/context-engineering/SKILL.md +0 -106
- package/templates/repo/.github/skills/context-engineering/references/context-degradation.md +0 -93
- package/templates/repo/.github/skills/context-engineering/references/runtime-awareness.md +0 -202
- package/templates/repo/.github/skills/cook/README.md +0 -86
- package/templates/repo/.github/skills/cook/SKILL.md +0 -127
- package/templates/repo/.github/skills/cook/references/intent-detection.md +0 -101
- package/templates/repo/.github/skills/cook/references/review-cycle.md +0 -75
- package/templates/repo/.github/skills/cook/references/workflow-steps.md +0 -140
- package/templates/repo/.github/skills/databases/SKILL.md +0 -111
- package/templates/repo/.github/skills/databases/db-design.md +0 -188
- package/templates/repo/.github/skills/databases/stacks/bigquery.md +0 -231
- package/templates/repo/.github/skills/databases/stacks/d1_cloudflare.md +0 -137
- package/templates/repo/.github/skills/databases/stacks/mysql.md +0 -216
- package/templates/repo/.github/skills/databases/stacks/postgres.md +0 -235
- package/templates/repo/.github/skills/databases/stacks/sqlite.md +0 -244
- package/templates/repo/.github/skills/debug/SKILL.md +0 -178
- package/templates/repo/.github/skills/devops/SKILL.md +0 -102
- package/templates/repo/.github/skills/docs-seeker/SKILL.md +0 -96
- package/templates/repo/.github/skills/docs-seeker/references/context7-patterns.md +0 -64
- package/templates/repo/.github/skills/docs-seeker/scripts/fetch-docs.js +0 -214
- package/templates/repo/.github/skills/docs-seeker/scripts/utils/env-loader.js +0 -94
- package/templates/repo/.github/skills/docs-seeker/workflows/library-search.md +0 -86
- package/templates/repo/.github/skills/fix/SKILL.md +0 -112
- package/templates/repo/.github/skills/fix/references/complexity-assessment.md +0 -61
- package/templates/repo/.github/skills/fix/references/mode-selection.md +0 -30
- package/templates/repo/.github/skills/fix/references/parallel-exploration.md +0 -77
- package/templates/repo/.github/skills/fix/references/review-cycle.md +0 -77
- package/templates/repo/.github/skills/fix/references/skill-activation-matrix.md +0 -65
- package/templates/repo/.github/skills/fix/references/workflow-ci.md +0 -28
- package/templates/repo/.github/skills/fix/references/workflow-deep.md +0 -91
- package/templates/repo/.github/skills/fix/references/workflow-logs.md +0 -36
- package/templates/repo/.github/skills/fix/references/workflow-quick.md +0 -59
- package/templates/repo/.github/skills/fix/references/workflow-standard.md +0 -86
- package/templates/repo/.github/skills/fix/references/workflow-test.md +0 -36
- package/templates/repo/.github/skills/fix/references/workflow-ui.md +0 -34
- package/templates/repo/.github/skills/frontend-design/SKILL.md +0 -77
- package/templates/repo/.github/skills/frontend-design/references/asset-generation.md +0 -161
- package/templates/repo/.github/skills/frontend-design/references/visual-analysis-overview.md +0 -95
- package/templates/repo/.github/skills/frontend-design/references/workflow-describe.md +0 -86
- package/templates/repo/.github/skills/frontend-design/references/workflow-quick.md +0 -54
- package/templates/repo/.github/skills/frontend-design/references/workflow-screenshot.md +0 -62
- package/templates/repo/.github/skills/git/SKILL.md +0 -99
- package/templates/repo/.github/skills/git/references/commit-standards.md +0 -46
- package/templates/repo/.github/skills/git/references/workflow-commit.md +0 -58
- package/templates/repo/.github/skills/git/references/workflow-merge.md +0 -48
- package/templates/repo/.github/skills/git/references/workflow-pr.md +0 -58
- package/templates/repo/.github/skills/git/references/workflow-push.md +0 -52
- package/templates/repo/.github/skills/mcp-management/README.md +0 -219
- package/templates/repo/.github/skills/mcp-management/SKILL.md +0 -209
- package/templates/repo/.github/skills/mcp-management/assets/tools.json +0 -3146
- package/templates/repo/.github/skills/mcp-management/references/configuration.md +0 -114
- package/templates/repo/.github/skills/mcp-management/references/gemini-cli-integration.md +0 -221
- package/templates/repo/.github/skills/mcp-management/scripts/.env.example +0 -10
- package/templates/repo/.github/skills/mcp-management/scripts/dist/analyze-tools.js +0 -70
- package/templates/repo/.github/skills/mcp-management/scripts/dist/cli.js +0 -160
- package/templates/repo/.github/skills/mcp-management/scripts/dist/mcp-client.js +0 -183
- package/templates/repo/.github/skills/mcp-management/scripts/mcp-client.ts +0 -230
- package/templates/repo/.github/skills/mermaidjs-v11/SKILL.md +0 -115
- package/templates/repo/.github/skills/planning/SKILL.md +0 -163
- package/templates/repo/.github/skills/planning/references/codebase-understanding.md +0 -62
- package/templates/repo/.github/skills/planning/references/output-standards.md +0 -141
- package/templates/repo/.github/skills/planning/references/plan-organization.md +0 -160
- package/templates/repo/.github/skills/planning/references/research-phase.md +0 -49
- package/templates/repo/.github/skills/problem-solving/SKILL.md +0 -95
- package/templates/repo/.github/skills/repomix/SKILL.md +0 -247
- package/templates/repo/.github/skills/repomix/references/usage-patterns.md +0 -232
- package/templates/repo/.github/skills/repomix/scripts/README.md +0 -179
- package/templates/repo/.github/skills/repomix/scripts/repomix_batch.py +0 -455
- package/templates/repo/.github/skills/research/SKILL.md +0 -169
- package/templates/repo/.github/skills/scout/SKILL.md +0 -91
- package/templates/repo/.github/skills/scout/references/external-scouting.md +0 -140
- package/templates/repo/.github/skills/scout/references/internal-scouting.md +0 -119
- package/templates/repo/.github/skills/sequential-thinking/README.md +0 -183
- package/templates/repo/.github/skills/sequential-thinking/SKILL.md +0 -92
- package/templates/repo/.github/skills/sequential-thinking/package.json +0 -31
- package/templates/repo/.github/skills/ui-styling/LICENSE.txt +0 -202
- package/templates/repo/.github/skills/ui-styling/SKILL.md +0 -319
- package/templates/repo/.github/skills/web-testing/SKILL.md +0 -148
- package/templates/repo/.github/spec-kit/memory/constitution.md +0 -50
- package/templates/repo/.github/spec-kit/scripts/bash/check-prerequisites.sh +0 -166
- package/templates/repo/.github/spec-kit/scripts/bash/common.sh +0 -156
- package/templates/repo/.github/spec-kit/scripts/bash/create-new-feature.sh +0 -297
- package/templates/repo/.github/spec-kit/scripts/bash/setup-plan.sh +0 -61
- package/templates/repo/.github/spec-kit/scripts/bash/update-agent-context.sh +0 -799
- package/templates/repo/.github/spec-kit/scripts/powershell/check-prerequisites.ps1 +0 -148
- package/templates/repo/.github/spec-kit/scripts/powershell/common.ps1 +0 -137
- package/templates/repo/.github/spec-kit/scripts/powershell/create-new-feature.ps1 +0 -283
- package/templates/repo/.github/spec-kit/scripts/powershell/setup-plan.ps1 +0 -61
- package/templates/repo/.github/spec-kit/scripts/powershell/update-agent-context.ps1 +0 -448
- package/templates/repo/.github/spec-kit/templates/agent-file-template.md +0 -28
- package/templates/repo/.github/spec-kit/templates/checklist-template.md +0 -40
- package/templates/repo/.github/spec-kit/templates/commands/analyze.md +0 -187
- package/templates/repo/.github/spec-kit/templates/commands/checklist.md +0 -297
- package/templates/repo/.github/spec-kit/templates/commands/clarify.md +0 -184
- package/templates/repo/.github/spec-kit/templates/commands/constitution.md +0 -82
- package/templates/repo/.github/spec-kit/templates/commands/implement.md +0 -138
- package/templates/repo/.github/spec-kit/templates/commands/plan.md +0 -95
- package/templates/repo/.github/spec-kit/templates/commands/specify.md +0 -261
- package/templates/repo/.github/spec-kit/templates/commands/tasks.md +0 -140
- package/templates/repo/.github/spec-kit/templates/commands/taskstoissues.md +0 -33
- package/templates/repo/.github/spec-kit/templates/plan-template.md +0 -104
- package/templates/repo/.github/spec-kit/templates/spec-template.md +0 -115
- package/templates/repo/.github/spec-kit/templates/tasks-phase-template.md +0 -42
- package/templates/repo/.github/spec-kit/templates/tasks-template.md +0 -268
- package/templates/repo/.github/spec-kit/templates/vscode-settings.json +0 -14
- /package/agents/{scout.agent.md → ck-scout.agent.md} +0 -0
- /package/skills/{agent-browser → ck-agent-browser}/references/.gitkeep +0 -0
- /package/skills/{agent-browser → ck-agent-browser}/references/browserbase-cloud-setup.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-api-design.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-architecture.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-authentication.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-code-quality.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-debugging.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-devops.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-mindset.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-performance.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-security.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-technologies.md +0 -0
- /package/skills/{backend-development → ck-backend-development}/references/backend-testing.md +0 -0
- /package/skills/{code-review → ck-code-review}/references/verification-before-completion.md +0 -0
- /package/skills/{common → ck-common}/api_key_rotator.py +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/context-compression.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/context-fundamentals.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/context-optimization.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/evaluation.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/memory-systems.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/multi-agent-patterns.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/project-development.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/references/tool-design.md +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/scripts/compression_evaluator.py +0 -0
- /package/skills/{context-engineering → ck-context-engineering}/scripts/context_analyzer.py +0 -0
- /package/skills/{cook → ck-cook}/references/agent-patterns.md +0 -0
- /package/skills/{databases → ck-databases}/analytics.md +0 -0
- /package/skills/{databases → ck-databases}/incremental-etl.md +0 -0
- /package/skills/{databases → ck-databases}/references/mongodb-aggregation.md +0 -0
- /package/skills/{databases → ck-databases}/references/mongodb-atlas.md +0 -0
- /package/skills/{databases → ck-databases}/references/mongodb-crud.md +0 -0
- /package/skills/{databases → ck-databases}/references/mongodb-indexing.md +0 -0
- /package/skills/{databases → ck-databases}/references/postgresql-administration.md +0 -0
- /package/skills/{databases → ck-databases}/references/postgresql-performance.md +0 -0
- /package/skills/{databases → ck-databases}/references/postgresql-psql-cli.md +0 -0
- /package/skills/{databases → ck-databases}/references/postgresql-queries.md +0 -0
- /package/skills/{databases → ck-databases}/scripts/db_backup.py +0 -0
- /package/skills/{databases → ck-databases}/scripts/db_migrate.py +0 -0
- /package/skills/{databases → ck-databases}/scripts/db_performance_check.py +0 -0
- /package/skills/{databases → ck-databases}/scripts/requirements.txt +0 -0
- /package/skills/{databases → ck-databases}/stacks/bigquery.md +0 -0
- /package/skills/{databases → ck-databases}/stacks/d1_cloudflare.md +0 -0
- /package/skills/{databases → ck-databases}/stacks/mysql.md +0 -0
- /package/skills/{databases → ck-databases}/stacks/postgres.md +0 -0
- /package/skills/{databases → ck-databases}/stacks/sqlite.md +0 -0
- /package/skills/{databases → ck-databases}/transactional.md +0 -0
- /package/skills/{debug → ck-debug}/references/defense-in-depth.md +0 -0
- /package/skills/{debug → ck-debug}/references/root-cause-tracing.md +0 -0
- /package/skills/{debug → ck-debug}/references/systematic-debugging.md +0 -0
- /package/skills/{debug → ck-debug}/references/verification.md +0 -0
- /package/skills/{debug → ck-debug}/scripts/find-polluter.sh +0 -0
- /package/skills/{debug → ck-debug}/scripts/find-polluter.test.md +0 -0
- /package/skills/{devops → ck-devops}/.env.example +0 -0
- /package/skills/{devops → ck-devops}/references/browser-rendering.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-d1-kv.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-platform.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-r2-storage.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-workers-advanced.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-workers-apis.md +0 -0
- /package/skills/{devops → ck-devops}/references/cloudflare-workers-basics.md +0 -0
- /package/skills/{devops → ck-devops}/references/docker-basics.md +0 -0
- /package/skills/{devops → ck-devops}/references/docker-compose.md +0 -0
- /package/skills/{devops → ck-devops}/references/gcloud-platform.md +0 -0
- /package/skills/{devops → ck-devops}/references/gcloud-services.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-basics.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-helm-advanced.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-helm.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-kubectl.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-security-advanced.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-security.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-troubleshooting-advanced.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-troubleshooting.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-workflows-advanced.md +0 -0
- /package/skills/{devops → ck-devops}/references/kubernetes-workflows.md +0 -0
- /package/skills/{devops → ck-devops}/scripts/cloudflare_deploy.py +0 -0
- /package/skills/{devops → ck-devops}/scripts/docker_optimize.py +0 -0
- /package/skills/{devops → ck-devops}/scripts/requirements.txt +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/.env.example +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/package.json +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/references/advanced.md +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/references/errors.md +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/scripts/analyze-llms-txt.js +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/scripts/detect-topic.js +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/workflows/repo-analysis.md +0 -0
- /package/skills/{docs-seeker → ck-docs-seeker}/workflows/topic-search.md +0 -0
- /package/skills/{fix → ck-fix}/references/workflow-types.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/analysis-best-practices.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/analysis-prompts.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/analysis-techniques.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/animejs.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/design-extraction-overview.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/extraction-best-practices.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/extraction-output-templates.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/extraction-prompts.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/technical-accessibility.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/technical-best-practices.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/technical-optimization.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/technical-overview.md +0 -0
- /package/skills/{frontend-design → ck-frontend-design}/references/technical-workflows.md +0 -0
- /package/skills/{git → ck-git}/references/branch-management.md +0 -0
- /package/skills/{git → ck-git}/references/gh-cli-guide.md +0 -0
- /package/skills/{git → ck-git}/references/safety-protocols.md +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/assets/tools.json +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/references/mcp-protocol.md +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/scripts/cli.ts +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/scripts/dist/analyze-tools.js +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/scripts/dist/cli.js +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/scripts/package.json +0 -0
- /package/skills/{mcp-management → ck-mcp-management}/scripts/tsconfig.json +0 -0
- /package/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/cli-usage.md +0 -0
- /package/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/configuration.md +0 -0
- /package/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/diagram-types.md +0 -0
- /package/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/examples.md +0 -0
- /package/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/integration.md +0 -0
- /package/skills/{planning → ck-planning}/references/solution-design.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/attribution.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/collision-zone-thinking.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/inversion-exercise.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/meta-pattern-recognition.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/scale-game.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/simplification-cascades.md +0 -0
- /package/skills/{problem-solving → ck-problem-solving}/references/when-stuck.md +0 -0
- /package/skills/{repomix → ck-repomix}/references/configuration.md +0 -0
- /package/skills/{repomix → ck-repomix}/scripts/repos.example.json +0 -0
- /package/skills/{repomix → ck-repomix}/scripts/requirements.txt +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/.env.example +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/advanced-strategies.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/advanced-techniques.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/core-patterns.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-api.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-architecture.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-debug.md +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/scripts/format-thought.js +0 -0
- /package/skills/{sequential-thinking → ck-sequential-thinking}/scripts/process-thought.js +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/LICENSE.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/ArsenalSC-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Boldonse-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Boldonse-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/DMMono-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/DMMono-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/EricaOne-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/EricaOne-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Gloock-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Gloock-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Italiana-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Italiana-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-Light.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-Medium.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/LibreBaskerville-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PixelifySans-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PoiretOne-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Silkscreen-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/SmoochSans-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-Medium.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Bold.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Italic.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/YoungSerif-OFL.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/canvas-design-system.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/shadcn-accessibility.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/shadcn-components.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/shadcn-theming.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/tailwind-customization.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/tailwind-responsive.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/references/tailwind-utilities.md +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/scripts/requirements.txt +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/scripts/shadcn_add.py +0 -0
- /package/skills/{ui-styling → ck-ui-styling}/scripts/tailwind_config_gen.py +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/accessibility-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/api-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/ci-cd-testing-workflows.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/component-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/contract-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/cross-browser-checklist.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/database-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/e2e-testing-playwright.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/functional-testing-checklist.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/interactive-testing-patterns.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/load-testing-k6.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/mobile-gesture-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/performance-core-web-vitals.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/playwright-component-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/pre-release-checklist.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/report-format.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/security-checklists.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/security-testing-overview.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/shadow-dom-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/test-data-management.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/test-execution-workflow.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/test-flakiness-mitigation.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/testing-pyramid-strategy.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/ui-testing-workflow.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/unit-integration-testing.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/visual-regression.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/references/vulnerability-payloads.md +0 -0
- /package/skills/{web-testing → ck-web-testing}/scripts/analyze-test-results.js +0 -0
- /package/skills/{web-testing → ck-web-testing}/scripts/init-playwright.js +0 -0
- /package/templates/repo/.github/agents/{scout.agent.md → ck-scout.agent.md} +0 -0
- /package/templates/repo/.github/skills/{agent-browser → ck-agent-browser}/references/.gitkeep +0 -0
- /package/templates/repo/.github/skills/{agent-browser → ck-agent-browser}/references/browserbase-cloud-setup.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-api-design.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-architecture.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-authentication.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-code-quality.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-debugging.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-devops.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-mindset.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-performance.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-security.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-technologies.md +0 -0
- /package/templates/repo/.github/skills/{backend-development → ck-backend-development}/references/backend-testing.md +0 -0
- /package/templates/repo/.github/skills/{code-review → ck-code-review}/references/verification-before-completion.md +0 -0
- /package/templates/repo/.github/skills/{common → ck-common}/api_key_rotator.py +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/context-compression.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/context-fundamentals.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/context-optimization.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/evaluation.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/memory-systems.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/multi-agent-patterns.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/project-development.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/references/tool-design.md +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/scripts/compression_evaluator.py +0 -0
- /package/templates/repo/.github/skills/{context-engineering → ck-context-engineering}/scripts/context_analyzer.py +0 -0
- /package/templates/repo/.github/skills/{cook → ck-cook}/references/agent-patterns.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/analytics.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/incremental-etl.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/mongodb-aggregation.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/mongodb-atlas.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/mongodb-crud.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/mongodb-indexing.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/postgresql-administration.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/postgresql-performance.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/postgresql-psql-cli.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/references/postgresql-queries.md +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/scripts/db_backup.py +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/scripts/db_migrate.py +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/scripts/db_performance_check.py +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/scripts/requirements.txt +0 -0
- /package/templates/repo/.github/skills/{databases → ck-databases}/transactional.md +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/references/defense-in-depth.md +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/references/root-cause-tracing.md +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/references/systematic-debugging.md +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/references/verification.md +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/scripts/find-polluter.sh +0 -0
- /package/templates/repo/.github/skills/{debug → ck-debug}/scripts/find-polluter.test.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/.env.example +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/browser-rendering.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-d1-kv.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-platform.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-r2-storage.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-workers-advanced.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-workers-apis.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/cloudflare-workers-basics.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/docker-basics.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/docker-compose.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/gcloud-platform.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/gcloud-services.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-basics.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-helm-advanced.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-helm.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-kubectl.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-security-advanced.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-security.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-troubleshooting-advanced.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-troubleshooting.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-workflows-advanced.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/references/kubernetes-workflows.md +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/scripts/cloudflare_deploy.py +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/scripts/docker_optimize.py +0 -0
- /package/templates/repo/.github/skills/{devops → ck-devops}/scripts/requirements.txt +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/.env.example +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/package.json +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/references/advanced.md +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/references/errors.md +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/scripts/analyze-llms-txt.js +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/scripts/detect-topic.js +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/workflows/repo-analysis.md +0 -0
- /package/templates/repo/.github/skills/{docs-seeker → ck-docs-seeker}/workflows/topic-search.md +0 -0
- /package/templates/repo/.github/skills/{fix → ck-fix}/references/workflow-types.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/analysis-best-practices.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/analysis-prompts.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/analysis-techniques.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/animejs.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/design-extraction-overview.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/extraction-best-practices.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/extraction-output-templates.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/extraction-prompts.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/technical-accessibility.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/technical-best-practices.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/technical-optimization.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/technical-overview.md +0 -0
- /package/templates/repo/.github/skills/{frontend-design → ck-frontend-design}/references/technical-workflows.md +0 -0
- /package/templates/repo/.github/skills/{git → ck-git}/references/branch-management.md +0 -0
- /package/templates/repo/.github/skills/{git → ck-git}/references/gh-cli-guide.md +0 -0
- /package/templates/repo/.github/skills/{git → ck-git}/references/safety-protocols.md +0 -0
- /package/templates/repo/.github/skills/{mcp-management → ck-mcp-management}/references/mcp-protocol.md +0 -0
- /package/templates/repo/.github/skills/{mcp-management → ck-mcp-management}/scripts/cli.ts +0 -0
- /package/templates/repo/.github/skills/{mcp-management → ck-mcp-management}/scripts/package.json +0 -0
- /package/templates/repo/.github/skills/{mcp-management → ck-mcp-management}/scripts/tsconfig.json +0 -0
- /package/templates/repo/.github/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/cli-usage.md +0 -0
- /package/templates/repo/.github/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/configuration.md +0 -0
- /package/templates/repo/.github/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/diagram-types.md +0 -0
- /package/templates/repo/.github/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/examples.md +0 -0
- /package/templates/repo/.github/skills/{mermaidjs-v11 → ck-mermaidjs-v11}/references/integration.md +0 -0
- /package/templates/repo/.github/skills/{planning → ck-planning}/references/solution-design.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/attribution.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/collision-zone-thinking.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/inversion-exercise.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/meta-pattern-recognition.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/scale-game.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/simplification-cascades.md +0 -0
- /package/templates/repo/.github/skills/{problem-solving → ck-problem-solving}/references/when-stuck.md +0 -0
- /package/templates/repo/.github/skills/{repomix → ck-repomix}/references/configuration.md +0 -0
- /package/templates/repo/.github/skills/{repomix → ck-repomix}/scripts/repos.example.json +0 -0
- /package/templates/repo/.github/skills/{repomix → ck-repomix}/scripts/requirements.txt +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/.env.example +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/advanced-strategies.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/advanced-techniques.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/core-patterns.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-api.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-architecture.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/references/examples-debug.md +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/scripts/format-thought.js +0 -0
- /package/templates/repo/.github/skills/{sequential-thinking → ck-sequential-thinking}/scripts/process-thought.js +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/ArsenalSC-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Boldonse-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Boldonse-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/DMMono-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/DMMono-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/EricaOne-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/EricaOne-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/GeistMono-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Gloock-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Gloock-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Italiana-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Italiana-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-Light.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-Medium.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Jura-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/LibreBaskerville-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Lora-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NationalPark-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NothingYouCouldDo-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Outfit-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PixelifySans-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PoiretOne-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Silkscreen-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/SmoochSans-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-Medium.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/Tektur-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Bold.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Italic.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/WorkSans-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/YoungSerif-OFL.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/canvas-design-system.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/shadcn-accessibility.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/shadcn-components.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/shadcn-theming.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/tailwind-customization.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/tailwind-responsive.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/references/tailwind-utilities.md +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/scripts/requirements.txt +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/scripts/shadcn_add.py +0 -0
- /package/templates/repo/.github/skills/{ui-styling → ck-ui-styling}/scripts/tailwind_config_gen.py +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/accessibility-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/api-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/ci-cd-testing-workflows.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/component-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/contract-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/cross-browser-checklist.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/database-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/e2e-testing-playwright.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/functional-testing-checklist.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/interactive-testing-patterns.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/load-testing-k6.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/mobile-gesture-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/performance-core-web-vitals.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/playwright-component-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/pre-release-checklist.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/report-format.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/security-checklists.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/security-testing-overview.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/shadow-dom-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/test-data-management.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/test-execution-workflow.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/test-flakiness-mitigation.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/testing-pyramid-strategy.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/ui-testing-workflow.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/unit-integration-testing.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/visual-regression.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/references/vulnerability-payloads.md +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/scripts/analyze-test-results.js +0 -0
- /package/templates/repo/.github/skills/{web-testing → ck-web-testing}/scripts/init-playwright.js +0 -0
|
@@ -0,0 +1,767 @@
|
|
|
1
|
+
# Data Fetching Patterns
|
|
2
|
+
|
|
3
|
+
Modern data fetching using TanStack Query with Suspense boundaries, cache-first strategies, and centralized API services.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## PRIMARY PATTERN: useSuspenseQuery
|
|
8
|
+
|
|
9
|
+
### Why useSuspenseQuery?
|
|
10
|
+
|
|
11
|
+
For **all new components**, use `useSuspenseQuery` instead of regular `useQuery`:
|
|
12
|
+
|
|
13
|
+
**Benefits:**
|
|
14
|
+
- No `isLoading` checks needed
|
|
15
|
+
- Integrates with Suspense boundaries
|
|
16
|
+
- Cleaner component code
|
|
17
|
+
- Consistent loading UX
|
|
18
|
+
- Better error handling with error boundaries
|
|
19
|
+
|
|
20
|
+
### Basic Pattern
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { useSuspenseQuery } from '@tanstack/react-query';
|
|
24
|
+
import { myFeatureApi } from '../api/myFeatureApi';
|
|
25
|
+
|
|
26
|
+
export const MyComponent: React.FC<Props> = ({ id }) => {
|
|
27
|
+
// No isLoading - Suspense handles it!
|
|
28
|
+
const { data } = useSuspenseQuery({
|
|
29
|
+
queryKey: ['myEntity', id],
|
|
30
|
+
queryFn: () => myFeatureApi.getEntity(id),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
// data is ALWAYS defined here (not undefined | Data)
|
|
34
|
+
return <div>{data.name}</div>;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// Wrap in Suspense boundary
|
|
38
|
+
<SuspenseLoader>
|
|
39
|
+
<MyComponent id={123} />
|
|
40
|
+
</SuspenseLoader>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### useSuspenseQuery vs useQuery
|
|
44
|
+
|
|
45
|
+
| Feature | useSuspenseQuery | useQuery |
|
|
46
|
+
|---------|------------------|----------|
|
|
47
|
+
| Loading state | Handled by Suspense | Manual `isLoading` check |
|
|
48
|
+
| Data type | Always defined | `Data \| undefined` |
|
|
49
|
+
| Use with | Suspense boundaries | Traditional components |
|
|
50
|
+
| Recommended for | **NEW components** | Legacy code only |
|
|
51
|
+
| Error handling | Error boundaries | Manual error state |
|
|
52
|
+
|
|
53
|
+
**When to use regular useQuery:**
|
|
54
|
+
- Maintaining legacy code
|
|
55
|
+
- Very simple cases without Suspense
|
|
56
|
+
- Polling with background updates
|
|
57
|
+
|
|
58
|
+
**For new components: Always prefer useSuspenseQuery**
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## Cache-First Strategy
|
|
63
|
+
|
|
64
|
+
### Cache-First Pattern Example
|
|
65
|
+
|
|
66
|
+
**Smart caching** reduces API calls by checking React Query cache first:
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { useSuspenseQuery, useQueryClient } from '@tanstack/react-query';
|
|
70
|
+
import { postApi } from '../api/postApi';
|
|
71
|
+
|
|
72
|
+
export function useSuspensePost(postId: number) {
|
|
73
|
+
const queryClient = useQueryClient();
|
|
74
|
+
|
|
75
|
+
return useSuspenseQuery({
|
|
76
|
+
queryKey: ['post', postId],
|
|
77
|
+
queryFn: async () => {
|
|
78
|
+
// Strategy 1: Try to get from list cache first
|
|
79
|
+
const cachedListData = queryClient.getQueryData<{ posts: Post[] }>([
|
|
80
|
+
'posts',
|
|
81
|
+
'list'
|
|
82
|
+
]);
|
|
83
|
+
|
|
84
|
+
if (cachedListData?.posts) {
|
|
85
|
+
const cachedPost = cachedListData.posts.find(
|
|
86
|
+
(post) => post.id === postId
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
if (cachedPost) {
|
|
90
|
+
return cachedPost; // Return from cache!
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
// Strategy 2: Not in cache, fetch from API
|
|
95
|
+
return postApi.getPost(postId);
|
|
96
|
+
},
|
|
97
|
+
staleTime: 5 * 60 * 1000, // Consider fresh for 5 minutes
|
|
98
|
+
gcTime: 10 * 60 * 1000, // Keep in cache for 10 minutes
|
|
99
|
+
refetchOnWindowFocus: false, // Don't refetch on focus
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
**Key Points:**
|
|
105
|
+
- Check grid/list cache before API call
|
|
106
|
+
- Avoids redundant requests
|
|
107
|
+
- `staleTime`: How long data is considered fresh
|
|
108
|
+
- `gcTime`: How long unused data stays in cache
|
|
109
|
+
- `refetchOnWindowFocus: false`: User preference
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## Parallel Data Fetching
|
|
114
|
+
|
|
115
|
+
### useSuspenseQueries
|
|
116
|
+
|
|
117
|
+
When fetching multiple independent resources:
|
|
118
|
+
|
|
119
|
+
```typescript
|
|
120
|
+
import { useSuspenseQueries } from '@tanstack/react-query';
|
|
121
|
+
|
|
122
|
+
export const MyComponent: React.FC = () => {
|
|
123
|
+
const [userQuery, settingsQuery, preferencesQuery] = useSuspenseQueries({
|
|
124
|
+
queries: [
|
|
125
|
+
{
|
|
126
|
+
queryKey: ['user'],
|
|
127
|
+
queryFn: () => userApi.getCurrentUser(),
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
queryKey: ['settings'],
|
|
131
|
+
queryFn: () => settingsApi.getSettings(),
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
queryKey: ['preferences'],
|
|
135
|
+
queryFn: () => preferencesApi.getPreferences(),
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
// All data available, Suspense handles loading
|
|
141
|
+
const user = userQuery.data;
|
|
142
|
+
const settings = settingsQuery.data;
|
|
143
|
+
const preferences = preferencesQuery.data;
|
|
144
|
+
|
|
145
|
+
return <Display user={user} settings={settings} prefs={preferences} />;
|
|
146
|
+
};
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
**Benefits:**
|
|
150
|
+
- All queries in parallel
|
|
151
|
+
- Single Suspense boundary
|
|
152
|
+
- Type-safe results
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Query Keys Organization
|
|
157
|
+
|
|
158
|
+
### Naming Convention
|
|
159
|
+
|
|
160
|
+
```typescript
|
|
161
|
+
// Entity list
|
|
162
|
+
['entities', blogId]
|
|
163
|
+
['entities', blogId, 'summary'] // With view mode
|
|
164
|
+
['entities', blogId, 'flat']
|
|
165
|
+
|
|
166
|
+
// Single entity
|
|
167
|
+
['entity', blogId, entityId]
|
|
168
|
+
|
|
169
|
+
// Related data
|
|
170
|
+
['entity', entityId, 'history']
|
|
171
|
+
['entity', entityId, 'comments']
|
|
172
|
+
|
|
173
|
+
// User-specific
|
|
174
|
+
['user', userId, 'profile']
|
|
175
|
+
['user', userId, 'permissions']
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
**Rules:**
|
|
179
|
+
- Start with entity name (plural for lists, singular for one)
|
|
180
|
+
- Include IDs for specificity
|
|
181
|
+
- Add view mode / relationship at end
|
|
182
|
+
- Consistent across app
|
|
183
|
+
|
|
184
|
+
### Query Key Examples
|
|
185
|
+
|
|
186
|
+
```typescript
|
|
187
|
+
// From useSuspensePost.ts
|
|
188
|
+
queryKey: ['post', blogId, postId]
|
|
189
|
+
queryKey: ['posts-v2', blogId, 'summary']
|
|
190
|
+
|
|
191
|
+
// Invalidation patterns
|
|
192
|
+
queryClient.invalidateQueries({ queryKey: ['post', blogId] }); // All posts for form
|
|
193
|
+
queryClient.invalidateQueries({ queryKey: ['post'] }); // All posts
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## API Service Layer Pattern
|
|
199
|
+
|
|
200
|
+
### File Structure
|
|
201
|
+
|
|
202
|
+
Create centralized API service per feature:
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
features/
|
|
206
|
+
my-feature/
|
|
207
|
+
api/
|
|
208
|
+
myFeatureApi.ts # Service layer
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Service Pattern (from postApi.ts)
|
|
212
|
+
|
|
213
|
+
```typescript
|
|
214
|
+
/**
|
|
215
|
+
* Centralized API service for my-feature operations
|
|
216
|
+
* Uses apiClient for consistent error handling
|
|
217
|
+
*/
|
|
218
|
+
import apiClient from '@/lib/apiClient';
|
|
219
|
+
import type { MyEntity, UpdatePayload } from '../types';
|
|
220
|
+
|
|
221
|
+
export const myFeatureApi = {
|
|
222
|
+
/**
|
|
223
|
+
* Fetch a single entity
|
|
224
|
+
*/
|
|
225
|
+
getEntity: async (blogId: number, entityId: number): Promise<MyEntity> => {
|
|
226
|
+
const { data } = await apiClient.get(
|
|
227
|
+
`/blog/entities/${blogId}/${entityId}`
|
|
228
|
+
);
|
|
229
|
+
return data;
|
|
230
|
+
},
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Fetch all entities for a form
|
|
234
|
+
*/
|
|
235
|
+
getEntities: async (blogId: number, view: 'summary' | 'flat'): Promise<MyEntity[]> => {
|
|
236
|
+
const { data } = await apiClient.get(
|
|
237
|
+
`/blog/entities/${blogId}`,
|
|
238
|
+
{ params: { view } }
|
|
239
|
+
);
|
|
240
|
+
return data.rows;
|
|
241
|
+
},
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Update entity
|
|
245
|
+
*/
|
|
246
|
+
updateEntity: async (
|
|
247
|
+
blogId: number,
|
|
248
|
+
entityId: number,
|
|
249
|
+
payload: UpdatePayload
|
|
250
|
+
): Promise<MyEntity> => {
|
|
251
|
+
const { data } = await apiClient.put(
|
|
252
|
+
`/blog/entities/${blogId}/${entityId}`,
|
|
253
|
+
payload
|
|
254
|
+
);
|
|
255
|
+
return data;
|
|
256
|
+
},
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Delete entity
|
|
260
|
+
*/
|
|
261
|
+
deleteEntity: async (blogId: number, entityId: number): Promise<void> => {
|
|
262
|
+
await apiClient.delete(`/blog/entities/${blogId}/${entityId}`);
|
|
263
|
+
},
|
|
264
|
+
};
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
**Key Points:**
|
|
268
|
+
- Export single object with methods
|
|
269
|
+
- Use `apiClient` (axios instance from `@/lib/apiClient`)
|
|
270
|
+
- Type-safe parameters and returns
|
|
271
|
+
- JSDoc comments for each method
|
|
272
|
+
- Centralized error handling (apiClient handles it)
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Route Format Rules (IMPORTANT)
|
|
277
|
+
|
|
278
|
+
### Correct Format
|
|
279
|
+
|
|
280
|
+
```typescript
|
|
281
|
+
// ✅ CORRECT - Direct service path
|
|
282
|
+
await apiClient.get('/blog/posts/123');
|
|
283
|
+
await apiClient.post('/projects/create', data);
|
|
284
|
+
await apiClient.put('/users/update/456', updates);
|
|
285
|
+
await apiClient.get('/email/templates');
|
|
286
|
+
|
|
287
|
+
// ❌ WRONG - Do NOT add /api/ prefix
|
|
288
|
+
await apiClient.get('/api/blog/posts/123'); // WRONG!
|
|
289
|
+
await apiClient.post('/api/projects/create', data); // WRONG!
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
**Microservice Routing:**
|
|
293
|
+
- Form service: `/blog/*`
|
|
294
|
+
- Projects service: `/projects/*`
|
|
295
|
+
- Email service: `/email/*`
|
|
296
|
+
- Users service: `/users/*`
|
|
297
|
+
|
|
298
|
+
**Why:** API routing is handled by proxy configuration, no `/api/` prefix needed.
|
|
299
|
+
|
|
300
|
+
---
|
|
301
|
+
|
|
302
|
+
## Mutations
|
|
303
|
+
|
|
304
|
+
### Basic Mutation Pattern
|
|
305
|
+
|
|
306
|
+
```typescript
|
|
307
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
308
|
+
import { myFeatureApi } from '../api/myFeatureApi';
|
|
309
|
+
import { useMuiSnackbar } from '@/hooks/useMuiSnackbar';
|
|
310
|
+
|
|
311
|
+
export const MyComponent: React.FC = () => {
|
|
312
|
+
const queryClient = useQueryClient();
|
|
313
|
+
const { showSuccess, showError } = useMuiSnackbar();
|
|
314
|
+
|
|
315
|
+
const updateMutation = useMutation({
|
|
316
|
+
mutationFn: (payload: UpdatePayload) =>
|
|
317
|
+
myFeatureApi.updateEntity(blogId, entityId, payload),
|
|
318
|
+
|
|
319
|
+
onSuccess: () => {
|
|
320
|
+
// Invalidate and refetch
|
|
321
|
+
queryClient.invalidateQueries({
|
|
322
|
+
queryKey: ['entity', blogId, entityId]
|
|
323
|
+
});
|
|
324
|
+
showSuccess('Entity updated successfully');
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
onError: (error) => {
|
|
328
|
+
showError('Failed to update entity');
|
|
329
|
+
console.error('Update error:', error);
|
|
330
|
+
},
|
|
331
|
+
});
|
|
332
|
+
|
|
333
|
+
const handleUpdate = () => {
|
|
334
|
+
updateMutation.mutate({ name: 'New Name' });
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
return (
|
|
338
|
+
<Button
|
|
339
|
+
onClick={handleUpdate}
|
|
340
|
+
disabled={updateMutation.isPending}
|
|
341
|
+
>
|
|
342
|
+
{updateMutation.isPending ? 'Updating...' : 'Update'}
|
|
343
|
+
</Button>
|
|
344
|
+
);
|
|
345
|
+
};
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
### Optimistic Updates
|
|
349
|
+
|
|
350
|
+
```typescript
|
|
351
|
+
const updateMutation = useMutation({
|
|
352
|
+
mutationFn: (payload) => myFeatureApi.update(id, payload),
|
|
353
|
+
|
|
354
|
+
// Optimistic update
|
|
355
|
+
onMutate: async (newData) => {
|
|
356
|
+
// Cancel outgoing refetches
|
|
357
|
+
await queryClient.cancelQueries({ queryKey: ['entity', id] });
|
|
358
|
+
|
|
359
|
+
// Snapshot current value
|
|
360
|
+
const previousData = queryClient.getQueryData(['entity', id]);
|
|
361
|
+
|
|
362
|
+
// Optimistically update
|
|
363
|
+
queryClient.setQueryData(['entity', id], (old) => ({
|
|
364
|
+
...old,
|
|
365
|
+
...newData,
|
|
366
|
+
}));
|
|
367
|
+
|
|
368
|
+
// Return rollback function
|
|
369
|
+
return { previousData };
|
|
370
|
+
},
|
|
371
|
+
|
|
372
|
+
// Rollback on error
|
|
373
|
+
onError: (err, newData, context) => {
|
|
374
|
+
queryClient.setQueryData(['entity', id], context.previousData);
|
|
375
|
+
showError('Update failed');
|
|
376
|
+
},
|
|
377
|
+
|
|
378
|
+
// Refetch after success or error
|
|
379
|
+
onSettled: () => {
|
|
380
|
+
queryClient.invalidateQueries({ queryKey: ['entity', id] });
|
|
381
|
+
},
|
|
382
|
+
});
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
387
|
+
## Advanced Query Patterns
|
|
388
|
+
|
|
389
|
+
### Prefetching
|
|
390
|
+
|
|
391
|
+
```typescript
|
|
392
|
+
export function usePrefetchEntity() {
|
|
393
|
+
const queryClient = useQueryClient();
|
|
394
|
+
|
|
395
|
+
return (blogId: number, entityId: number) => {
|
|
396
|
+
return queryClient.prefetchQuery({
|
|
397
|
+
queryKey: ['entity', blogId, entityId],
|
|
398
|
+
queryFn: () => myFeatureApi.getEntity(blogId, entityId),
|
|
399
|
+
staleTime: 5 * 60 * 1000,
|
|
400
|
+
});
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Usage: Prefetch on hover
|
|
405
|
+
<div onMouseEnter={() => prefetch(blogId, id)}>
|
|
406
|
+
<Link to={`/entity/${id}`}>View</Link>
|
|
407
|
+
</div>
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
### Cache Access Without Fetching
|
|
411
|
+
|
|
412
|
+
```typescript
|
|
413
|
+
export function useEntityFromCache(blogId: number, entityId: number) {
|
|
414
|
+
const queryClient = useQueryClient();
|
|
415
|
+
|
|
416
|
+
// Get from cache, don't fetch if missing
|
|
417
|
+
const directCache = queryClient.getQueryData<MyEntity>(['entity', blogId, entityId]);
|
|
418
|
+
|
|
419
|
+
if (directCache) return directCache;
|
|
420
|
+
|
|
421
|
+
// Try grid cache
|
|
422
|
+
const gridCache = queryClient.getQueryData<{ rows: MyEntity[] }>(['entities-v2', blogId]);
|
|
423
|
+
|
|
424
|
+
return gridCache?.rows.find(row => row.id === entityId);
|
|
425
|
+
}
|
|
426
|
+
```
|
|
427
|
+
|
|
428
|
+
### Dependent Queries
|
|
429
|
+
|
|
430
|
+
```typescript
|
|
431
|
+
// Fetch user first, then user's settings
|
|
432
|
+
const { data: user } = useSuspenseQuery({
|
|
433
|
+
queryKey: ['user', userId],
|
|
434
|
+
queryFn: () => userApi.getUser(userId),
|
|
435
|
+
});
|
|
436
|
+
|
|
437
|
+
const { data: settings } = useSuspenseQuery({
|
|
438
|
+
queryKey: ['user', userId, 'settings'],
|
|
439
|
+
queryFn: () => settingsApi.getUserSettings(user.id),
|
|
440
|
+
// Automatically waits for user to load due to Suspense
|
|
441
|
+
});
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
## API Client Configuration
|
|
447
|
+
|
|
448
|
+
### Using apiClient
|
|
449
|
+
|
|
450
|
+
```typescript
|
|
451
|
+
import apiClient from '@/lib/apiClient';
|
|
452
|
+
|
|
453
|
+
// apiClient is a configured axios instance
|
|
454
|
+
// Automatically includes:
|
|
455
|
+
// - Base URL configuration
|
|
456
|
+
// - Cookie-based authentication
|
|
457
|
+
// - Error interceptors
|
|
458
|
+
// - Response transformers
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
**Do NOT create new axios instances** - use apiClient for consistency.
|
|
462
|
+
|
|
463
|
+
---
|
|
464
|
+
|
|
465
|
+
## Error Handling in Queries
|
|
466
|
+
|
|
467
|
+
### onError Callback
|
|
468
|
+
|
|
469
|
+
```typescript
|
|
470
|
+
import { useMuiSnackbar } from '@/hooks/useMuiSnackbar';
|
|
471
|
+
|
|
472
|
+
const { showError } = useMuiSnackbar();
|
|
473
|
+
|
|
474
|
+
const { data } = useSuspenseQuery({
|
|
475
|
+
queryKey: ['entity', id],
|
|
476
|
+
queryFn: () => myFeatureApi.getEntity(id),
|
|
477
|
+
|
|
478
|
+
// Handle errors
|
|
479
|
+
onError: (error) => {
|
|
480
|
+
showError('Failed to load entity');
|
|
481
|
+
console.error('Load error:', error);
|
|
482
|
+
},
|
|
483
|
+
});
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### Error Boundaries
|
|
487
|
+
|
|
488
|
+
Combine with Error Boundaries for comprehensive error handling:
|
|
489
|
+
|
|
490
|
+
```typescript
|
|
491
|
+
import { ErrorBoundary } from 'react-error-boundary';
|
|
492
|
+
|
|
493
|
+
<ErrorBoundary
|
|
494
|
+
fallback={<ErrorDisplay />}
|
|
495
|
+
onError={(error) => console.error(error)}
|
|
496
|
+
>
|
|
497
|
+
<SuspenseLoader>
|
|
498
|
+
<ComponentWithSuspenseQuery />
|
|
499
|
+
</SuspenseLoader>
|
|
500
|
+
</ErrorBoundary>
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
---
|
|
504
|
+
|
|
505
|
+
## Complete Examples
|
|
506
|
+
|
|
507
|
+
### Example 1: Simple Entity Fetch
|
|
508
|
+
|
|
509
|
+
```typescript
|
|
510
|
+
import React from 'react';
|
|
511
|
+
import { useSuspenseQuery } from '@tanstack/react-query';
|
|
512
|
+
import { Box, Typography } from '@mui/material';
|
|
513
|
+
import { userApi } from '../api/userApi';
|
|
514
|
+
|
|
515
|
+
interface UserProfileProps {
|
|
516
|
+
userId: string;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export const UserProfile: React.FC<UserProfileProps> = ({ userId }) => {
|
|
520
|
+
const { data: user } = useSuspenseQuery({
|
|
521
|
+
queryKey: ['user', userId],
|
|
522
|
+
queryFn: () => userApi.getUser(userId),
|
|
523
|
+
staleTime: 5 * 60 * 1000,
|
|
524
|
+
});
|
|
525
|
+
|
|
526
|
+
return (
|
|
527
|
+
<Box>
|
|
528
|
+
<Typography variant='h5'>{user.name}</Typography>
|
|
529
|
+
<Typography>{user.email}</Typography>
|
|
530
|
+
</Box>
|
|
531
|
+
);
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
// Usage with Suspense
|
|
535
|
+
<SuspenseLoader>
|
|
536
|
+
<UserProfile userId='123' />
|
|
537
|
+
</SuspenseLoader>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
### Example 2: Cache-First Strategy
|
|
541
|
+
|
|
542
|
+
```typescript
|
|
543
|
+
import { useSuspenseQuery, useQueryClient } from '@tanstack/react-query';
|
|
544
|
+
import { postApi } from '../api/postApi';
|
|
545
|
+
import type { Post } from '../types';
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Hook with cache-first strategy
|
|
549
|
+
* Checks grid cache before API call
|
|
550
|
+
*/
|
|
551
|
+
export function useSuspensePost(blogId: number, postId: number) {
|
|
552
|
+
const queryClient = useQueryClient();
|
|
553
|
+
|
|
554
|
+
return useSuspenseQuery<Post, Error>({
|
|
555
|
+
queryKey: ['post', blogId, postId],
|
|
556
|
+
queryFn: async () => {
|
|
557
|
+
// 1. Check grid cache first
|
|
558
|
+
const gridCache = queryClient.getQueryData<{ rows: Post[] }>([
|
|
559
|
+
'posts-v2',
|
|
560
|
+
blogId,
|
|
561
|
+
'summary'
|
|
562
|
+
]) || queryClient.getQueryData<{ rows: Post[] }>([
|
|
563
|
+
'posts-v2',
|
|
564
|
+
blogId,
|
|
565
|
+
'flat'
|
|
566
|
+
]);
|
|
567
|
+
|
|
568
|
+
if (gridCache?.rows) {
|
|
569
|
+
const cached = gridCache.rows.find(row => row.S_ID === postId);
|
|
570
|
+
if (cached) {
|
|
571
|
+
return cached; // Reuse grid data
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
// 2. Not in cache, fetch directly
|
|
576
|
+
return postApi.getPost(blogId, postId);
|
|
577
|
+
},
|
|
578
|
+
staleTime: 5 * 60 * 1000,
|
|
579
|
+
gcTime: 10 * 60 * 1000,
|
|
580
|
+
refetchOnWindowFocus: false,
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
```
|
|
584
|
+
|
|
585
|
+
**Benefits:**
|
|
586
|
+
- Avoids duplicate API calls
|
|
587
|
+
- Instant data if already loaded
|
|
588
|
+
- Falls back to API if not cached
|
|
589
|
+
|
|
590
|
+
### Example 3: Parallel Fetching
|
|
591
|
+
|
|
592
|
+
```typescript
|
|
593
|
+
import { useSuspenseQueries } from '@tanstack/react-query';
|
|
594
|
+
|
|
595
|
+
export const Dashboard: React.FC = () => {
|
|
596
|
+
const [statsQuery, projectsQuery, notificationsQuery] = useSuspenseQueries({
|
|
597
|
+
queries: [
|
|
598
|
+
{
|
|
599
|
+
queryKey: ['stats'],
|
|
600
|
+
queryFn: () => statsApi.getStats(),
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
queryKey: ['projects', 'active'],
|
|
604
|
+
queryFn: () => projectsApi.getActiveProjects(),
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
queryKey: ['notifications', 'unread'],
|
|
608
|
+
queryFn: () => notificationsApi.getUnread(),
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
});
|
|
612
|
+
|
|
613
|
+
return (
|
|
614
|
+
<Box>
|
|
615
|
+
<StatsCard data={statsQuery.data} />
|
|
616
|
+
<ProjectsList projects={projectsQuery.data} />
|
|
617
|
+
<Notifications items={notificationsQuery.data} />
|
|
618
|
+
</Box>
|
|
619
|
+
);
|
|
620
|
+
};
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
## Mutations with Cache Invalidation
|
|
626
|
+
|
|
627
|
+
### Update Mutation
|
|
628
|
+
|
|
629
|
+
```typescript
|
|
630
|
+
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
631
|
+
import { postApi } from '../api/postApi';
|
|
632
|
+
import { useMuiSnackbar } from '@/hooks/useMuiSnackbar';
|
|
633
|
+
|
|
634
|
+
export const useUpdatePost = () => {
|
|
635
|
+
const queryClient = useQueryClient();
|
|
636
|
+
const { showSuccess, showError } = useMuiSnackbar();
|
|
637
|
+
|
|
638
|
+
return useMutation({
|
|
639
|
+
mutationFn: ({ blogId, postId, data }: UpdateParams) =>
|
|
640
|
+
postApi.updatePost(blogId, postId, data),
|
|
641
|
+
|
|
642
|
+
onSuccess: (data, variables) => {
|
|
643
|
+
// Invalidate specific post
|
|
644
|
+
queryClient.invalidateQueries({
|
|
645
|
+
queryKey: ['post', variables.blogId, variables.postId]
|
|
646
|
+
});
|
|
647
|
+
|
|
648
|
+
// Invalidate list to refresh grid
|
|
649
|
+
queryClient.invalidateQueries({
|
|
650
|
+
queryKey: ['posts-v2', variables.blogId]
|
|
651
|
+
});
|
|
652
|
+
|
|
653
|
+
showSuccess('Post updated');
|
|
654
|
+
},
|
|
655
|
+
|
|
656
|
+
onError: (error) => {
|
|
657
|
+
showError('Failed to update post');
|
|
658
|
+
console.error('Update error:', error);
|
|
659
|
+
},
|
|
660
|
+
});
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
// Usage
|
|
664
|
+
const updatePost = useUpdatePost();
|
|
665
|
+
|
|
666
|
+
const handleSave = () => {
|
|
667
|
+
updatePost.mutate({
|
|
668
|
+
blogId: 123,
|
|
669
|
+
postId: 456,
|
|
670
|
+
data: { responses: { '101': 'value' } }
|
|
671
|
+
});
|
|
672
|
+
};
|
|
673
|
+
```
|
|
674
|
+
|
|
675
|
+
### Delete Mutation
|
|
676
|
+
|
|
677
|
+
```typescript
|
|
678
|
+
export const useDeletePost = () => {
|
|
679
|
+
const queryClient = useQueryClient();
|
|
680
|
+
const { showSuccess, showError } = useMuiSnackbar();
|
|
681
|
+
|
|
682
|
+
return useMutation({
|
|
683
|
+
mutationFn: ({ blogId, postId }: DeleteParams) =>
|
|
684
|
+
postApi.deletePost(blogId, postId),
|
|
685
|
+
|
|
686
|
+
onSuccess: (data, variables) => {
|
|
687
|
+
// Remove from cache manually (optimistic)
|
|
688
|
+
queryClient.setQueryData<{ rows: Post[] }>(
|
|
689
|
+
['posts-v2', variables.blogId],
|
|
690
|
+
(old) => ({
|
|
691
|
+
...old,
|
|
692
|
+
rows: old?.rows.filter(row => row.S_ID !== variables.postId) || []
|
|
693
|
+
})
|
|
694
|
+
);
|
|
695
|
+
|
|
696
|
+
showSuccess('Post deleted');
|
|
697
|
+
},
|
|
698
|
+
|
|
699
|
+
onError: (error, variables) => {
|
|
700
|
+
// Rollback - refetch to get accurate state
|
|
701
|
+
queryClient.invalidateQueries({
|
|
702
|
+
queryKey: ['posts-v2', variables.blogId]
|
|
703
|
+
});
|
|
704
|
+
showError('Failed to delete post');
|
|
705
|
+
},
|
|
706
|
+
});
|
|
707
|
+
};
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
---
|
|
711
|
+
|
|
712
|
+
## Query Configuration Best Practices
|
|
713
|
+
|
|
714
|
+
### Default Configuration
|
|
715
|
+
|
|
716
|
+
```typescript
|
|
717
|
+
// In QueryClientProvider setup
|
|
718
|
+
const queryClient = new QueryClient({
|
|
719
|
+
defaultOptions: {
|
|
720
|
+
queries: {
|
|
721
|
+
staleTime: 1000 * 60 * 5, // 5 minutes
|
|
722
|
+
gcTime: 1000 * 60 * 10, // 10 minutes (was cacheTime)
|
|
723
|
+
refetchOnWindowFocus: false, // Don't refetch on focus
|
|
724
|
+
refetchOnMount: false, // Don't refetch on mount if fresh
|
|
725
|
+
retry: 1, // Retry failed queries once
|
|
726
|
+
},
|
|
727
|
+
},
|
|
728
|
+
});
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
### Per-Query Overrides
|
|
732
|
+
|
|
733
|
+
```typescript
|
|
734
|
+
// Frequently changing data - shorter staleTime
|
|
735
|
+
useSuspenseQuery({
|
|
736
|
+
queryKey: ['notifications', 'unread'],
|
|
737
|
+
queryFn: () => notificationApi.getUnread(),
|
|
738
|
+
staleTime: 30 * 1000, // 30 seconds
|
|
739
|
+
});
|
|
740
|
+
|
|
741
|
+
// Rarely changing data - longer staleTime
|
|
742
|
+
useSuspenseQuery({
|
|
743
|
+
queryKey: ['form', blogId, 'structure'],
|
|
744
|
+
queryFn: () => formApi.getStructure(blogId),
|
|
745
|
+
staleTime: 30 * 60 * 1000, // 30 minutes
|
|
746
|
+
});
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
---
|
|
750
|
+
|
|
751
|
+
## Summary
|
|
752
|
+
|
|
753
|
+
**Modern Data Fetching Recipe:**
|
|
754
|
+
|
|
755
|
+
1. **Create API Service**: `features/X/api/XApi.ts` using apiClient
|
|
756
|
+
2. **Use useSuspenseQuery**: In components wrapped by SuspenseLoader
|
|
757
|
+
3. **Cache-First**: Check grid cache before API call
|
|
758
|
+
4. **Query Keys**: Consistent naming ['entity', id]
|
|
759
|
+
5. **Route Format**: `/blog/route` NOT `/api/blog/route`
|
|
760
|
+
6. **Mutations**: invalidateQueries after success
|
|
761
|
+
7. **Error Handling**: onError + useMuiSnackbar
|
|
762
|
+
8. **Type Safety**: Type all parameters and returns
|
|
763
|
+
|
|
764
|
+
**See Also:**
|
|
765
|
+
- [component-patterns.md](component-patterns.md) - Suspense integration
|
|
766
|
+
- [loading-and-error-states.md](loading-and-error-states.md) - SuspenseLoader usage
|
|
767
|
+
- [complete-examples.md](complete-examples.md) - Full working examples
|