cokit-cli 1.0.4 → 1.0.5
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/package.json +1 -1
- package/templates/repo/.github/instructions/ck-backend.instructions.md +28 -15
- package/templates/repo/.github/instructions/ck-development.instructions.md +15 -0
- package/templates/repo/.github/instructions/ck-frontend-design-pro.instructions.md +58 -0
- package/templates/repo/.github/instructions/ck-frontend.instructions.md +20 -7
- package/templates/repo/.github/instructions/ck-google-adk-python.instructions.md +242 -0
- package/templates/repo/.github/instructions/ck-research.instructions.md +167 -0
- package/templates/repo/.github/instructions/ck-testing.instructions.md +18 -13
- package/templates/repo/.github/prompts/ck-ask.prompt.md +57 -0
- package/templates/repo/.github/prompts/ck-bootstrap-auto-fast.prompt.md +108 -0
- package/templates/repo/.github/prompts/ck-bootstrap-auto-parallel.prompt.md +66 -0
- package/templates/repo/.github/prompts/ck-bootstrap-auto.prompt.md +114 -0
- package/templates/repo/.github/prompts/ck-bootstrap.prompt.md +136 -0
- package/templates/repo/.github/prompts/ck-brainstorm.prompt.md +68 -0
- package/templates/repo/.github/prompts/ck-ck-help.prompt.md +114 -0
- package/templates/repo/.github/prompts/ck-code-auto.prompt.md +171 -0
- package/templates/repo/.github/prompts/ck-code-no-test.prompt.md +159 -0
- package/templates/repo/.github/prompts/ck-code-parallel.prompt.md +56 -0
- package/templates/repo/.github/prompts/ck-code.prompt.md +167 -18
- package/templates/repo/.github/prompts/ck-coding-level.prompt.md +54 -0
- package/templates/repo/.github/prompts/ck-cook-auto-fast.prompt.md +26 -0
- package/templates/repo/.github/prompts/ck-cook-auto-parallel.prompt.md +49 -0
- package/templates/repo/.github/prompts/ck-cook-auto.prompt.md +15 -0
- package/templates/repo/.github/prompts/ck-cook.prompt.md +96 -0
- package/templates/repo/.github/prompts/ck-debug.prompt.md +14 -0
- package/templates/repo/.github/prompts/ck-design-3d.prompt.md +84 -0
- package/templates/repo/.github/prompts/ck-design-describe.prompt.md +24 -0
- package/templates/repo/.github/prompts/ck-design-fast.prompt.md +32 -0
- package/templates/repo/.github/prompts/ck-design-good.prompt.md +36 -0
- package/templates/repo/.github/prompts/ck-design-screenshot.prompt.md +35 -0
- package/templates/repo/.github/prompts/ck-design-video.prompt.md +35 -0
- package/templates/repo/.github/prompts/ck-docs-init.prompt.md +27 -0
- package/templates/repo/.github/prompts/ck-docs-summarize.prompt.md +23 -0
- package/templates/repo/.github/prompts/ck-docs-update.prompt.md +36 -0
- package/templates/repo/.github/prompts/ck-fix-ci.prompt.md +18 -0
- package/templates/repo/.github/prompts/ck-fix-fast.prompt.md +18 -0
- package/templates/repo/.github/prompts/ck-fix-hard.prompt.md +36 -0
- package/templates/repo/.github/prompts/ck-fix-logs.prompt.md +27 -0
- package/templates/repo/.github/prompts/ck-fix-parallel.prompt.md +54 -0
- package/templates/repo/.github/prompts/ck-fix-test.prompt.md +19 -0
- package/templates/repo/.github/prompts/ck-fix-types.prompt.md +11 -0
- package/templates/repo/.github/prompts/ck-fix-ui.prompt.md +49 -0
- package/templates/repo/.github/prompts/ck-fix.prompt.md +36 -16
- package/templates/repo/.github/prompts/ck-git-cm.prompt.md +8 -0
- package/templates/repo/.github/prompts/ck-git-cp.prompt.md +7 -0
- package/templates/repo/.github/prompts/ck-git-merge.prompt.md +41 -0
- package/templates/repo/.github/prompts/ck-git-pr.prompt.md +49 -0
- package/templates/repo/.github/prompts/ck-kanban.prompt.md +77 -0
- package/templates/repo/.github/prompts/ck-plan-archive.prompt.md +58 -0
- package/templates/repo/.github/prompts/ck-plan-ci.prompt.md +34 -0
- package/templates/repo/.github/prompts/ck-plan-cro.prompt.md +66 -0
- package/templates/repo/.github/prompts/ck-plan-fast.prompt.md +67 -0
- package/templates/repo/.github/prompts/ck-plan-hard.prompt.md +89 -0
- package/templates/repo/.github/prompts/ck-plan-parallel.prompt.md +126 -0
- package/templates/repo/.github/prompts/ck-plan-two.prompt.md +43 -0
- package/templates/repo/.github/prompts/ck-plan-validate.prompt.md +118 -0
- package/templates/repo/.github/prompts/ck-plan.prompt.md +29 -25
- package/templates/repo/.github/prompts/ck-preview.prompt.md +65 -0
- package/templates/repo/.github/prompts/ck-review-codebase.prompt.md +44 -0
- package/templates/repo/.github/prompts/ck-scout-ext.prompt.md +35 -0
- package/templates/repo/.github/prompts/ck-scout.prompt.md +25 -0
- package/templates/repo/.github/prompts/ck-skill-add.prompt.md +36 -0
- package/templates/repo/.github/prompts/ck-skill-create.prompt.md +29 -0
- package/templates/repo/.github/prompts/ck-skill-fix-logs.prompt.md +22 -0
- package/templates/repo/.github/prompts/ck-skill-optimize-auto.prompt.md +25 -0
- package/templates/repo/.github/prompts/ck-skill-optimize.prompt.md +34 -0
- package/templates/repo/.github/prompts/ck-skill-plan.prompt.md +46 -0
- package/templates/repo/.github/prompts/ck-test-ui.prompt.md +92 -0
- package/templates/repo/.github/prompts/ck-test.prompt.md +6 -19
- package/templates/repo/.github/prompts/ck-use-mcp.prompt.md +27 -0
- package/templates/repo/.github/prompts/ck-watzup.prompt.md +11 -0
- package/templates/repo/.github/prompts/ck-worktree.prompt.md +127 -0
- package/templates/repo/.github/skills/ck-ai-artist/SKILL.md +73 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/advanced-techniques.md +184 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/domain-code.md +66 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/domain-data.md +72 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/domain-marketing.md +66 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/domain-patterns.md +33 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/domain-writing.md +68 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/image-prompting.md +141 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/llm-prompting.md +165 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/nano-banana.md +59 -0
- package/templates/repo/.github/skills/ck-ai-artist/references/reasoning-techniques.md +201 -0
- package/templates/repo/.github/skills/ck-backend-development/SKILL.md +93 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-api-design.md +495 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-architecture.md +454 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-authentication.md +338 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-code-quality.md +659 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-debugging.md +904 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-devops.md +494 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-mindset.md +387 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-performance.md +397 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-security.md +290 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-technologies.md +256 -0
- package/templates/repo/.github/skills/ck-backend-development/references/backend-testing.md +429 -0
- package/templates/repo/.github/skills/ck-better-auth/SKILL.md +202 -0
- package/templates/repo/.github/skills/ck-better-auth/references/advanced-features.md +553 -0
- package/templates/repo/.github/skills/ck-better-auth/references/database-integration.md +577 -0
- package/templates/repo/.github/skills/ck-better-auth/references/email-password-auth.md +416 -0
- package/templates/repo/.github/skills/ck-better-auth/references/oauth-providers.md +430 -0
- package/templates/repo/.github/skills/ck-better-auth/scripts/.coverage +0 -0
- package/templates/repo/.github/skills/ck-better-auth/scripts/better_auth_init.py +521 -0
- package/templates/repo/.github/skills/ck-better-auth/scripts/requirements.txt +15 -0
- package/templates/repo/.github/skills/ck-better-auth/scripts/tests/.coverage +0 -0
- package/templates/repo/.github/skills/ck-better-auth/scripts/tests/test_better_auth_init.py +421 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/SKILL.md +470 -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 +272 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/__tests__/selector.test.js +210 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/aria-snapshot.js +362 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/click.js +83 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/console.js +79 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/evaluate.js +53 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/fill.js +76 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/inject-auth.js +229 -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/lib/browser.js +318 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/lib/selector.js +178 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/navigate.js +54 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/network.js +106 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/package-lock.json +1589 -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 +149 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/screenshot.js +198 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/select-ref.js +131 -0
- package/templates/repo/.github/skills/ck-chrome-devtools/scripts/snapshot.js +135 -0
- package/templates/repo/.github/skills/ck-code-review/SKILL.md +130 -33
- package/templates/repo/.github/skills/ck-code-review/references/code-review-reception.md +209 -0
- package/templates/repo/.github/skills/ck-code-review/references/requesting-code-review.md +105 -0
- package/templates/repo/.github/skills/ck-code-review/references/verification-before-completion.md +139 -0
- package/templates/repo/.github/skills/ck-databases/SKILL.md +231 -0
- package/templates/repo/.github/skills/ck-databases/references/mongodb-aggregation.md +447 -0
- package/templates/repo/.github/skills/ck-databases/references/mongodb-atlas.md +465 -0
- package/templates/repo/.github/skills/ck-databases/references/mongodb-crud.md +408 -0
- package/templates/repo/.github/skills/ck-databases/references/mongodb-indexing.md +442 -0
- package/templates/repo/.github/skills/ck-databases/references/postgresql-administration.md +594 -0
- package/templates/repo/.github/skills/ck-databases/references/postgresql-performance.md +527 -0
- package/templates/repo/.github/skills/ck-databases/references/postgresql-psql-cli.md +467 -0
- package/templates/repo/.github/skills/ck-databases/references/postgresql-queries.md +475 -0
- package/templates/repo/.github/skills/ck-databases/scripts/.coverage +0 -0
- package/templates/repo/.github/skills/ck-databases/scripts/db_backup.py +502 -0
- package/templates/repo/.github/skills/ck-databases/scripts/db_migrate.py +425 -0
- package/templates/repo/.github/skills/ck-databases/scripts/db_performance_check.py +456 -0
- package/templates/repo/.github/skills/ck-databases/scripts/requirements.txt +20 -0
- package/templates/repo/.github/skills/ck-databases/scripts/tests/coverage-db.json +1 -0
- package/templates/repo/.github/skills/ck-databases/scripts/tests/requirements.txt +4 -0
- package/templates/repo/.github/skills/ck-databases/scripts/tests/test_db_backup.py +340 -0
- package/templates/repo/.github/skills/ck-databases/scripts/tests/test_db_migrate.py +277 -0
- package/templates/repo/.github/skills/ck-databases/scripts/tests/test_db_performance_check.py +370 -0
- package/templates/repo/.github/skills/ck-debugging/SKILL.md +70 -22
- package/templates/repo/.github/skills/ck-debugging/references/defense-in-depth.md +124 -0
- package/templates/repo/.github/skills/ck-debugging/references/root-cause-tracing.md +122 -0
- package/templates/repo/.github/skills/ck-debugging/references/systematic-debugging.md +102 -0
- package/templates/repo/.github/skills/ck-debugging/references/verification.md +123 -0
- package/templates/repo/.github/skills/ck-debugging/scripts/find-polluter.sh +63 -0
- package/templates/repo/.github/skills/ck-debugging/scripts/find-polluter.test.md +102 -0
- package/templates/repo/.github/skills/ck-devops/.env.example +76 -0
- package/templates/repo/.github/skills/ck-devops/SKILL.md +283 -0
- package/templates/repo/.github/skills/ck-devops/references/browser-rendering.md +305 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-d1-kv.md +123 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-platform.md +271 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-r2-storage.md +280 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-workers-advanced.md +312 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-workers-apis.md +309 -0
- package/templates/repo/.github/skills/ck-devops/references/cloudflare-workers-basics.md +418 -0
- package/templates/repo/.github/skills/ck-devops/references/docker-basics.md +297 -0
- package/templates/repo/.github/skills/ck-devops/references/docker-compose.md +292 -0
- package/templates/repo/.github/skills/ck-devops/references/gcloud-platform.md +297 -0
- package/templates/repo/.github/skills/ck-devops/references/gcloud-services.md +304 -0
- package/templates/repo/.github/skills/ck-devops/scripts/cloudflare_deploy.py +269 -0
- package/templates/repo/.github/skills/ck-devops/scripts/docker_optimize.py +331 -0
- package/templates/repo/.github/skills/ck-devops/scripts/requirements.txt +20 -0
- package/templates/repo/.github/skills/ck-devops/scripts/tests/requirements.txt +3 -0
- package/templates/repo/.github/skills/ck-devops/scripts/tests/test_cloudflare_deploy.py +285 -0
- package/templates/repo/.github/skills/ck-devops/scripts/tests/test_docker_optimize.py +436 -0
- package/templates/repo/.github/skills/ck-docs-seeker/.env.example +15 -0
- package/templates/repo/.github/skills/ck-docs-seeker/SKILL.md +96 -0
- package/templates/repo/.github/skills/ck-docs-seeker/package.json +25 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/advanced.md +79 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/context7-patterns.md +68 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/errors.md +68 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/search-patterns.md +93 -0
- package/templates/repo/.github/skills/ck-docs-seeker/references/source-evaluation.md +77 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/analyze-llms-txt.js +211 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/detect-topic.js +172 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/fetch-docs.js +213 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/tests/run-tests.js +72 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/tests/test-analyze-llms.js +119 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/tests/test-detect-topic.js +112 -0
- package/templates/repo/.github/skills/ck-docs-seeker/scripts/tests/test-fetch-docs.js +84 -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-docs-seeker/workflows/repo-analysis.md +91 -0
- package/templates/repo/.github/skills/ck-docs-seeker/workflows/topic-search.md +77 -0
- package/templates/repo/.github/skills/ck-frontend-design/SKILL.md +79 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/analysis-best-practices.md +80 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/analysis-prompts.md +141 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/analysis-techniques.md +118 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/animejs.md +396 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/design-extraction-overview.md +71 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/extraction-best-practices.md +141 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/extraction-output-templates.md +162 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/extraction-prompts.md +127 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/technical-accessibility.md +119 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/technical-best-practices.md +97 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/technical-optimization.md +44 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/technical-overview.md +90 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/technical-workflows.md +150 -0
- package/templates/repo/.github/skills/ck-frontend-design/references/visual-analysis-overview.md +95 -0
- package/templates/repo/.github/skills/ck-frontend-development/SKILL.md +399 -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-markdown-novel-viewer/SKILL.md +190 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/assets/directory-browser.css +215 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/assets/favicon.png +0 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/assets/novel-theme.css +818 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/assets/reader.js +262 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/assets/template.html +80 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/package.json +15 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/lib/http-server.cjs +434 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/lib/markdown-renderer.cjs +272 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/lib/plan-navigator.cjs +509 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/lib/port-finder.cjs +48 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/lib/process-mgr.cjs +150 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/server.cjs +411 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/scripts/tests/server.test.cjs +283 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/dashboard-assets.test.cjs +340 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/dashboard-renderer.test.cjs +404 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/http-server.test.cjs +271 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/run-tests.cjs +51 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/test-framework.cjs +154 -0
- package/templates/repo/.github/skills/ck-markdown-novel-viewer/tests/verify-xss.cjs +90 -0
- package/templates/repo/.github/skills/ck-mcp-builder/LICENSE.txt +202 -0
- package/templates/repo/.github/skills/ck-mcp-builder/SKILL.md +327 -0
- package/templates/repo/.github/skills/ck-mcp-builder/reference/evaluation.md +602 -0
- package/templates/repo/.github/skills/ck-mcp-builder/reference/mcp_best_practices.md +915 -0
- package/templates/repo/.github/skills/ck-mcp-builder/reference/node_mcp_server.md +916 -0
- package/templates/repo/.github/skills/ck-mcp-builder/reference/python_mcp_server.md +752 -0
- package/templates/repo/.github/skills/ck-mcp-builder/scripts/connections.py +151 -0
- package/templates/repo/.github/skills/ck-mcp-builder/scripts/evaluation.py +373 -0
- package/templates/repo/.github/skills/ck-mcp-builder/scripts/example_evaluation.xml +22 -0
- package/templates/repo/.github/skills/ck-mcp-builder/scripts/requirements.txt +2 -0
- package/templates/repo/.github/skills/ck-mcp-management/README.md +219 -0
- package/templates/repo/.github/skills/ck-mcp-management/SKILL.md +209 -0
- package/templates/repo/.github/skills/ck-mcp-management/assets/tools.json +3146 -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 +215 -0
- package/templates/repo/.github/skills/ck-mcp-management/references/mcp-protocol.md +116 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/.env.example +10 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/cli.ts +195 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/dist/analyze-tools.js +70 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/dist/cli.js +160 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/dist/mcp-client.js +183 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/mcp-client.ts +230 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/package.json +20 -0
- package/templates/repo/.github/skills/ck-mcp-management/scripts/tsconfig.json +15 -0
- package/templates/repo/.github/skills/ck-media-processing/SKILL.md +90 -0
- package/templates/repo/.github/skills/ck-media-processing/references/common-workflows.md +132 -0
- package/templates/repo/.github/skills/ck-media-processing/references/ffmpeg-encoding.md +358 -0
- package/templates/repo/.github/skills/ck-media-processing/references/ffmpeg-filters.md +503 -0
- package/templates/repo/.github/skills/ck-media-processing/references/ffmpeg-streaming.md +403 -0
- package/templates/repo/.github/skills/ck-media-processing/references/format-compatibility.md +375 -0
- package/templates/repo/.github/skills/ck-media-processing/references/imagemagick-batch.md +612 -0
- package/templates/repo/.github/skills/ck-media-processing/references/imagemagick-editing.md +623 -0
- package/templates/repo/.github/skills/ck-media-processing/references/rmbg-background-removal.md +66 -0
- package/templates/repo/.github/skills/ck-media-processing/references/troubleshooting.md +109 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/README.md +111 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/batch-remove-background.sh +124 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/batch_resize.py +342 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/media_convert.py +311 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/remove-background.sh +96 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/remove-bg-node.js +158 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/requirements.txt +24 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/tests/.coverage +0 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/tests/requirements.txt +2 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/tests/test_batch_resize.py +372 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/tests/test_media_convert.py +259 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/tests/test_video_optimize.py +397 -0
- package/templates/repo/.github/skills/ck-media-processing/scripts/video_optimize.py +414 -0
- package/templates/repo/.github/skills/ck-mobile-development/SKILL.md +210 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-android.md +604 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-best-practices.md +545 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-debugging.md +1089 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-frameworks.md +465 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-ios.md +496 -0
- package/templates/repo/.github/skills/ck-mobile-development/references/mobile-mindset.md +544 -0
- package/templates/repo/.github/skills/ck-payment-integration/README.md +185 -0
- package/templates/repo/.github/skills/ck-payment-integration/SKILL.md +116 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/benefits.md +396 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/best-practices.md +482 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/checkouts.md +266 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/overview.md +184 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/products.md +244 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/sdk.md +436 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/subscriptions.md +340 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/polar/webhooks.md +405 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/api.md +140 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/best-practices.md +337 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/overview.md +138 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/qr-codes.md +228 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/sdk.md +213 -0
- package/templates/repo/.github/skills/ck-payment-integration/references/sepay/webhooks.md +208 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/.env.example +20 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/checkout-helper.js +244 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/package.json +17 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/polar-webhook-verify.js +202 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/sepay-webhook-verify.js +193 -0
- package/templates/repo/.github/skills/ck-payment-integration/scripts/test-scripts.js +237 -0
- package/templates/repo/.github/skills/ck-planning/SKILL.md +112 -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 +127 -0
- package/templates/repo/.github/skills/ck-planning/references/plan-organization.md +150 -0
- package/templates/repo/.github/skills/ck-planning/references/research-phase.md +49 -0
- package/templates/repo/.github/skills/ck-planning/references/solution-design.md +63 -0
- package/templates/repo/.github/skills/ck-problem-solving/SKILL.md +95 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/attribution.md +69 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/collision-zone-thinking.md +79 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/inversion-exercise.md +91 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/meta-pattern-recognition.md +87 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/scale-game.md +95 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/simplification-cascades.md +80 -0
- package/templates/repo/.github/skills/ck-problem-solving/references/when-stuck.md +72 -0
- package/templates/repo/.github/skills/ck-repomix/SKILL.md +247 -0
- package/templates/repo/.github/skills/ck-repomix/references/configuration.md +211 -0
- package/templates/repo/.github/skills/ck-repomix/references/usage-patterns.md +232 -0
- package/templates/repo/.github/skills/ck-repomix/scripts/.coverage +0 -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-repomix/scripts/repos.example.json +15 -0
- package/templates/repo/.github/skills/ck-repomix/scripts/requirements.txt +15 -0
- package/templates/repo/.github/skills/ck-repomix/scripts/tests/test_repomix_batch.py +531 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/.env.example +8 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/README.md +183 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/SKILL.md +92 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/package.json +31 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/advanced-strategies.md +79 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/advanced-techniques.md +76 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/core-patterns.md +95 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/examples-api.md +88 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/examples-architecture.md +94 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/references/examples-debug.md +90 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/scripts/format-thought.js +159 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/scripts/process-thought.js +236 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/tests/format-thought.test.js +133 -0
- package/templates/repo/.github/skills/ck-sequential-thinking/tests/process-thought.test.js +215 -0
- package/templates/repo/.github/skills/ck-shopify/README.md +66 -0
- package/templates/repo/.github/skills/ck-shopify/SKILL.md +319 -0
- package/templates/repo/.github/skills/ck-shopify/references/app-development.md +470 -0
- package/templates/repo/.github/skills/ck-shopify/references/extensions.md +493 -0
- package/templates/repo/.github/skills/ck-shopify/references/themes.md +498 -0
- package/templates/repo/.github/skills/ck-shopify/scripts/.coverage +0 -0
- package/templates/repo/.github/skills/ck-shopify/scripts/requirements.txt +19 -0
- package/templates/repo/.github/skills/ck-shopify/scripts/shopify_init.py +423 -0
- package/templates/repo/.github/skills/ck-shopify/scripts/tests/.coverage +0 -0
- package/templates/repo/.github/skills/ck-shopify/scripts/tests/test_shopify_init.py +385 -0
- package/templates/repo/.github/skills/ck-skill-creator/LICENSE.txt +202 -0
- package/templates/repo/.github/skills/ck-skill-creator/SKILL.md +265 -0
- package/templates/repo/.github/skills/ck-skill-creator/scripts/init_skill.py +303 -0
- package/templates/repo/.github/skills/ck-skill-creator/scripts/package_skill.py +110 -0
- package/templates/repo/.github/skills/ck-skill-creator/scripts/quick_validate.py +65 -0
- package/templates/repo/.github/skills/ck-threejs/SKILL.md +87 -0
- package/templates/repo/.github/skills/ck-threejs/references/01-getting-started.md +177 -0
- package/templates/repo/.github/skills/ck-threejs/references/02-loaders.md +169 -0
- package/templates/repo/.github/skills/ck-threejs/references/03-textures.md +170 -0
- package/templates/repo/.github/skills/ck-threejs/references/04-cameras.md +195 -0
- package/templates/repo/.github/skills/ck-threejs/references/05-lights.md +183 -0
- package/templates/repo/.github/skills/ck-threejs/references/06-animations.md +214 -0
- package/templates/repo/.github/skills/ck-threejs/references/07-math.md +260 -0
- package/templates/repo/.github/skills/ck-threejs/references/08-interaction.md +267 -0
- package/templates/repo/.github/skills/ck-threejs/references/09-postprocessing.md +240 -0
- package/templates/repo/.github/skills/ck-threejs/references/10-controls.md +259 -0
- package/templates/repo/.github/skills/ck-threejs/references/11-materials-advanced.md +270 -0
- package/templates/repo/.github/skills/ck-threejs/references/12-performance.md +269 -0
- package/templates/repo/.github/skills/ck-threejs/references/13-node-materials.md +298 -0
- package/templates/repo/.github/skills/ck-threejs/references/14-physics-vr.md +304 -0
- package/templates/repo/.github/skills/ck-threejs/references/15-specialized-loaders.md +333 -0
- package/templates/repo/.github/skills/ck-threejs/references/16-webgpu.md +302 -0
- package/templates/repo/.github/skills/ck-ui-styling/LICENSE.txt +202 -0
- package/templates/repo/.github/skills/ck-ui-styling/SKILL.md +319 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/DMMono-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Gloock-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Italiana-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Jura-Light.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Jura-Medium.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Jura-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Lora-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Lora-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Lora-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Lora-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Outfit-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Tektur-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/templates/repo/.github/skills/ck-ui-styling/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/canvas-design-system.md +320 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/shadcn-accessibility.md +471 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/shadcn-components.md +424 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/shadcn-theming.md +373 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/tailwind-customization.md +483 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/tailwind-responsive.md +382 -0
- package/templates/repo/.github/skills/ck-ui-styling/references/tailwind-utilities.md +455 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/.coverage +0 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/requirements.txt +17 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/shadcn_add.py +292 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/tailwind_config_gen.py +456 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/tests/coverage-ui.json +1 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/tests/requirements.txt +3 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/tests/test_shadcn_add.py +266 -0
- package/templates/repo/.github/skills/ck-ui-styling/scripts/tests/test_tailwind_config_gen.py +336 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/SKILL.md +227 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/charts.csv +26 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/colors.csv +97 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/landing.csv +31 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/products.csv +97 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/prompts.csv +24 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/html-tailwind.csv +51 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/styles.csv +59 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/typography.csv +58 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/scripts/core.py +236 -0
- package/templates/repo/.github/skills/ck-ui-ux-pro-max/scripts/search.py +76 -0
- package/templates/repo/.github/skills/ck-web-frameworks/SKILL.md +322 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/nextjs-app-router.md +465 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/nextjs-data-fetching.md +459 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/nextjs-optimization.md +511 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/nextjs-server-components.md +495 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/remix-icon-integration.md +603 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/turborepo-caching.md +551 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/turborepo-pipelines.md +517 -0
- package/templates/repo/.github/skills/ck-web-frameworks/references/turborepo-setup.md +542 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/.coverage +0 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/__init__.py +0 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/nextjs_init.py +547 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/requirements.txt +16 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/tests/coverage-web.json +1 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/tests/requirements.txt +3 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/tests/test_nextjs_init.py +319 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/tests/test_turborepo_migrate.py +374 -0
- package/templates/repo/.github/skills/ck-web-frameworks/scripts/turborepo_migrate.py +394 -0
- package/templates/repo/.github/prompts/ck-docs.prompt.md +0 -23
- package/templates/repo/.github/prompts/ck-review.prompt.md +0 -24
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Tailwind CSS Configuration Generator
|
|
4
|
+
|
|
5
|
+
Generate tailwind.config.js/ts with custom theme configuration.
|
|
6
|
+
Supports colors, fonts, spacing, breakpoints, and plugin recommendations.
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import argparse
|
|
10
|
+
import json
|
|
11
|
+
import sys
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
from typing import Any, Dict, List, Optional
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class TailwindConfigGenerator:
|
|
17
|
+
"""Generate Tailwind CSS configuration files."""
|
|
18
|
+
|
|
19
|
+
def __init__(
|
|
20
|
+
self,
|
|
21
|
+
typescript: bool = True,
|
|
22
|
+
framework: str = "react",
|
|
23
|
+
output_path: Optional[Path] = None,
|
|
24
|
+
):
|
|
25
|
+
"""
|
|
26
|
+
Initialize generator.
|
|
27
|
+
|
|
28
|
+
Args:
|
|
29
|
+
typescript: If True, generate .ts config, else .js
|
|
30
|
+
framework: Framework name (react, vue, svelte, nextjs)
|
|
31
|
+
output_path: Output file path (default: auto-detect)
|
|
32
|
+
"""
|
|
33
|
+
self.typescript = typescript
|
|
34
|
+
self.framework = framework
|
|
35
|
+
self.output_path = output_path or self._default_output_path()
|
|
36
|
+
self.config: Dict[str, Any] = self._base_config()
|
|
37
|
+
|
|
38
|
+
def _default_output_path(self) -> Path:
|
|
39
|
+
"""Determine default output path."""
|
|
40
|
+
ext = "ts" if self.typescript else "js"
|
|
41
|
+
return Path.cwd() / f"tailwind.config.{ext}"
|
|
42
|
+
|
|
43
|
+
def _base_config(self) -> Dict[str, Any]:
|
|
44
|
+
"""Create base configuration structure."""
|
|
45
|
+
return {
|
|
46
|
+
"darkMode": ["class"],
|
|
47
|
+
"content": self._default_content_paths(),
|
|
48
|
+
"theme": {
|
|
49
|
+
"extend": {}
|
|
50
|
+
},
|
|
51
|
+
"plugins": []
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
def _default_content_paths(self) -> List[str]:
|
|
55
|
+
"""Get default content paths for framework."""
|
|
56
|
+
paths = {
|
|
57
|
+
"react": [
|
|
58
|
+
"./src/**/*.{js,jsx,ts,tsx}",
|
|
59
|
+
"./index.html",
|
|
60
|
+
],
|
|
61
|
+
"vue": [
|
|
62
|
+
"./src/**/*.{vue,js,ts,jsx,tsx}",
|
|
63
|
+
"./index.html",
|
|
64
|
+
],
|
|
65
|
+
"svelte": [
|
|
66
|
+
"./src/**/*.{svelte,js,ts}",
|
|
67
|
+
"./src/app.html",
|
|
68
|
+
],
|
|
69
|
+
"nextjs": [
|
|
70
|
+
"./app/**/*.{js,ts,jsx,tsx}",
|
|
71
|
+
"./pages/**/*.{js,ts,jsx,tsx}",
|
|
72
|
+
"./components/**/*.{js,ts,jsx,tsx}",
|
|
73
|
+
],
|
|
74
|
+
}
|
|
75
|
+
return paths.get(self.framework, paths["react"])
|
|
76
|
+
|
|
77
|
+
def add_colors(self, colors: Dict[str, str]) -> None:
|
|
78
|
+
"""
|
|
79
|
+
Add custom colors to theme.
|
|
80
|
+
|
|
81
|
+
Args:
|
|
82
|
+
colors: Dict of color_name: color_value
|
|
83
|
+
Value can be hex (#3b82f6) or variable (hsl(var(--primary)))
|
|
84
|
+
"""
|
|
85
|
+
if "colors" not in self.config["theme"]["extend"]:
|
|
86
|
+
self.config["theme"]["extend"]["colors"] = {}
|
|
87
|
+
|
|
88
|
+
self.config["theme"]["extend"]["colors"].update(colors)
|
|
89
|
+
|
|
90
|
+
def add_color_palette(self, name: str, base_color: str) -> None:
|
|
91
|
+
"""
|
|
92
|
+
Add full color palette (50-950 shades) for a base color.
|
|
93
|
+
|
|
94
|
+
Args:
|
|
95
|
+
name: Color name (e.g., 'brand', 'primary')
|
|
96
|
+
base_color: Base color in oklch format or hex
|
|
97
|
+
"""
|
|
98
|
+
# For simplicity, use CSS variable approach
|
|
99
|
+
if "colors" not in self.config["theme"]["extend"]:
|
|
100
|
+
self.config["theme"]["extend"]["colors"] = {}
|
|
101
|
+
|
|
102
|
+
self.config["theme"]["extend"]["colors"][name] = {
|
|
103
|
+
"50": f"var(--color-{name}-50)",
|
|
104
|
+
"100": f"var(--color-{name}-100)",
|
|
105
|
+
"200": f"var(--color-{name}-200)",
|
|
106
|
+
"300": f"var(--color-{name}-300)",
|
|
107
|
+
"400": f"var(--color-{name}-400)",
|
|
108
|
+
"500": f"var(--color-{name}-500)",
|
|
109
|
+
"600": f"var(--color-{name}-600)",
|
|
110
|
+
"700": f"var(--color-{name}-700)",
|
|
111
|
+
"800": f"var(--color-{name}-800)",
|
|
112
|
+
"900": f"var(--color-{name}-900)",
|
|
113
|
+
"950": f"var(--color-{name}-950)",
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
def add_fonts(self, fonts: Dict[str, List[str]]) -> None:
|
|
117
|
+
"""
|
|
118
|
+
Add custom font families.
|
|
119
|
+
|
|
120
|
+
Args:
|
|
121
|
+
fonts: Dict of font_type: [font_names]
|
|
122
|
+
e.g., {'sans': ['Inter', 'system-ui', 'sans-serif']}
|
|
123
|
+
"""
|
|
124
|
+
if "fontFamily" not in self.config["theme"]["extend"]:
|
|
125
|
+
self.config["theme"]["extend"]["fontFamily"] = {}
|
|
126
|
+
|
|
127
|
+
self.config["theme"]["extend"]["fontFamily"].update(fonts)
|
|
128
|
+
|
|
129
|
+
def add_spacing(self, spacing: Dict[str, str]) -> None:
|
|
130
|
+
"""
|
|
131
|
+
Add custom spacing values.
|
|
132
|
+
|
|
133
|
+
Args:
|
|
134
|
+
spacing: Dict of name: value
|
|
135
|
+
e.g., {'18': '4.5rem', 'navbar': '4rem'}
|
|
136
|
+
"""
|
|
137
|
+
if "spacing" not in self.config["theme"]["extend"]:
|
|
138
|
+
self.config["theme"]["extend"]["spacing"] = {}
|
|
139
|
+
|
|
140
|
+
self.config["theme"]["extend"]["spacing"].update(spacing)
|
|
141
|
+
|
|
142
|
+
def add_breakpoints(self, breakpoints: Dict[str, str]) -> None:
|
|
143
|
+
"""
|
|
144
|
+
Add custom breakpoints.
|
|
145
|
+
|
|
146
|
+
Args:
|
|
147
|
+
breakpoints: Dict of name: width
|
|
148
|
+
e.g., {'3xl': '1920px', 'tablet': '768px'}
|
|
149
|
+
"""
|
|
150
|
+
if "screens" not in self.config["theme"]["extend"]:
|
|
151
|
+
self.config["theme"]["extend"]["screens"] = {}
|
|
152
|
+
|
|
153
|
+
self.config["theme"]["extend"]["screens"].update(breakpoints)
|
|
154
|
+
|
|
155
|
+
def add_plugins(self, plugins: List[str]) -> None:
|
|
156
|
+
"""
|
|
157
|
+
Add plugin requirements.
|
|
158
|
+
|
|
159
|
+
Args:
|
|
160
|
+
plugins: List of plugin names
|
|
161
|
+
e.g., ['@tailwindcss/typography', '@tailwindcss/forms']
|
|
162
|
+
"""
|
|
163
|
+
for plugin in plugins:
|
|
164
|
+
if plugin not in self.config["plugins"]:
|
|
165
|
+
self.config["plugins"].append(plugin)
|
|
166
|
+
|
|
167
|
+
def recommend_plugins(self) -> List[str]:
|
|
168
|
+
"""
|
|
169
|
+
Get plugin recommendations based on configuration.
|
|
170
|
+
|
|
171
|
+
Returns:
|
|
172
|
+
List of recommended plugin package names
|
|
173
|
+
"""
|
|
174
|
+
recommendations = []
|
|
175
|
+
|
|
176
|
+
# Always recommend animation plugin
|
|
177
|
+
recommendations.append("tailwindcss-animate")
|
|
178
|
+
|
|
179
|
+
# Framework-specific recommendations
|
|
180
|
+
if self.framework == "nextjs":
|
|
181
|
+
recommendations.append("@tailwindcss/typography")
|
|
182
|
+
|
|
183
|
+
return recommendations
|
|
184
|
+
|
|
185
|
+
def generate_config_string(self) -> str:
|
|
186
|
+
"""
|
|
187
|
+
Generate configuration file content.
|
|
188
|
+
|
|
189
|
+
Returns:
|
|
190
|
+
Configuration file as string
|
|
191
|
+
"""
|
|
192
|
+
if self.typescript:
|
|
193
|
+
return self._generate_typescript()
|
|
194
|
+
return self._generate_javascript()
|
|
195
|
+
|
|
196
|
+
def _generate_typescript(self) -> str:
|
|
197
|
+
"""Generate TypeScript configuration."""
|
|
198
|
+
plugins_str = self._format_plugins()
|
|
199
|
+
|
|
200
|
+
config_json = json.dumps(self.config, indent=2)
|
|
201
|
+
|
|
202
|
+
# Remove plugin array from JSON (we'll add it with require())
|
|
203
|
+
config_obj = self.config.copy()
|
|
204
|
+
config_obj.pop("plugins", None)
|
|
205
|
+
config_json = json.dumps(config_obj, indent=2)
|
|
206
|
+
|
|
207
|
+
return f"""import type {{ Config }} from 'tailwindcss'
|
|
208
|
+
|
|
209
|
+
const config: Config = {{
|
|
210
|
+
{self._indent_json(config_json, 1)}
|
|
211
|
+
plugins: [{plugins_str}],
|
|
212
|
+
}}
|
|
213
|
+
|
|
214
|
+
export default config
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
def _generate_javascript(self) -> str:
|
|
218
|
+
"""Generate JavaScript configuration."""
|
|
219
|
+
plugins_str = self._format_plugins()
|
|
220
|
+
|
|
221
|
+
config_obj = self.config.copy()
|
|
222
|
+
config_obj.pop("plugins", None)
|
|
223
|
+
config_json = json.dumps(config_obj, indent=2)
|
|
224
|
+
|
|
225
|
+
return f"""/** @type {{import('tailwindcss').Config}} */
|
|
226
|
+
module.exports = {{
|
|
227
|
+
{self._indent_json(config_json, 1)}
|
|
228
|
+
plugins: [{plugins_str}],
|
|
229
|
+
}}
|
|
230
|
+
"""
|
|
231
|
+
|
|
232
|
+
def _format_plugins(self) -> str:
|
|
233
|
+
"""Format plugins array for config."""
|
|
234
|
+
if not self.config["plugins"]:
|
|
235
|
+
return ""
|
|
236
|
+
|
|
237
|
+
plugin_requires = [
|
|
238
|
+
f"require('{plugin}')" for plugin in self.config["plugins"]
|
|
239
|
+
]
|
|
240
|
+
return ", ".join(plugin_requires)
|
|
241
|
+
|
|
242
|
+
def _indent_json(self, json_str: str, level: int) -> str:
|
|
243
|
+
"""Add indentation to JSON string."""
|
|
244
|
+
indent = " " * level
|
|
245
|
+
lines = json_str.split("\n")
|
|
246
|
+
# Skip first and last lines (braces)
|
|
247
|
+
indented = [indent + line for line in lines[1:-1]]
|
|
248
|
+
return "\n".join(indented)
|
|
249
|
+
|
|
250
|
+
def write_config(self) -> tuple[bool, str]:
|
|
251
|
+
"""
|
|
252
|
+
Write configuration to file.
|
|
253
|
+
|
|
254
|
+
Returns:
|
|
255
|
+
Tuple of (success, message)
|
|
256
|
+
"""
|
|
257
|
+
try:
|
|
258
|
+
config_content = self.generate_config_string()
|
|
259
|
+
|
|
260
|
+
self.output_path.write_text(config_content)
|
|
261
|
+
|
|
262
|
+
return True, f"Configuration written to {self.output_path}"
|
|
263
|
+
|
|
264
|
+
except OSError as e:
|
|
265
|
+
return False, f"Failed to write config: {e}"
|
|
266
|
+
|
|
267
|
+
def validate_config(self) -> tuple[bool, str]:
|
|
268
|
+
"""
|
|
269
|
+
Validate configuration.
|
|
270
|
+
|
|
271
|
+
Returns:
|
|
272
|
+
Tuple of (valid, message)
|
|
273
|
+
"""
|
|
274
|
+
# Check content paths exist
|
|
275
|
+
if not self.config["content"]:
|
|
276
|
+
return False, "No content paths specified"
|
|
277
|
+
|
|
278
|
+
# Check if extending empty theme
|
|
279
|
+
if not self.config["theme"]["extend"]:
|
|
280
|
+
return True, "Warning: No theme extensions defined"
|
|
281
|
+
|
|
282
|
+
return True, "Configuration valid"
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
def main():
|
|
286
|
+
"""CLI entry point."""
|
|
287
|
+
parser = argparse.ArgumentParser(
|
|
288
|
+
description="Generate Tailwind CSS configuration",
|
|
289
|
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
|
290
|
+
epilog="""
|
|
291
|
+
Examples:
|
|
292
|
+
# Generate TypeScript config for Next.js
|
|
293
|
+
python tailwind_config_gen.py --framework nextjs
|
|
294
|
+
|
|
295
|
+
# Generate JavaScript config with custom colors
|
|
296
|
+
python tailwind_config_gen.py --js --colors brand:#3b82f6 accent:#8b5cf6
|
|
297
|
+
|
|
298
|
+
# Add custom fonts
|
|
299
|
+
python tailwind_config_gen.py --fonts display:"Playfair Display,serif"
|
|
300
|
+
|
|
301
|
+
# Add custom spacing and breakpoints
|
|
302
|
+
python tailwind_config_gen.py --spacing navbar:4rem --breakpoints 3xl:1920px
|
|
303
|
+
|
|
304
|
+
# Add recommended plugins
|
|
305
|
+
python tailwind_config_gen.py --plugins
|
|
306
|
+
""",
|
|
307
|
+
)
|
|
308
|
+
|
|
309
|
+
parser.add_argument(
|
|
310
|
+
"--framework",
|
|
311
|
+
choices=["react", "vue", "svelte", "nextjs"],
|
|
312
|
+
default="react",
|
|
313
|
+
help="Target framework (default: react)",
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
parser.add_argument(
|
|
317
|
+
"--js",
|
|
318
|
+
action="store_true",
|
|
319
|
+
help="Generate JavaScript config instead of TypeScript",
|
|
320
|
+
)
|
|
321
|
+
|
|
322
|
+
parser.add_argument(
|
|
323
|
+
"--output",
|
|
324
|
+
type=Path,
|
|
325
|
+
help="Output file path",
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
parser.add_argument(
|
|
329
|
+
"--colors",
|
|
330
|
+
nargs="*",
|
|
331
|
+
metavar="NAME:VALUE",
|
|
332
|
+
help="Custom colors (e.g., brand:#3b82f6)",
|
|
333
|
+
)
|
|
334
|
+
|
|
335
|
+
parser.add_argument(
|
|
336
|
+
"--fonts",
|
|
337
|
+
nargs="*",
|
|
338
|
+
metavar="TYPE:FAMILY",
|
|
339
|
+
help="Custom fonts (e.g., sans:'Inter,system-ui')",
|
|
340
|
+
)
|
|
341
|
+
|
|
342
|
+
parser.add_argument(
|
|
343
|
+
"--spacing",
|
|
344
|
+
nargs="*",
|
|
345
|
+
metavar="NAME:VALUE",
|
|
346
|
+
help="Custom spacing (e.g., navbar:4rem)",
|
|
347
|
+
)
|
|
348
|
+
|
|
349
|
+
parser.add_argument(
|
|
350
|
+
"--breakpoints",
|
|
351
|
+
nargs="*",
|
|
352
|
+
metavar="NAME:WIDTH",
|
|
353
|
+
help="Custom breakpoints (e.g., 3xl:1920px)",
|
|
354
|
+
)
|
|
355
|
+
|
|
356
|
+
parser.add_argument(
|
|
357
|
+
"--plugins",
|
|
358
|
+
action="store_true",
|
|
359
|
+
help="Add recommended plugins",
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
parser.add_argument(
|
|
363
|
+
"--validate-only",
|
|
364
|
+
action="store_true",
|
|
365
|
+
help="Validate config without writing file",
|
|
366
|
+
)
|
|
367
|
+
|
|
368
|
+
args = parser.parse_args()
|
|
369
|
+
|
|
370
|
+
# Initialize generator
|
|
371
|
+
generator = TailwindConfigGenerator(
|
|
372
|
+
typescript=not args.js,
|
|
373
|
+
framework=args.framework,
|
|
374
|
+
output_path=args.output,
|
|
375
|
+
)
|
|
376
|
+
|
|
377
|
+
# Add custom colors
|
|
378
|
+
if args.colors:
|
|
379
|
+
colors = {}
|
|
380
|
+
for color_spec in args.colors:
|
|
381
|
+
try:
|
|
382
|
+
name, value = color_spec.split(":", 1)
|
|
383
|
+
colors[name] = value
|
|
384
|
+
except ValueError:
|
|
385
|
+
print(f"Invalid color spec: {color_spec}", file=sys.stderr)
|
|
386
|
+
sys.exit(1)
|
|
387
|
+
generator.add_colors(colors)
|
|
388
|
+
|
|
389
|
+
# Add custom fonts
|
|
390
|
+
if args.fonts:
|
|
391
|
+
fonts = {}
|
|
392
|
+
for font_spec in args.fonts:
|
|
393
|
+
try:
|
|
394
|
+
font_type, family = font_spec.split(":", 1)
|
|
395
|
+
fonts[font_type] = [f.strip().strip("'\"") for f in family.split(",")]
|
|
396
|
+
except ValueError:
|
|
397
|
+
print(f"Invalid font spec: {font_spec}", file=sys.stderr)
|
|
398
|
+
sys.exit(1)
|
|
399
|
+
generator.add_fonts(fonts)
|
|
400
|
+
|
|
401
|
+
# Add custom spacing
|
|
402
|
+
if args.spacing:
|
|
403
|
+
spacing = {}
|
|
404
|
+
for spacing_spec in args.spacing:
|
|
405
|
+
try:
|
|
406
|
+
name, value = spacing_spec.split(":", 1)
|
|
407
|
+
spacing[name] = value
|
|
408
|
+
except ValueError:
|
|
409
|
+
print(f"Invalid spacing spec: {spacing_spec}", file=sys.stderr)
|
|
410
|
+
sys.exit(1)
|
|
411
|
+
generator.add_spacing(spacing)
|
|
412
|
+
|
|
413
|
+
# Add custom breakpoints
|
|
414
|
+
if args.breakpoints:
|
|
415
|
+
breakpoints = {}
|
|
416
|
+
for bp_spec in args.breakpoints:
|
|
417
|
+
try:
|
|
418
|
+
name, width = bp_spec.split(":", 1)
|
|
419
|
+
breakpoints[name] = width
|
|
420
|
+
except ValueError:
|
|
421
|
+
print(f"Invalid breakpoint spec: {bp_spec}", file=sys.stderr)
|
|
422
|
+
sys.exit(1)
|
|
423
|
+
generator.add_breakpoints(breakpoints)
|
|
424
|
+
|
|
425
|
+
# Add recommended plugins
|
|
426
|
+
if args.plugins:
|
|
427
|
+
recommended = generator.recommend_plugins()
|
|
428
|
+
generator.add_plugins(recommended)
|
|
429
|
+
print(f"Added recommended plugins: {', '.join(recommended)}")
|
|
430
|
+
print("\nInstall with:")
|
|
431
|
+
print(f" npm install -D {' '.join(recommended)}")
|
|
432
|
+
|
|
433
|
+
# Validate
|
|
434
|
+
valid, message = generator.validate_config()
|
|
435
|
+
if not valid:
|
|
436
|
+
print(f"Validation failed: {message}", file=sys.stderr)
|
|
437
|
+
sys.exit(1)
|
|
438
|
+
|
|
439
|
+
if message.startswith("Warning"):
|
|
440
|
+
print(message)
|
|
441
|
+
|
|
442
|
+
# Validate only mode
|
|
443
|
+
if args.validate_only:
|
|
444
|
+
print("Configuration valid")
|
|
445
|
+
print("\nGenerated config:")
|
|
446
|
+
print(generator.generate_config_string())
|
|
447
|
+
sys.exit(0)
|
|
448
|
+
|
|
449
|
+
# Write config
|
|
450
|
+
success, message = generator.write_config()
|
|
451
|
+
print(message)
|
|
452
|
+
sys.exit(0 if success else 1)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
if __name__ == "__main__":
|
|
456
|
+
main()
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"meta": {"format": 3, "version": "7.11.0", "timestamp": "2025-11-05T00:57:08.005243", "branch_coverage": false, "show_contexts": false}, "files": {"shadcn_add.py": {"executed_lines": [2, 9, 10, 11, 12, 13, 14, 17, 18, 20, 28, 29, 30, 32, 39, 41, 48, 49, 51, 52, 53, 55, 58, 60, 63, 67, 80, 81, 83, 84, 90, 91, 93, 94, 101, 103, 104, 106, 107, 110, 111, 119, 120, 121, 123, 125, 126, 127, 128, 129, 131, 141, 142, 147, 149, 152, 153, 155, 156, 164, 165, 166, 168, 176, 183, 184, 186, 188, 189, 191, 194, 291], "summary": {"covered_lines": 70, "num_statements": 103, "percent_covered": 67.96116504854369, "percent_covered_display": "68", "missing_lines": 33, "excluded_lines": 0}, "missing_lines": [61, 64, 65, 150, 170, 171, 172, 173, 174, 196, 221, 227, 233, 239, 245, 251, 257, 260, 266, 267, 268, 269, 272, 273, 274, 275, 278, 279, 280, 282, 287, 288, 292], "excluded_lines": [], "functions": {"ShadcnInstaller.__init__": {"executed_lines": [28, 29, 30], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "ShadcnInstaller.check_shadcn_config": {"executed_lines": [39], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "ShadcnInstaller.get_installed_components": {"executed_lines": [48, 49, 51, 52, 53, 55, 58, 60, 63], "summary": {"covered_lines": 9, "num_statements": 12, "percent_covered": 75.0, "percent_covered_display": "75", "missing_lines": 3, "excluded_lines": 0}, "missing_lines": [61, 64, 65], "excluded_lines": []}, "ShadcnInstaller.add_components": {"executed_lines": [80, 81, 83, 84, 90, 91, 93, 94, 101, 103, 104, 106, 107, 110, 111, 119, 120, 121, 123, 125, 126, 127, 128, 129], "summary": {"covered_lines": 24, "num_statements": 24, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "ShadcnInstaller.add_all_components": {"executed_lines": [141, 142, 147, 149, 152, 153, 155, 156, 164, 165, 166, 168], "summary": {"covered_lines": 12, "num_statements": 18, "percent_covered": 66.66666666666667, "percent_covered_display": "67", "missing_lines": 6, "excluded_lines": 0}, "missing_lines": [150, 170, 171, 172, 173, 174], "excluded_lines": []}, "ShadcnInstaller.list_installed": {"executed_lines": [183, 184, 186, 188, 189, 191], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "main": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 23, "percent_covered": 0.0, "percent_covered_display": "0", "missing_lines": 23, "excluded_lines": 0}, "missing_lines": [196, 221, 227, 233, 239, 245, 251, 257, 260, 266, 267, 268, 269, 272, 273, 274, 275, 278, 279, 280, 282, 287, 288], "excluded_lines": []}, "": {"executed_lines": [2, 9, 10, 11, 12, 13, 14, 17, 18, 20, 32, 41, 67, 131, 176, 194, 291], "summary": {"covered_lines": 15, "num_statements": 16, "percent_covered": 93.75, "percent_covered_display": "94", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [292], "excluded_lines": []}}, "classes": {"ShadcnInstaller": {"executed_lines": [28, 29, 30, 39, 48, 49, 51, 52, 53, 55, 58, 60, 63, 80, 81, 83, 84, 90, 91, 93, 94, 101, 103, 104, 106, 107, 110, 111, 119, 120, 121, 123, 125, 126, 127, 128, 129, 141, 142, 147, 149, 152, 153, 155, 156, 164, 165, 166, 168, 183, 184, 186, 188, 189, 191], "summary": {"covered_lines": 55, "num_statements": 64, "percent_covered": 85.9375, "percent_covered_display": "86", "missing_lines": 9, "excluded_lines": 0}, "missing_lines": [61, 64, 65, 150, 170, 171, 172, 173, 174], "excluded_lines": []}, "": {"executed_lines": [2, 9, 10, 11, 12, 13, 14, 17, 18, 20, 32, 41, 67, 131, 176, 194, 291], "summary": {"covered_lines": 15, "num_statements": 39, "percent_covered": 38.46153846153846, "percent_covered_display": "38", "missing_lines": 24, "excluded_lines": 0}, "missing_lines": [196, 221, 227, 233, 239, 245, 251, 257, 260, 266, 267, 268, 269, 272, 273, 274, 275, 278, 279, 280, 282, 287, 288, 292], "excluded_lines": []}}}, "tailwind_config_gen.py": {"executed_lines": [2, 9, 10, 11, 12, 13, 16, 17, 19, 33, 34, 35, 36, 38, 40, 41, 43, 45, 54, 56, 75, 77, 85, 86, 88, 90, 99, 100, 102, 116, 124, 125, 127, 129, 137, 138, 140, 142, 150, 151, 153, 155, 163, 164, 165, 167, 174, 177, 180, 181, 183, 185, 192, 193, 194, 196, 198, 200, 203, 204, 205, 207, 217, 219, 221, 222, 223, 225, 232, 234, 235, 237, 240, 242, 244, 245, 247, 248, 250, 257, 258, 260, 262, 264, 265, 267, 275, 276, 279, 280, 285, 455], "summary": {"covered_lines": 90, "num_statements": 164, "percent_covered": 54.8780487804878, "percent_covered_display": "55", "missing_lines": 74, "excluded_lines": 0}, "missing_lines": [282, 287, 309, 316, 322, 328, 335, 342, 349, 356, 362, 368, 371, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 426, 427, 428, 429, 430, 431, 434, 435, 436, 437, 439, 440, 443, 444, 445, 446, 447, 450, 451, 452, 456], "excluded_lines": [], "functions": {"TailwindConfigGenerator.__init__": {"executed_lines": [33, 34, 35, 36], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._default_output_path": {"executed_lines": [40, 41], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._base_config": {"executed_lines": [45], "summary": {"covered_lines": 1, "num_statements": 1, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._default_content_paths": {"executed_lines": [56, 75], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_colors": {"executed_lines": [85, 86, 88], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_color_palette": {"executed_lines": [99, 100, 102], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_fonts": {"executed_lines": [124, 125, 127], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_spacing": {"executed_lines": [137, 138, 140], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_breakpoints": {"executed_lines": [150, 151, 153], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.add_plugins": {"executed_lines": [163, 164, 165], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.recommend_plugins": {"executed_lines": [174, 177, 180, 181, 183], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.generate_config_string": {"executed_lines": [192, 193, 194], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._generate_typescript": {"executed_lines": [198, 200, 203, 204, 205, 207], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._generate_javascript": {"executed_lines": [219, 221, 222, 223, 225], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._format_plugins": {"executed_lines": [234, 235, 237, 240], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator._indent_json": {"executed_lines": [244, 245, 247, 248], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.write_config": {"executed_lines": [257, 258, 260, 262, 264, 265], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TailwindConfigGenerator.validate_config": {"executed_lines": [275, 276, 279, 280], "summary": {"covered_lines": 4, "num_statements": 5, "percent_covered": 80.0, "percent_covered_display": "80", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [282], "excluded_lines": []}, "main": {"executed_lines": [], "summary": {"covered_lines": 0, "num_statements": 72, "percent_covered": 0.0, "percent_covered_display": "0", "missing_lines": 72, "excluded_lines": 0}, "missing_lines": [287, 309, 316, 322, 328, 335, 342, 349, 356, 362, 368, 371, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 426, 427, 428, 429, 430, 431, 434, 435, 436, 437, 439, 440, 443, 444, 445, 446, 447, 450, 451, 452], "excluded_lines": []}, "": {"executed_lines": [2, 9, 10, 11, 12, 13, 16, 17, 19, 38, 43, 54, 77, 90, 116, 129, 142, 155, 167, 185, 196, 217, 232, 242, 250, 267, 285, 455], "summary": {"covered_lines": 26, "num_statements": 27, "percent_covered": 96.29629629629629, "percent_covered_display": "96", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [456], "excluded_lines": []}}, "classes": {"TailwindConfigGenerator": {"executed_lines": [33, 34, 35, 36, 40, 41, 45, 56, 75, 85, 86, 88, 99, 100, 102, 124, 125, 127, 137, 138, 140, 150, 151, 153, 163, 164, 165, 174, 177, 180, 181, 183, 192, 193, 194, 198, 200, 203, 204, 205, 207, 219, 221, 222, 223, 225, 234, 235, 237, 240, 244, 245, 247, 248, 257, 258, 260, 262, 264, 265, 275, 276, 279, 280], "summary": {"covered_lines": 64, "num_statements": 65, "percent_covered": 98.46153846153847, "percent_covered_display": "98", "missing_lines": 1, "excluded_lines": 0}, "missing_lines": [282], "excluded_lines": []}, "": {"executed_lines": [2, 9, 10, 11, 12, 13, 16, 17, 19, 38, 43, 54, 77, 90, 116, 129, 142, 155, 167, 185, 196, 217, 232, 242, 250, 267, 285, 455], "summary": {"covered_lines": 26, "num_statements": 99, "percent_covered": 26.262626262626263, "percent_covered_display": "26", "missing_lines": 73, "excluded_lines": 0}, "missing_lines": [287, 309, 316, 322, 328, 335, 342, 349, 356, 362, 368, 371, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 426, 427, 428, 429, 430, 431, 434, 435, 436, 437, 439, 440, 443, 444, 445, 446, 447, 450, 451, 452, 456], "excluded_lines": []}}}, "tests/test_shadcn_add.py": {"executed_lines": [1, 3, 4, 5, 6, 8, 11, 12, 14, 17, 18, 20, 21, 23, 24, 27, 28, 39, 40, 42, 44, 46, 47, 48, 50, 52, 53, 55, 57, 58, 60, 62, 63, 65, 67, 68, 70, 72, 73, 74, 76, 78, 81, 82, 84, 85, 87, 89, 91, 92, 93, 95, 97, 98, 100, 101, 103, 105, 106, 108, 109, 111, 113, 114, 116, 117, 119, 120, 121, 123, 125, 126, 128, 130, 131, 136, 138, 139, 140, 143, 144, 146, 148, 149, 151, 152, 153, 154, 156, 157, 159, 165, 166, 168, 169, 170, 171, 174, 175, 176, 177, 178, 180, 181, 183, 187, 188, 190, 191, 193, 194, 196, 198, 199, 201, 202, 204, 206, 207, 209, 210, 212, 214, 215, 217, 218, 219, 221, 222, 224, 229, 230, 232, 233, 236, 237, 239, 241, 242, 244, 245, 247, 249, 250, 252, 253, 255, 257, 258, 259, 261, 262, 264, 265, 266], "summary": {"covered_lines": 153, "num_statements": 153, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"TestShadcnInstaller.temp_project": {"executed_lines": [23, 24, 27, 28, 39, 40, 42], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_init_default_project_root": {"executed_lines": [46, 47, 48], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_init_custom_project_root": {"executed_lines": [52, 53], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_init_dry_run": {"executed_lines": [57, 58], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_check_shadcn_config_exists": {"executed_lines": [62, 63], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_check_shadcn_config_not_exists": {"executed_lines": [67, 68], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_get_installed_components_empty": {"executed_lines": [72, 73, 74], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_get_installed_components_with_files": {"executed_lines": [78, 81, 82, 84, 85, 87], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_get_installed_components_no_config": {"executed_lines": [91, 92, 93], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_no_components": {"executed_lines": [97, 98, 100, 101], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_no_config": {"executed_lines": [105, 106, 108, 109], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_already_installed": {"executed_lines": [113, 114, 116, 117, 119, 120, 121], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_with_overwrite": {"executed_lines": [125, 126, 128, 130, 131, 136, 138, 139, 140, 143, 144], "summary": {"covered_lines": 11, "num_statements": 11, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_dry_run": {"executed_lines": [148, 149, 151, 152, 153, 154], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_success": {"executed_lines": [159, 165, 166, 168, 169, 170, 171, 174, 175, 176, 177, 178], "summary": {"covered_lines": 12, "num_statements": 12, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_subprocess_error": {"executed_lines": [183, 187, 188, 190, 191], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_components_npx_not_found": {"executed_lines": [196, 198, 199, 201, 202], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_all_components_no_config": {"executed_lines": [206, 207, 209, 210], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_all_components_dry_run": {"executed_lines": [214, 215, 217, 218, 219], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_add_all_components_success": {"executed_lines": [224, 229, 230, 232, 233, 236, 237], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_list_installed_no_config": {"executed_lines": [241, 242, 244, 245], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_list_installed_empty": {"executed_lines": [249, 250, 252, 253], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestShadcnInstaller.test_list_installed_with_components": {"executed_lines": [257, 258, 259, 261, 262, 264, 265, 266], "summary": {"covered_lines": 8, "num_statements": 8, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 5, 6, 8, 11, 12, 14, 17, 18, 20, 21, 44, 50, 55, 60, 65, 70, 76, 89, 95, 103, 111, 123, 146, 156, 157, 180, 181, 193, 194, 204, 212, 221, 222, 239, 247, 255], "summary": {"covered_lines": 37, "num_statements": 37, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"TestShadcnInstaller": {"executed_lines": [23, 24, 27, 28, 39, 40, 42, 46, 47, 48, 52, 53, 57, 58, 62, 63, 67, 68, 72, 73, 74, 78, 81, 82, 84, 85, 87, 91, 92, 93, 97, 98, 100, 101, 105, 106, 108, 109, 113, 114, 116, 117, 119, 120, 121, 125, 126, 128, 130, 131, 136, 138, 139, 140, 143, 144, 148, 149, 151, 152, 153, 154, 159, 165, 166, 168, 169, 170, 171, 174, 175, 176, 177, 178, 183, 187, 188, 190, 191, 196, 198, 199, 201, 202, 206, 207, 209, 210, 214, 215, 217, 218, 219, 224, 229, 230, 232, 233, 236, 237, 241, 242, 244, 245, 249, 250, 252, 253, 257, 258, 259, 261, 262, 264, 265, 266], "summary": {"covered_lines": 116, "num_statements": 116, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 4, 5, 6, 8, 11, 12, 14, 17, 18, 20, 21, 44, 50, 55, 60, 65, 70, 76, 89, 95, 103, 111, 123, 146, 156, 157, 180, 181, 193, 194, 204, 212, 221, 222, 239, 247, 255], "summary": {"covered_lines": 37, "num_statements": 37, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}, "tests/test_tailwind_config_gen.py": {"executed_lines": [1, 3, 5, 8, 9, 11, 14, 15, 17, 19, 20, 21, 23, 25, 26, 28, 30, 31, 32, 34, 36, 37, 39, 41, 42, 44, 46, 47, 48, 50, 52, 53, 55, 56, 57, 58, 59, 61, 63, 64, 66, 67, 69, 71, 72, 74, 75, 76, 78, 80, 81, 83, 85, 87, 88, 92, 94, 95, 96, 98, 100, 102, 103, 105, 106, 107, 109, 111, 112, 114, 116, 117, 118, 119, 120, 122, 124, 125, 129, 131, 132, 133, 135, 137, 138, 142, 144, 145, 146, 148, 150, 151, 155, 157, 158, 159, 161, 163, 164, 165, 167, 168, 170, 172, 173, 174, 176, 177, 179, 181, 182, 184, 185, 187, 189, 190, 192, 194, 196, 197, 199, 200, 201, 203, 205, 206, 208, 209, 211, 213, 214, 215, 217, 218, 220, 222, 223, 224, 226, 227, 229, 231, 232, 234, 236, 238, 239, 241, 243, 244, 246, 248, 251, 253, 254, 256, 258, 259, 261, 263, 264, 265, 267, 269, 270, 271, 273, 275, 276, 277, 279, 281, 283, 285, 286, 288, 290, 291, 298, 299, 300, 301, 302, 304, 305, 307, 310, 311, 312, 313, 314, 315, 317, 319, 320, 326, 327, 329, 330, 332, 334, 335, 336], "summary": {"covered_lines": 201, "num_statements": 201, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": [], "functions": {"TestTailwindConfigGenerator.test_init_default_typescript": {"executed_lines": [19, 20, 21], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_init_javascript": {"executed_lines": [25, 26], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_init_framework": {"executed_lines": [30, 31, 32], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_default_output_path_typescript": {"executed_lines": [36, 37], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_default_output_path_javascript": {"executed_lines": [41, 42], "summary": {"covered_lines": 2, "num_statements": 2, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_custom_output_path": {"executed_lines": [46, 47, 48], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_base_config_structure": {"executed_lines": [52, 53, 55, 56, 57, 58, 59], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_default_content_paths_react": {"executed_lines": [63, 64, 66, 67], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_default_content_paths_nextjs": {"executed_lines": [71, 72, 74, 75, 76], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_default_content_paths_vue": {"executed_lines": [80, 81, 83], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_colors": {"executed_lines": [87, 88, 92, 94, 95, 96], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_colors_multiple_times": {"executed_lines": [100, 102, 103, 105, 106, 107], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_color_palette": {"executed_lines": [111, 112, 114, 116, 117, 118, 119, 120], "summary": {"covered_lines": 8, "num_statements": 8, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_fonts": {"executed_lines": [124, 125, 129, 131, 132, 133], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_spacing": {"executed_lines": [137, 138, 142, 144, 145, 146], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_breakpoints": {"executed_lines": [150, 151, 155, 157, 158, 159], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_plugins": {"executed_lines": [163, 164, 165, 167, 168], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_add_plugins_no_duplicates": {"executed_lines": [172, 173, 174, 176, 177], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_recommend_plugins": {"executed_lines": [181, 182, 184, 185], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_recommend_plugins_nextjs": {"executed_lines": [189, 190, 192], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_generate_typescript_config": {"executed_lines": [196, 197, 199, 200, 201], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_generate_javascript_config": {"executed_lines": [205, 206, 208, 209], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_generate_config_with_colors": {"executed_lines": [213, 214, 215, 217, 218], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_generate_config_with_plugins": {"executed_lines": [222, 223, 224, 226, 227], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_validate_config_valid": {"executed_lines": [231, 232, 234], "summary": {"covered_lines": 3, "num_statements": 3, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_validate_config_no_content": {"executed_lines": [238, 239, 241, 243, 244], "summary": {"covered_lines": 5, "num_statements": 5, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_validate_config_empty_theme": {"executed_lines": [248, 251, 253, 254], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_write_config": {"executed_lines": [258, 259, 261, 263, 264, 265], "summary": {"covered_lines": 6, "num_statements": 6, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_write_config_creates_content": {"executed_lines": [269, 270, 271, 273, 275, 276, 277], "summary": {"covered_lines": 7, "num_statements": 7, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_write_config_invalid_path": {"executed_lines": [281, 283, 285, 286], "summary": {"covered_lines": 4, "num_statements": 4, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_full_configuration_typescript": {"executed_lines": [290, 291, 298, 299, 300, 301, 302, 304, 305, 307, 310, 311, 312, 313, 314, 315], "summary": {"covered_lines": 16, "num_statements": 16, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "TestTailwindConfigGenerator.test_full_configuration_javascript": {"executed_lines": [319, 320, 326, 327, 329, 330, 332, 334, 335, 336], "summary": {"covered_lines": 10, "num_statements": 10, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 8, 9, 11, 14, 15, 17, 23, 28, 34, 39, 44, 50, 61, 69, 78, 85, 98, 109, 122, 135, 148, 161, 170, 179, 187, 194, 203, 211, 220, 229, 236, 246, 256, 267, 279, 288, 317], "summary": {"covered_lines": 38, "num_statements": 38, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}, "classes": {"TestTailwindConfigGenerator": {"executed_lines": [19, 20, 21, 25, 26, 30, 31, 32, 36, 37, 41, 42, 46, 47, 48, 52, 53, 55, 56, 57, 58, 59, 63, 64, 66, 67, 71, 72, 74, 75, 76, 80, 81, 83, 87, 88, 92, 94, 95, 96, 100, 102, 103, 105, 106, 107, 111, 112, 114, 116, 117, 118, 119, 120, 124, 125, 129, 131, 132, 133, 137, 138, 142, 144, 145, 146, 150, 151, 155, 157, 158, 159, 163, 164, 165, 167, 168, 172, 173, 174, 176, 177, 181, 182, 184, 185, 189, 190, 192, 196, 197, 199, 200, 201, 205, 206, 208, 209, 213, 214, 215, 217, 218, 222, 223, 224, 226, 227, 231, 232, 234, 238, 239, 241, 243, 244, 248, 251, 253, 254, 258, 259, 261, 263, 264, 265, 269, 270, 271, 273, 275, 276, 277, 281, 283, 285, 286, 290, 291, 298, 299, 300, 301, 302, 304, 305, 307, 310, 311, 312, 313, 314, 315, 319, 320, 326, 327, 329, 330, 332, 334, 335, 336], "summary": {"covered_lines": 163, "num_statements": 163, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}, "": {"executed_lines": [1, 3, 5, 8, 9, 11, 14, 15, 17, 23, 28, 34, 39, 44, 50, 61, 69, 78, 85, 98, 109, 122, 135, 148, 161, 170, 179, 187, 194, 203, 211, 220, 229, 236, 246, 256, 267, 279, 288, 317], "summary": {"covered_lines": 38, "num_statements": 38, "percent_covered": 100.0, "percent_covered_display": "100", "missing_lines": 0, "excluded_lines": 0}, "missing_lines": [], "excluded_lines": []}}}}, "totals": {"covered_lines": 514, "num_statements": 621, "percent_covered": 82.76972624798712, "percent_covered_display": "83", "missing_lines": 107, "excluded_lines": 0}}
|