cfsa-antigravity 6.1.0 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -2
- package/bin/cli.mjs +2 -0
- package/package.json +1 -1
- package/template/.agents/mcp_config.json +7 -0
- package/template/.agents/skills/brand-guidelines/SKILL.md +14 -2
- package/template/.agents/skills/create-prd/SKILL.md +1 -1
- package/template/.agents/skills/create-prd-design-system/SKILL.md +16 -6
- package/template/.agents/skills/create-prd-stack/SKILL.md +10 -2
- package/template/.agents/skills/design-anti-cliche/SKILL.md +22 -4
- package/template/.agents/skills/design-direction/SKILL.md +34 -25
- package/template/.agents/skills/impeccable/SKILL.md +176 -0
- package/template/.agents/skills/impeccable/agents/openai.yaml +4 -0
- package/template/.agents/skills/impeccable/reference/adapt.md +190 -0
- package/template/.agents/skills/impeccable/reference/animate.md +175 -0
- package/template/.agents/skills/impeccable/reference/audit.md +133 -0
- package/template/.agents/skills/impeccable/reference/bolder.md +113 -0
- package/template/.agents/skills/impeccable/reference/brand.md +114 -0
- package/template/.agents/skills/impeccable/reference/clarify.md +174 -0
- package/template/.agents/skills/impeccable/reference/cognitive-load.md +106 -0
- package/template/.agents/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/template/.agents/skills/impeccable/reference/colorize.md +154 -0
- package/template/.agents/skills/impeccable/reference/craft.md +193 -0
- package/template/.agents/skills/impeccable/reference/critique.md +213 -0
- package/template/.agents/skills/impeccable/reference/delight.md +302 -0
- package/template/.agents/skills/impeccable/reference/distill.md +111 -0
- package/template/.agents/skills/impeccable/reference/document.md +427 -0
- package/template/.agents/skills/impeccable/reference/extract.md +69 -0
- package/template/.agents/skills/impeccable/reference/harden.md +347 -0
- package/template/.agents/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/template/.agents/skills/impeccable/reference/interaction-design.md +195 -0
- package/template/.agents/skills/impeccable/reference/layout.md +141 -0
- package/template/.agents/skills/impeccable/reference/live.md +622 -0
- package/template/.agents/skills/impeccable/reference/motion-design.md +109 -0
- package/template/.agents/skills/impeccable/reference/onboard.md +234 -0
- package/template/.agents/skills/impeccable/reference/optimize.md +258 -0
- package/template/.agents/skills/impeccable/reference/overdrive.md +130 -0
- package/template/.agents/skills/impeccable/reference/personas.md +179 -0
- package/template/.agents/skills/impeccable/reference/polish.md +233 -0
- package/template/.agents/skills/impeccable/reference/product.md +62 -0
- package/template/.agents/skills/impeccable/reference/quieter.md +99 -0
- package/template/.agents/skills/impeccable/reference/responsive-design.md +114 -0
- package/template/.agents/skills/impeccable/reference/shape.md +151 -0
- package/template/.agents/skills/impeccable/reference/spatial-design.md +100 -0
- package/template/.agents/skills/impeccable/reference/teach.md +156 -0
- package/template/.agents/skills/impeccable/reference/typeset.md +124 -0
- package/template/.agents/skills/impeccable/reference/typography.md +159 -0
- package/template/.agents/skills/impeccable/reference/ux-writing.md +107 -0
- package/template/.agents/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/template/.agents/skills/impeccable/scripts/command-metadata.json +94 -0
- package/template/.agents/skills/impeccable/scripts/design-parser.mjs +820 -0
- package/template/.agents/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/template/.agents/skills/impeccable/scripts/impeccable-paths.mjs +105 -0
- package/template/.agents/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/template/.agents/skills/impeccable/scripts/live-accept.mjs +595 -0
- package/template/.agents/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/template/.agents/skills/impeccable/scripts/live-browser.js +4860 -0
- package/template/.agents/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/template/.agents/skills/impeccable/scripts/live-completion.mjs +18 -0
- package/template/.agents/skills/impeccable/scripts/live-inject.mjs +446 -0
- package/template/.agents/skills/impeccable/scripts/live-poll.mjs +200 -0
- package/template/.agents/skills/impeccable/scripts/live-resume.mjs +48 -0
- package/template/.agents/skills/impeccable/scripts/live-server.mjs +836 -0
- package/template/.agents/skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/template/.agents/skills/impeccable/scripts/live-status.mjs +47 -0
- package/template/.agents/skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/template/.agents/skills/impeccable/scripts/live.mjs +247 -0
- package/template/.agents/skills/impeccable/scripts/load-context.mjs +141 -0
- package/template/.agents/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/template/.agents/skills/impeccable/scripts/pin.mjs +214 -0
- package/template/.agents/skills/write-fe-spec/SKILL.md +1 -1
- package/template/.agents/skills/write-fe-spec-classify/SKILL.md +1 -1
- package/template/.claude/CLAUDE.md +94 -0
- package/template/.claude/settings.json +30 -0
- package/template/.claude/skills/brand-guidelines/SKILL.md +14 -2
- package/template/.claude/skills/create-prd/SKILL.md +121 -65
- package/template/.claude/skills/create-prd-design-system/SKILL.md +163 -49
- package/template/.claude/skills/create-prd-stack/SKILL.md +130 -59
- package/template/.claude/skills/design-anti-cliche/SKILL.md +22 -4
- package/template/.claude/skills/design-direction/SKILL.md +34 -25
- package/template/.claude/skills/impeccable/SKILL.md +182 -0
- package/template/.claude/skills/impeccable/reference/adapt.md +190 -0
- package/template/.claude/skills/impeccable/reference/animate.md +175 -0
- package/template/.claude/skills/impeccable/reference/audit.md +133 -0
- package/template/.claude/skills/impeccable/reference/bolder.md +113 -0
- package/template/.claude/skills/impeccable/reference/brand.md +114 -0
- package/template/.claude/skills/impeccable/reference/clarify.md +174 -0
- package/template/.claude/skills/impeccable/reference/cognitive-load.md +106 -0
- package/template/.claude/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/template/.claude/skills/impeccable/reference/colorize.md +154 -0
- package/template/.claude/skills/impeccable/reference/craft.md +193 -0
- package/template/.claude/skills/impeccable/reference/critique.md +213 -0
- package/template/.claude/skills/impeccable/reference/delight.md +302 -0
- package/template/.claude/skills/impeccable/reference/distill.md +111 -0
- package/template/.claude/skills/impeccable/reference/document.md +427 -0
- package/template/.claude/skills/impeccable/reference/extract.md +69 -0
- package/template/.claude/skills/impeccable/reference/harden.md +347 -0
- package/template/.claude/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/template/.claude/skills/impeccable/reference/interaction-design.md +195 -0
- package/template/.claude/skills/impeccable/reference/layout.md +141 -0
- package/template/.claude/skills/impeccable/reference/live.md +622 -0
- package/template/.claude/skills/impeccable/reference/motion-design.md +109 -0
- package/template/.claude/skills/impeccable/reference/onboard.md +234 -0
- package/template/.claude/skills/impeccable/reference/optimize.md +258 -0
- package/template/.claude/skills/impeccable/reference/overdrive.md +130 -0
- package/template/.claude/skills/impeccable/reference/personas.md +179 -0
- package/template/.claude/skills/impeccable/reference/polish.md +233 -0
- package/template/.claude/skills/impeccable/reference/product.md +62 -0
- package/template/.claude/skills/impeccable/reference/quieter.md +99 -0
- package/template/.claude/skills/impeccable/reference/responsive-design.md +114 -0
- package/template/.claude/skills/impeccable/reference/shape.md +151 -0
- package/template/.claude/skills/impeccable/reference/spatial-design.md +100 -0
- package/template/.claude/skills/impeccable/reference/teach.md +156 -0
- package/template/.claude/skills/impeccable/reference/typeset.md +124 -0
- package/template/.claude/skills/impeccable/reference/typography.md +159 -0
- package/template/.claude/skills/impeccable/reference/ux-writing.md +107 -0
- package/template/.claude/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/template/.claude/skills/impeccable/scripts/command-metadata.json +94 -0
- package/template/.claude/skills/impeccable/scripts/design-parser.mjs +820 -0
- package/template/.claude/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/template/.claude/skills/impeccable/scripts/impeccable-paths.mjs +105 -0
- package/template/.claude/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/template/.claude/skills/impeccable/scripts/live-accept.mjs +595 -0
- package/template/.claude/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/template/.claude/skills/impeccable/scripts/live-browser.js +4860 -0
- package/template/.claude/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/template/.claude/skills/impeccable/scripts/live-completion.mjs +18 -0
- package/template/.claude/skills/impeccable/scripts/live-inject.mjs +446 -0
- package/template/.claude/skills/impeccable/scripts/live-poll.mjs +200 -0
- package/template/.claude/skills/impeccable/scripts/live-resume.mjs +48 -0
- package/template/.claude/skills/impeccable/scripts/live-server.mjs +836 -0
- package/template/.claude/skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/template/.claude/skills/impeccable/scripts/live-status.mjs +47 -0
- package/template/.claude/skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/template/.claude/skills/impeccable/scripts/live.mjs +247 -0
- package/template/.claude/skills/impeccable/scripts/load-context.mjs +141 -0
- package/template/.claude/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/template/.claude/skills/impeccable/scripts/pin.mjs +214 -0
- package/template/.claude/skills/write-fe-spec/SKILL.md +74 -60
- package/template/.claude/skills/write-fe-spec-classify/SKILL.md +158 -55
- package/template/.codex/AGENTS.md +84 -0
- package/template/.codex/config.toml +10 -0
- package/template/.codex/hooks.json +40 -0
- package/template/.codex/skills/brand-guidelines/SKILL.md +14 -2
- package/template/.codex/skills/create-prd/SKILL.md +121 -65
- package/template/.codex/skills/create-prd-design-system/SKILL.md +163 -49
- package/template/.codex/skills/create-prd-stack/SKILL.md +130 -59
- package/template/.codex/skills/design-anti-cliche/SKILL.md +22 -4
- package/template/.codex/skills/design-direction/SKILL.md +34 -25
- package/template/.codex/skills/write-fe-spec/SKILL.md +74 -60
- package/template/.codex/skills/write-fe-spec-classify/SKILL.md +158 -55
- package/template/.github/ISSUE_TEMPLATE/bug_report.yml +66 -0
- package/template/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/template/.github/ISSUE_TEMPLATE/feature_request.yml +52 -0
- package/template/.github/ISSUE_TEMPLATE/new_skill.yml +54 -0
- package/template/.github/PULL_REQUEST_TEMPLATE.md +19 -0
- package/template/.github/copilot-instructions.md +89 -0
- package/template/.github/hooks.json +14 -0
- package/template/.github/instructions/commands.md +24 -0
- package/template/.github/instructions/example.md +21 -0
- package/template/.github/instructions/patterns.md +61 -0
- package/template/.github/instructions/structure.md +29 -0
- package/template/.github/instructions/tech-stack.md +91 -0
- package/template/.github/instructions/workflow.md +65 -0
- package/template/.github/mcp.json +8 -0
- package/template/.github/rules/boundary-not-placeholder.md +146 -0
- package/template/.github/rules/completion-checklist.md +60 -0
- package/template/.github/rules/debug-by-test.md +49 -0
- package/template/.github/rules/decision-classification.md +113 -0
- package/template/.github/rules/extensibility.md +52 -0
- package/template/.github/rules/memory-capture.md +71 -0
- package/template/.github/rules/question-vs-command.md +91 -0
- package/template/.github/rules/security-first.md +54 -0
- package/template/.github/rules/single-question.md +59 -0
- package/template/.github/rules/skill-mcp-first.md +45 -0
- package/template/.github/rules/source-before-ask.md +93 -0
- package/template/.github/rules/specificity-standards.md +64 -0
- package/template/.github/rules/tdd-contract-first.md +67 -0
- package/template/.github/rules/vertical-slices.md +83 -0
- package/template/.github/skill-library/MANIFEST.md +498 -0
- package/template/.github/skill-library/README.md +38 -0
- package/template/.github/skill-library/meta/claude-code/README.md +9 -0
- package/template/.github/skill-library/meta/claude-code/agent-development/SKILL.md +415 -0
- package/template/.github/skill-library/meta/claude-code/hook-development/SKILL.md +712 -0
- package/template/.github/skill-library/meta/claude-code/plugin-structure/SKILL.md +476 -0
- package/template/.github/skill-library/meta/mcp-builder/SKILL.md +236 -0
- package/template/.github/skill-library/meta/product-marketing-context/SKILL.md +241 -0
- package/template/.github/skill-library/meta/tmux-processes/SKILL.md +210 -0
- package/template/.github/skill-library/meta/using-tmux-for-interactive-commands/SKILL.md +178 -0
- package/template/.github/skill-library/stack/3d/threejs-pro/SKILL.md +300 -0
- package/template/.github/skill-library/stack/ai/ai-sdk/SKILL.md +77 -0
- package/template/.github/skill-library/stack/ai/langchain/SKILL.md +530 -0
- package/template/.github/skill-library/stack/ai/ollama/SKILL.md +321 -0
- package/template/.github/skill-library/stack/ai/openai-sdk/SKILL.md +549 -0
- package/template/.github/skill-library/stack/analytics/google-analytics/SKILL.md +153 -0
- package/template/.github/skill-library/stack/api/graphql/SKILL.md +1061 -0
- package/template/.github/skill-library/stack/api/trpc/SKILL.md +576 -0
- package/template/.github/skill-library/stack/auth/authjs/SKILL.md +569 -0
- package/template/.github/skill-library/stack/auth/clerk/SKILL.md +590 -0
- package/template/.github/skill-library/stack/auth/firebase-auth/SKILL.md +734 -0
- package/template/.github/skill-library/stack/auth/lucia/SKILL.md +230 -0
- package/template/.github/skill-library/stack/auth/supabase-auth/SKILL.md +293 -0
- package/template/.github/skill-library/stack/cms/payload-cms/SKILL.md +573 -0
- package/template/.github/skill-library/stack/cms/shopify/SKILL.md +1193 -0
- package/template/.github/skill-library/stack/cms/wordpress/SKILL.md +1104 -0
- package/template/.github/skill-library/stack/css/sass-scss/SKILL.md +1121 -0
- package/template/.github/skill-library/stack/css/tailwind-css-patterns/SKILL.md +863 -0
- package/template/.github/skill-library/stack/css/tailwind-design-system/SKILL.md +490 -0
- package/template/.github/skill-library/stack/css/vanilla-css/SKILL.md +1078 -0
- package/template/.github/skill-library/stack/databases/clickhouse/SKILL.md +311 -0
- package/template/.github/skill-library/stack/databases/influxdb/SKILL.md +280 -0
- package/template/.github/skill-library/stack/databases/lancedb/SKILL.md +415 -0
- package/template/.github/skill-library/stack/databases/mongodb/SKILL.md +1169 -0
- package/template/.github/skill-library/stack/databases/neo4j/SKILL.md +839 -0
- package/template/.github/skill-library/stack/databases/pgvector/SKILL.md +241 -0
- package/template/.github/skill-library/stack/databases/pinecone/SKILL.md +212 -0
- package/template/.github/skill-library/stack/databases/postgresql/SKILL.md +658 -0
- package/template/.github/skill-library/stack/databases/qdrant/SKILL.md +312 -0
- package/template/.github/skill-library/stack/databases/redis/SKILL.md +1079 -0
- package/template/.github/skill-library/stack/databases/spacetimedb/SKILL.md +532 -0
- package/template/.github/skill-library/stack/databases/sqlite/SKILL.md +1132 -0
- package/template/.github/skill-library/stack/databases/supabase/SKILL.md +640 -0
- package/template/.github/skill-library/stack/databases/surrealdb-expert/SKILL.md +945 -0
- package/template/.github/skill-library/stack/databases/timescaledb/SKILL.md +745 -0
- package/template/.github/skill-library/stack/databases/weaviate/SKILL.md +218 -0
- package/template/.github/skill-library/stack/devops/git-advanced/SKILL.md +972 -0
- package/template/.github/skill-library/stack/devops/git-workflow/SKILL.md +420 -0
- package/template/.github/skill-library/stack/devops/github-actions/SKILL.md +554 -0
- package/template/.github/skill-library/stack/devops/kubernetes/SKILL.md +950 -0
- package/template/.github/skill-library/stack/devops/nginx/SKILL.md +841 -0
- package/template/.github/skill-library/stack/devops/terraform/SKILL.md +860 -0
- package/template/.github/skill-library/stack/email/resend/SKILL.md +391 -0
- package/template/.github/skill-library/stack/extensions/chrome-extension/SKILL.md +375 -0
- package/template/.github/skill-library/stack/extensions/plasmo/SKILL.md +195 -0
- package/template/.github/skill-library/stack/extensions/vscode-extension/SKILL.md +453 -0
- package/template/.github/skill-library/stack/extensions/wxt/SKILL.md +216 -0
- package/template/.github/skill-library/stack/feature-flags/flagsmith/SKILL.md +187 -0
- package/template/.github/skill-library/stack/feature-flags/launchdarkly/SKILL.md +183 -0
- package/template/.github/skill-library/stack/feature-flags/posthog-flags/SKILL.md +189 -0
- package/template/.github/skill-library/stack/frameworks/astro-framework/SKILL.md +162 -0
- package/template/.github/skill-library/stack/frameworks/electron/SKILL.md +1286 -0
- package/template/.github/skill-library/stack/frameworks/fastapi/SKILL.md +650 -0
- package/template/.github/skill-library/stack/frameworks/hono/SKILL.md +90 -0
- package/template/.github/skill-library/stack/frameworks/nestjs/SKILL.md +878 -0
- package/template/.github/skill-library/stack/frameworks/nextjs/SKILL.md +635 -0
- package/template/.github/skill-library/stack/frameworks/nuxt/SKILL.md +564 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/SKILL.md +81 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/events.md +353 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/migration.md +339 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/performance.md +443 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/runes.md +394 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/snippets.md +291 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/sveltekit.md +401 -0
- package/template/.github/skill-library/stack/frameworks/svelte5/references/typescript.md +305 -0
- package/template/.github/skill-library/stack/frameworks/sveltekit/SKILL.md +614 -0
- package/template/.github/skill-library/stack/frameworks/tauri/SKILL.md +920 -0
- package/template/.github/skill-library/stack/gamedev/godot/SKILL.md +1032 -0
- package/template/.github/skill-library/stack/gamedev/unity/SKILL.md +1175 -0
- package/template/.github/skill-library/stack/hosting/aws/SKILL.md +467 -0
- package/template/.github/skill-library/stack/hosting/cloudflare/SKILL.md +201 -0
- package/template/.github/skill-library/stack/hosting/docker-expert/SKILL.md +409 -0
- package/template/.github/skill-library/stack/hosting/vercel/SKILL.md +484 -0
- package/template/.github/skill-library/stack/languages/bash-scripting/SKILL.md +773 -0
- package/template/.github/skill-library/stack/languages/c-cpp/SKILL.md +712 -0
- package/template/.github/skill-library/stack/languages/gdscript/SKILL.md +789 -0
- package/template/.github/skill-library/stack/languages/go/SKILL.md +664 -0
- package/template/.github/skill-library/stack/languages/java/SKILL.md +778 -0
- package/template/.github/skill-library/stack/languages/kotlin/SKILL.md +665 -0
- package/template/.github/skill-library/stack/languages/python/SKILL.md +678 -0
- package/template/.github/skill-library/stack/languages/rust/SKILL.md +673 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/SKILL.md +141 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/advanced-generics.md +90 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/branded-types.md +57 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/builder-pattern.md +71 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/common-pitfalls.md +135 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/conditional-types.md +27 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/decorators.md +98 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/discriminated-unions.md +62 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/mapped-types.md +53 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/performance-best-practices.md +104 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/template-literal-types.md +49 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/testing-types.md +112 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/type-guards.md +70 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/type-inference.md +101 -0
- package/template/.github/skill-library/stack/languages/typescript-advanced-patterns/references/utility-types.md +98 -0
- package/template/.github/skill-library/stack/languages/vanilla-javascript/SKILL.md +803 -0
- package/template/.github/skill-library/stack/messaging/kafka/SKILL.md +235 -0
- package/template/.github/skill-library/stack/messaging/nats/SKILL.md +147 -0
- package/template/.github/skill-library/stack/messaging/rabbitmq/SKILL.md +178 -0
- package/template/.github/skill-library/stack/messaging/sqs/SKILL.md +187 -0
- package/template/.github/skill-library/stack/mobile/expo-react-native/SKILL.md +665 -0
- package/template/.github/skill-library/stack/mobile/flutter/SKILL.md +316 -0
- package/template/.github/skill-library/stack/mobile/kotlin-compose/SKILL.md +215 -0
- package/template/.github/skill-library/stack/mobile/react-native/SKILL.md +337 -0
- package/template/.github/skill-library/stack/mobile/swiftui/SKILL.md +261 -0
- package/template/.github/skill-library/stack/monitoring/posthog/SKILL.md +396 -0
- package/template/.github/skill-library/stack/monitoring/sentry/SKILL.md +509 -0
- package/template/.github/skill-library/stack/notifications/fcm/SKILL.md +229 -0
- package/template/.github/skill-library/stack/notifications/sendgrid/SKILL.md +220 -0
- package/template/.github/skill-library/stack/notifications/twilio/SKILL.md +204 -0
- package/template/.github/skill-library/stack/observability/datadog/SKILL.md +179 -0
- package/template/.github/skill-library/stack/observability/distributed-tracing/SKILL.md +140 -0
- package/template/.github/skill-library/stack/observability/opentelemetry/SKILL.md +164 -0
- package/template/.github/skill-library/stack/observability/prometheus-grafana/SKILL.md +246 -0
- package/template/.github/skill-library/stack/observability/python-observability/SKILL.md +158 -0
- package/template/.github/skill-library/stack/orm/drizzle-orm/SKILL.md +613 -0
- package/template/.github/skill-library/stack/orm/prisma/SKILL.md +744 -0
- package/template/.github/skill-library/stack/payments/lemonsqueezy/SKILL.md +393 -0
- package/template/.github/skill-library/stack/payments/stripe-integration/SKILL.md +457 -0
- package/template/.github/skill-library/stack/queue/bullmq/SKILL.md +385 -0
- package/template/.github/skill-library/stack/queue/inngest/SKILL.md +438 -0
- package/template/.github/skill-library/stack/realtime/socketio/SKILL.md +595 -0
- package/template/.github/skill-library/stack/search/algolia/SKILL.md +206 -0
- package/template/.github/skill-library/stack/search/elasticsearch/SKILL.md +248 -0
- package/template/.github/skill-library/stack/search/meilisearch/SKILL.md +385 -0
- package/template/.github/skill-library/stack/search/typesense/SKILL.md +189 -0
- package/template/.github/skill-library/stack/security/crypto-patterns/SKILL.md +437 -0
- package/template/.github/skill-library/stack/security/csp-cors-headers/SKILL.md +588 -0
- package/template/.github/skill-library/stack/security/dependency-auditing/SKILL.md +560 -0
- package/template/.github/skill-library/stack/security/input-sanitization/SKILL.md +430 -0
- package/template/.github/skill-library/stack/security/owasp-web-security/SKILL.md +421 -0
- package/template/.github/skill-library/stack/state/tanstack-query/SKILL.md +637 -0
- package/template/.github/skill-library/stack/state/zustand/SKILL.md +483 -0
- package/template/.github/skill-library/stack/storage/aws-s3/SKILL.md +415 -0
- package/template/.github/skill-library/stack/storage/cloudflare-r2/SKILL.md +252 -0
- package/template/.github/skill-library/stack/storage/gcs/SKILL.md +229 -0
- package/template/.github/skill-library/stack/testing/playwright/SKILL.md +641 -0
- package/template/.github/skill-library/stack/testing/storybook/SKILL.md +923 -0
- package/template/.github/skill-library/stack/testing/testing-library/SKILL.md +872 -0
- package/template/.github/skill-library/stack/testing/vitest/SKILL.md +714 -0
- package/template/.github/skill-library/stack/ui/react-best-practices/SKILL.md +877 -0
- package/template/.github/skill-library/stack/ui/react-composition-patterns/SKILL.md +1107 -0
- package/template/.github/skill-library/stack/ui/react-flow/SKILL.md +425 -0
- package/template/.github/skill-library/stack/ui/shadcn-ui/SKILL.md +703 -0
- package/template/.github/skill-library/stack/ui/svelte-flow/SKILL.md +390 -0
- package/template/.github/skill-library/surface/api/api-caching/SKILL.md +458 -0
- package/template/.github/skill-library/surface/api/api-documentation-openapi/SKILL.md +697 -0
- package/template/.github/skill-library/surface/api/api-error-handling/SKILL.md +478 -0
- package/template/.github/skill-library/surface/api/api-security-checklist/SKILL.md +147 -0
- package/template/.github/skill-library/surface/api/email-best-practices/SKILL.md +59 -0
- package/template/.github/skill-library/surface/api/rate-limiting-abuse-protection/SKILL.md +147 -0
- package/template/.github/skill-library/surface/api/webhook-design/SKILL.md +752 -0
- package/template/.github/skill-library/surface/cli/cli-configuration-management/SKILL.md +445 -0
- package/template/.github/skill-library/surface/cli/cli-error-diagnostics/SKILL.md +515 -0
- package/template/.github/skill-library/surface/cli/cli-shell-integration/SKILL.md +479 -0
- package/template/.github/skill-library/surface/cli/cli-ux-design/SKILL.md +477 -0
- package/template/.github/skill-library/surface/desktop/desktop-app-distribution/SKILL.md +416 -0
- package/template/.github/skill-library/surface/desktop/desktop-security-sandboxing/SKILL.md +407 -0
- package/template/.github/skill-library/surface/desktop/desktop-ux-conventions/SKILL.md +361 -0
- package/template/.github/skill-library/surface/desktop/native-os-integration/SKILL.md +563 -0
- package/template/.github/skill-library/surface/extension/browser-extension-patterns/SKILL.md +482 -0
- package/template/.github/skill-library/surface/extension/plugin-architecture-design/SKILL.md +632 -0
- package/template/.github/skill-library/surface/extension/vscode-extension-development/SKILL.md +728 -0
- package/template/.github/skill-library/surface/mobile/app-store-submission/SKILL.md +304 -0
- package/template/.github/skill-library/surface/mobile/mobile-offline-sync/SKILL.md +443 -0
- package/template/.github/skill-library/surface/mobile/mobile-responsive-patterns/SKILL.md +432 -0
- package/template/.github/skill-library/surface/mobile/push-notifications/SKILL.md +495 -0
- package/template/.github/skill-library/surface/web/accessibility-compliance/SKILL.md +827 -0
- package/template/.github/skill-library/surface/web/ai-seo/SKILL.md +398 -0
- package/template/.github/skill-library/surface/web/ai-seo/references/content-patterns.md +285 -0
- package/template/.github/skill-library/surface/web/ai-seo/references/platform-ranking-factors.md +152 -0
- package/template/.github/skill-library/surface/web/analytics-tracking/SKILL.md +309 -0
- package/template/.github/skill-library/surface/web/analytics-tracking/references/event-library.md +260 -0
- package/template/.github/skill-library/surface/web/analytics-tracking/references/ga4-implementation.md +300 -0
- package/template/.github/skill-library/surface/web/analytics-tracking/references/gtm-implementation.md +390 -0
- package/template/.github/skill-library/surface/web/authentication-ui-flows/SKILL.md +530 -0
- package/template/.github/skill-library/surface/web/dark-mode-theming/SKILL.md +516 -0
- package/template/.github/skill-library/surface/web/design-reference-data/SKILL.md +105 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/charts.csv +26 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/colors.csv +97 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/landing.csv +31 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/styles.csv +59 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/typography.csv +58 -0
- package/template/.github/skill-library/surface/web/design-reference-data/data/ux-guidelines.csv +100 -0
- package/template/.github/skill-library/surface/web/design-reference-data/scripts/core.py +258 -0
- package/template/.github/skill-library/surface/web/design-reference-data/scripts/design_system.py +1067 -0
- package/template/.github/skill-library/surface/web/design-reference-data/scripts/search.py +106 -0
- package/template/.github/skill-library/surface/web/form-handling-validation/SKILL.md +675 -0
- package/template/.github/skill-library/surface/web/frontend-design/SKILL.md +1393 -0
- package/template/.github/skill-library/surface/web/frontend-design/templates/cppn-hero.tsx +299 -0
- package/template/.github/skill-library/surface/web/frontend-design/templates/wave-hero.tsx +875 -0
- package/template/.github/skill-library/surface/web/frontend-verification/SKILL.md +111 -0
- package/template/.github/skill-library/surface/web/frontend-verification/scripts/ux_audit.py +739 -0
- package/template/.github/skill-library/surface/web/i18n-localization/SKILL.md +332 -0
- package/template/.github/skill-library/surface/web/i18n-localization/references/icu-message-format.md +223 -0
- package/template/.github/skill-library/surface/web/i18n-localization/references/intl-api-patterns.md +326 -0
- package/template/.github/skill-library/surface/web/i18n-localization/references/rtl-support.md +298 -0
- package/template/.github/skill-library/surface/web/offline-first-pwa/SKILL.md +657 -0
- package/template/.github/skill-library/surface/web/page-cro/SKILL.md +182 -0
- package/template/.github/skill-library/surface/web/page-cro/references/experiments.md +248 -0
- package/template/.github/skill-library/surface/web/programmatic-seo/SKILL.md +238 -0
- package/template/.github/skill-library/surface/web/programmatic-seo/references/playbooks.md +308 -0
- package/template/.github/skill-library/surface/web/schema-markup/SKILL.md +179 -0
- package/template/.github/skill-library/surface/web/schema-markup/references/schema-examples.md +398 -0
- package/template/.github/skill-library/surface/web/seo-audit/SKILL.md +394 -0
- package/template/.github/skill-library/surface/web/seo-audit/references/ai-writing-detection.md +200 -0
- package/template/.github/skill-library/surface/web/web-performance-optimization/SKILL.md +646 -0
- package/template/.github/skill-library/surface/web/web-scraping/SKILL.md +58 -0
- package/template/.github/skills/accessibility/SKILL.md +522 -0
- package/template/.github/skills/accessibility/references/WCAG.md +162 -0
- package/template/.github/skills/accessibility/references/ia-spec-checklist.md +35 -0
- package/template/.github/skills/adversarial-review/SKILL.md +90 -0
- package/template/.github/skills/antigravity-workflows/SKILL.md +81 -0
- package/template/.github/skills/antigravity-workflows/resources/implementation-playbook.md +36 -0
- package/template/.github/skills/api-design-principles/SKILL.md +169 -0
- package/template/.github/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/template/.github/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/template/.github/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/template/.github/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/template/.github/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/template/.github/skills/api-versioning/SKILL.md +166 -0
- package/template/.github/skills/api-versioning/references/typescript.md +157 -0
- package/template/.github/skills/architecture-mapping/SKILL.md +219 -0
- package/template/.github/skills/audit-ambiguity/SKILL.md +64 -0
- package/template/.github/skills/audit-ambiguity-execute/SKILL.md +177 -0
- package/template/.github/skills/audit-ambiguity-rubrics/SKILL.md +100 -0
- package/template/.github/skills/bootstrap-agents/SKILL.md +72 -0
- package/template/.github/skills/bootstrap-agents/library-skill.md +258 -0
- package/template/.github/skills/bootstrap-agents-fill/SKILL.md +143 -0
- package/template/.github/skills/bootstrap-agents-provision/SKILL.md +165 -0
- package/template/.github/skills/brainstorming/SKILL.md +177 -0
- package/template/.github/skills/brand-guidelines/SKILL.md +56 -0
- package/template/.github/skills/clean-code/SKILL.md +196 -0
- package/template/.github/skills/clean-code/references/typescript.md +126 -0
- package/template/.github/skills/code-review-pro/SKILL.md +152 -0
- package/template/.github/skills/concise-planning/SKILL.md +107 -0
- package/template/.github/skills/create-prd/SKILL.md +150 -0
- package/template/.github/skills/create-prd-architecture/SKILL.md +162 -0
- package/template/.github/skills/create-prd-compile/SKILL.md +175 -0
- package/template/.github/skills/create-prd-design-system/SKILL.md +183 -0
- package/template/.github/skills/create-prd-security/SKILL.md +155 -0
- package/template/.github/skills/create-prd-stack/SKILL.md +155 -0
- package/template/.github/skills/cross-layer-consistency/SKILL.md +117 -0
- package/template/.github/skills/database-schema-design/SKILL.md +205 -0
- package/template/.github/skills/database-schema-design/references/relational.md +228 -0
- package/template/.github/skills/decompose-architecture/SKILL.md +102 -0
- package/template/.github/skills/decompose-architecture-structure/SKILL.md +109 -0
- package/template/.github/skills/decompose-architecture-validate/SKILL.md +103 -0
- package/template/.github/skills/deployment-procedures/SKILL.md +241 -0
- package/template/.github/skills/design-anti-cliche/SKILL.md +177 -0
- package/template/.github/skills/design-direction/SKILL.md +54 -0
- package/template/.github/skills/error-handling-patterns/SKILL.md +226 -0
- package/template/.github/skills/error-handling-patterns/references/go.md +162 -0
- package/template/.github/skills/error-handling-patterns/references/python.md +262 -0
- package/template/.github/skills/error-handling-patterns/references/rust.md +112 -0
- package/template/.github/skills/error-handling-patterns/references/typescript.md +178 -0
- package/template/.github/skills/evolve-contract/SKILL.md +130 -0
- package/template/.github/skills/evolve-feature/SKILL.md +56 -0
- package/template/.github/skills/evolve-feature-cascade/SKILL.md +98 -0
- package/template/.github/skills/evolve-feature-classify/SKILL.md +90 -0
- package/template/.github/skills/find-skills/SKILL.md +145 -0
- package/template/.github/skills/git-advanced/SKILL.md +972 -0
- package/template/.github/skills/git-workflow/SKILL.md +420 -0
- package/template/.github/skills/idea-extraction/SKILL.md +644 -0
- package/template/.github/skills/ideate/SKILL.md +137 -0
- package/template/.github/skills/ideate-discover/SKILL.md +191 -0
- package/template/.github/skills/ideate-extract/SKILL.md +112 -0
- package/template/.github/skills/ideate-validate/SKILL.md +154 -0
- package/template/.github/skills/impeccable/SKILL.md +176 -0
- package/template/.github/skills/impeccable/agents/openai.yaml +4 -0
- package/template/.github/skills/impeccable/reference/adapt.md +190 -0
- package/template/.github/skills/impeccable/reference/animate.md +175 -0
- package/template/.github/skills/impeccable/reference/audit.md +133 -0
- package/template/.github/skills/impeccable/reference/bolder.md +113 -0
- package/template/.github/skills/impeccable/reference/brand.md +114 -0
- package/template/.github/skills/impeccable/reference/clarify.md +174 -0
- package/template/.github/skills/impeccable/reference/cognitive-load.md +106 -0
- package/template/.github/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/template/.github/skills/impeccable/reference/colorize.md +154 -0
- package/template/.github/skills/impeccable/reference/craft.md +193 -0
- package/template/.github/skills/impeccable/reference/critique.md +213 -0
- package/template/.github/skills/impeccable/reference/delight.md +302 -0
- package/template/.github/skills/impeccable/reference/distill.md +111 -0
- package/template/.github/skills/impeccable/reference/document.md +427 -0
- package/template/.github/skills/impeccable/reference/extract.md +69 -0
- package/template/.github/skills/impeccable/reference/harden.md +347 -0
- package/template/.github/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/template/.github/skills/impeccable/reference/interaction-design.md +195 -0
- package/template/.github/skills/impeccable/reference/layout.md +141 -0
- package/template/.github/skills/impeccable/reference/live.md +622 -0
- package/template/.github/skills/impeccable/reference/motion-design.md +109 -0
- package/template/.github/skills/impeccable/reference/onboard.md +234 -0
- package/template/.github/skills/impeccable/reference/optimize.md +258 -0
- package/template/.github/skills/impeccable/reference/overdrive.md +130 -0
- package/template/.github/skills/impeccable/reference/personas.md +179 -0
- package/template/.github/skills/impeccable/reference/polish.md +233 -0
- package/template/.github/skills/impeccable/reference/product.md +62 -0
- package/template/.github/skills/impeccable/reference/quieter.md +99 -0
- package/template/.github/skills/impeccable/reference/responsive-design.md +114 -0
- package/template/.github/skills/impeccable/reference/shape.md +151 -0
- package/template/.github/skills/impeccable/reference/spatial-design.md +100 -0
- package/template/.github/skills/impeccable/reference/teach.md +156 -0
- package/template/.github/skills/impeccable/reference/typeset.md +124 -0
- package/template/.github/skills/impeccable/reference/typography.md +159 -0
- package/template/.github/skills/impeccable/reference/ux-writing.md +107 -0
- package/template/.github/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/template/.github/skills/impeccable/scripts/command-metadata.json +94 -0
- package/template/.github/skills/impeccable/scripts/design-parser.mjs +820 -0
- package/template/.github/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/template/.github/skills/impeccable/scripts/impeccable-paths.mjs +105 -0
- package/template/.github/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/template/.github/skills/impeccable/scripts/live-accept.mjs +595 -0
- package/template/.github/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/template/.github/skills/impeccable/scripts/live-browser.js +4860 -0
- package/template/.github/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/template/.github/skills/impeccable/scripts/live-completion.mjs +18 -0
- package/template/.github/skills/impeccable/scripts/live-inject.mjs +446 -0
- package/template/.github/skills/impeccable/scripts/live-poll.mjs +200 -0
- package/template/.github/skills/impeccable/scripts/live-resume.mjs +48 -0
- package/template/.github/skills/impeccable/scripts/live-server.mjs +836 -0
- package/template/.github/skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/template/.github/skills/impeccable/scripts/live-status.mjs +47 -0
- package/template/.github/skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/template/.github/skills/impeccable/scripts/live.mjs +247 -0
- package/template/.github/skills/impeccable/scripts/load-context.mjs +141 -0
- package/template/.github/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/template/.github/skills/impeccable/scripts/pin.mjs +214 -0
- package/template/.github/skills/implement-slice/SKILL.md +60 -0
- package/template/.github/skills/implement-slice-setup/SKILL.md +135 -0
- package/template/.github/skills/implement-slice-tdd/SKILL.md +202 -0
- package/template/.github/skills/logging-best-practices/SKILL.md +192 -0
- package/template/.github/skills/logging-best-practices/references/go.md +49 -0
- package/template/.github/skills/logging-best-practices/references/python.md +52 -0
- package/template/.github/skills/logging-best-practices/references/typescript.md +215 -0
- package/template/.github/skills/migration-management/SKILL.md +200 -0
- package/template/.github/skills/migration-management/references/relational.md +214 -0
- package/template/.github/skills/minimalist-surgical-development/SKILL.md +135 -0
- package/template/.github/skills/parallel-agents/SKILL.md +165 -0
- package/template/.github/skills/parallel-debugging/SKILL.md +135 -0
- package/template/.github/skills/parallel-feature-development/SKILL.md +157 -0
- package/template/.github/skills/performance-budgeting/SKILL.md +144 -0
- package/template/.github/skills/pipeline-rubrics/SKILL.md +51 -0
- package/template/.github/skills/pipeline-rubrics/references/architecture-rubric.md +19 -0
- package/template/.github/skills/pipeline-rubrics/references/be-rubric.md +21 -0
- package/template/.github/skills/pipeline-rubrics/references/fe-rubric.md +20 -0
- package/template/.github/skills/pipeline-rubrics/references/ia-rubric.md +19 -0
- package/template/.github/skills/pipeline-rubrics/references/scoring.md +32 -0
- package/template/.github/skills/pipeline-rubrics/references/vision-rubric.md +12 -0
- package/template/.github/skills/plan-phase/SKILL.md +54 -0
- package/template/.github/skills/plan-phase-preflight/SKILL.md +138 -0
- package/template/.github/skills/plan-phase-write/SKILL.md +171 -0
- package/template/.github/skills/prd-templates/SKILL.md +107 -0
- package/template/.github/skills/prd-templates/references/architecture-completeness-checklist.md +28 -0
- package/template/.github/skills/prd-templates/references/architecture-design-template.md +88 -0
- package/template/.github/skills/prd-templates/references/be-spec-classification.md +41 -0
- package/template/.github/skills/prd-templates/references/be-spec-template.md +107 -0
- package/template/.github/skills/prd-templates/references/bootstrap-verification-protocol.md +50 -0
- package/template/.github/skills/prd-templates/references/constraint-exploration.md +41 -0
- package/template/.github/skills/prd-templates/references/data-placement-template.md +74 -0
- package/template/.github/skills/prd-templates/references/decision-confirmation-protocol.md +68 -0
- package/template/.github/skills/prd-templates/references/decision-propagation.md +121 -0
- package/template/.github/skills/prd-templates/references/decomposition-templates.md +226 -0
- package/template/.github/skills/prd-templates/references/deep-ideation-loading-protocol.md +114 -0
- package/template/.github/skills/prd-templates/references/design-system-decisions.md +198 -0
- package/template/.github/skills/prd-templates/references/design-system-prerequisite-check.md +18 -0
- package/template/.github/skills/prd-templates/references/domain-exhaustion-criteria.md +37 -0
- package/template/.github/skills/prd-templates/references/engagement-tier-protocol.md +58 -0
- package/template/.github/skills/prd-templates/references/engineering-standards-template.md +126 -0
- package/template/.github/skills/prd-templates/references/evolution-layer-guidance.md +91 -0
- package/template/.github/skills/prd-templates/references/expansion-modes.md +27 -0
- package/template/.github/skills/prd-templates/references/fe-classification-procedures.md +47 -0
- package/template/.github/skills/prd-templates/references/fe-spec-template.md +90 -0
- package/template/.github/skills/prd-templates/references/feature-ledger-protocol.md +149 -0
- package/template/.github/skills/prd-templates/references/folder-seeding-protocol.md +77 -0
- package/template/.github/skills/prd-templates/references/fractal-cx-template.md +58 -0
- package/template/.github/skills/prd-templates/references/fractal-feature-template.md +93 -0
- package/template/.github/skills/prd-templates/references/fractal-node-index-template.md +55 -0
- package/template/.github/skills/prd-templates/references/gate-applicability.md +92 -0
- package/template/.github/skills/prd-templates/references/ideation-crosscut-template.md +36 -0
- package/template/.github/skills/prd-templates/references/ideation-index-template.md +111 -0
- package/template/.github/skills/prd-templates/references/ideation-meta-template.md +126 -0
- package/template/.github/skills/prd-templates/references/infrastructure-report-template.md +71 -0
- package/template/.github/skills/prd-templates/references/input-classification.md +23 -0
- package/template/.github/skills/prd-templates/references/map-guard-protocol.md +65 -0
- package/template/.github/skills/prd-templates/references/operational-templates.md +116 -0
- package/template/.github/skills/prd-templates/references/persona-completeness-gate.md +20 -0
- package/template/.github/skills/prd-templates/references/placeholder-guard-template.md +21 -0
- package/template/.github/skills/prd-templates/references/placeholder-workflow-mapping.md +50 -0
- package/template/.github/skills/prd-templates/references/shard-boundary-analysis.md +103 -0
- package/template/.github/skills/prd-templates/references/shard-split-remediation.md +157 -0
- package/template/.github/skills/prd-templates/references/skill-loading-protocol.md +36 -0
- package/template/.github/skills/prd-templates/references/slice-completion-gates.md +37 -0
- package/template/.github/skills/prd-templates/references/slice-depth-floor.md +96 -0
- package/template/.github/skills/prd-templates/references/spec-coverage-sweep.md +44 -0
- package/template/.github/skills/prd-templates/references/surface-model.md +61 -0
- package/template/.github/skills/prd-templates/references/tdd-testing-policy.md +39 -0
- package/template/.github/skills/prd-templates/references/vision-template.md +57 -0
- package/template/.github/skills/prd-templates/references/workflow-checkpoint-protocol.md +112 -0
- package/template/.github/skills/prd-templates/references/write-verification-protocol.md +57 -0
- package/template/.github/skills/prompt-engineer/SKILL.md +203 -0
- package/template/.github/skills/propagate-decision/SKILL.md +56 -0
- package/template/.github/skills/propagate-decision-apply/SKILL.md +70 -0
- package/template/.github/skills/propagate-decision-scan/SKILL.md +76 -0
- package/template/.github/skills/regex-patterns/SKILL.md +333 -0
- package/template/.github/skills/regex-patterns/references/go.md +44 -0
- package/template/.github/skills/regex-patterns/references/javascript.md +63 -0
- package/template/.github/skills/regex-patterns/references/python.md +77 -0
- package/template/.github/skills/regex-patterns/references/rust.md +43 -0
- package/template/.github/skills/remediate-pipeline/SKILL.md +55 -0
- package/template/.github/skills/remediate-pipeline-assess/SKILL.md +139 -0
- package/template/.github/skills/remediate-pipeline-execute/SKILL.md +143 -0
- package/template/.github/skills/remediate-shard-split/SKILL.md +201 -0
- package/template/.github/skills/resolve-ambiguity/SKILL.md +91 -0
- package/template/.github/skills/resolve-ambiguity/library-skill.md +278 -0
- package/template/.github/skills/security-scanning-security-hardening/SKILL.md +231 -0
- package/template/.github/skills/session-continuity/SKILL.md +734 -0
- package/template/.github/skills/session-continuity/protocols/01-session-resumption.md +63 -0
- package/template/.github/skills/session-continuity/protocols/02-progress-generation.md +85 -0
- package/template/.github/skills/session-continuity/protocols/03-progress-update.md +116 -0
- package/template/.github/skills/session-continuity/protocols/04-pattern-extraction.md +60 -0
- package/template/.github/skills/session-continuity/protocols/05-session-close.md +37 -0
- package/template/.github/skills/session-continuity/protocols/06-decision-analysis.md +84 -0
- package/template/.github/skills/session-continuity/protocols/07-spec-pipeline-generation.md +48 -0
- package/template/.github/skills/session-continuity/protocols/08-spec-pipeline-update.md +65 -0
- package/template/.github/skills/session-continuity/protocols/09-parallel-claim.md +122 -0
- package/template/.github/skills/session-continuity/protocols/10-placeholder-verification-gate.md +83 -0
- package/template/.github/skills/session-continuity/protocols/11-parallel-synthesis.md +21 -0
- package/template/.github/skills/session-continuity/protocols/ambiguity-gates.md +48 -0
- package/template/.github/skills/setup-workspace/SKILL.md +88 -0
- package/template/.github/skills/setup-workspace-cicd/SKILL.md +137 -0
- package/template/.github/skills/setup-workspace-data/SKILL.md +169 -0
- package/template/.github/skills/setup-workspace-hosting/SKILL.md +170 -0
- package/template/.github/skills/setup-workspace-scaffold/SKILL.md +178 -0
- package/template/.github/skills/skill-creator/SKILL.md +203 -0
- package/template/.github/skills/skill-creator/references/.gitkeep +0 -0
- package/template/.github/skills/skill-creator/scripts/.gitkeep +0 -0
- package/template/.github/skills/spec-writing/SKILL.md +110 -0
- package/template/.github/skills/sync-kit/SKILL.md +267 -0
- package/template/.github/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/template/.github/skills/systematic-debugging/SKILL.md +297 -0
- package/template/.github/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/template/.github/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/template/.github/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/template/.github/skills/systematic-debugging/find-polluter.sh +63 -0
- package/template/.github/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/template/.github/skills/systematic-debugging/test-academic.md +14 -0
- package/template/.github/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/template/.github/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/template/.github/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/template/.github/skills/tdd-workflow/SKILL.md +186 -0
- package/template/.github/skills/tdd-workflow/references/typescript.md +231 -0
- package/template/.github/skills/tech-stack-catalog/SKILL.md +49 -0
- package/template/.github/skills/tech-stack-catalog/references/constraint-questions.md +237 -0
- package/template/.github/skills/tech-stack-catalog/references/dev-tooling-decisions.md +37 -0
- package/template/.github/skills/tech-stack-catalog/references/surface-decision-tables.md +69 -0
- package/template/.github/skills/technical-writer/SKILL.md +242 -0
- package/template/.github/skills/testing-strategist/SKILL.md +319 -0
- package/template/.github/skills/testing-strategist/references/typescript.md +328 -0
- package/template/.github/skills/update-architecture-map/SKILL.md +91 -0
- package/template/.github/skills/validate-phase/SKILL.md +61 -0
- package/template/.github/skills/validate-phase-quality/SKILL.md +166 -0
- package/template/.github/skills/validate-phase-readiness/SKILL.md +181 -0
- package/template/.github/skills/verification-before-completion/SKILL.md +97 -0
- package/template/.github/skills/verify-infrastructure/SKILL.md +232 -0
- package/template/.github/skills/workflow-automation/SKILL.md +166 -0
- package/template/.github/skills/workflow-automation/references/inngest.md +88 -0
- package/template/.github/skills/workflow-automation/references/temporal.md +64 -0
- package/template/.github/skills/write-architecture-spec/SKILL.md +89 -0
- package/template/.github/skills/write-architecture-spec-deepen/SKILL.md +185 -0
- package/template/.github/skills/write-architecture-spec-design/SKILL.md +203 -0
- package/template/.github/skills/write-be-spec/SKILL.md +96 -0
- package/template/.github/skills/write-be-spec-classify/SKILL.md +122 -0
- package/template/.github/skills/write-be-spec-write/SKILL.md +238 -0
- package/template/.github/skills/write-fe-spec/SKILL.md +93 -0
- package/template/.github/skills/write-fe-spec-classify/SKILL.md +180 -0
- package/template/.github/skills/write-fe-spec-write/SKILL.md +233 -0
- package/template/.memory/config.json +1 -1
- package/template/.memory/pipeline/kit-sync.md +5 -3
- package/template/.pi/PRDS/codex-runtime-support.md +96 -0
- package/template/.pi/TASKS/codex-runtime-support.md +11 -0
- package/template/.pi/instructions/commands.md +24 -0
- package/template/.pi/instructions/example.md +21 -0
- package/template/.pi/instructions/patterns.md +61 -0
- package/template/.pi/instructions/structure.md +29 -0
- package/template/.pi/instructions/tech-stack.md +91 -0
- package/template/.pi/instructions/workflow.md +65 -0
- package/template/.pi/mcp.json +7 -0
- package/template/.pi/rules/boundary-not-placeholder.md +146 -0
- package/template/.pi/rules/completion-checklist.md +60 -0
- package/template/.pi/rules/debug-by-test.md +49 -0
- package/template/.pi/rules/decision-classification.md +113 -0
- package/template/.pi/rules/extensibility.md +52 -0
- package/template/.pi/rules/memory-capture.md +71 -0
- package/template/.pi/rules/question-vs-command.md +91 -0
- package/template/.pi/rules/security-first.md +54 -0
- package/template/.pi/rules/single-question.md +59 -0
- package/template/.pi/rules/skill-mcp-first.md +45 -0
- package/template/.pi/rules/source-before-ask.md +93 -0
- package/template/.pi/rules/specificity-standards.md +64 -0
- package/template/.pi/rules/tdd-contract-first.md +67 -0
- package/template/.pi/rules/vertical-slices.md +83 -0
- package/template/.pi/settings.json +17 -0
- package/template/.pi/skill-library/MANIFEST.md +498 -0
- package/template/.pi/skill-library/README.md +38 -0
- package/template/.pi/skill-library/meta/claude-code/README.md +9 -0
- package/template/.pi/skill-library/meta/claude-code/agent-development/SKILL.md +415 -0
- package/template/.pi/skill-library/meta/claude-code/hook-development/SKILL.md +712 -0
- package/template/.pi/skill-library/meta/claude-code/plugin-structure/SKILL.md +476 -0
- package/template/.pi/skill-library/meta/mcp-builder/SKILL.md +236 -0
- package/template/.pi/skill-library/meta/product-marketing-context/SKILL.md +241 -0
- package/template/.pi/skill-library/meta/tmux-processes/SKILL.md +210 -0
- package/template/.pi/skill-library/meta/using-tmux-for-interactive-commands/SKILL.md +178 -0
- package/template/.pi/skill-library/stack/3d/threejs-pro/SKILL.md +300 -0
- package/template/.pi/skill-library/stack/ai/ai-sdk/SKILL.md +77 -0
- package/template/.pi/skill-library/stack/ai/langchain/SKILL.md +530 -0
- package/template/.pi/skill-library/stack/ai/ollama/SKILL.md +321 -0
- package/template/.pi/skill-library/stack/ai/openai-sdk/SKILL.md +549 -0
- package/template/.pi/skill-library/stack/analytics/google-analytics/SKILL.md +153 -0
- package/template/.pi/skill-library/stack/api/graphql/SKILL.md +1061 -0
- package/template/.pi/skill-library/stack/api/trpc/SKILL.md +576 -0
- package/template/.pi/skill-library/stack/auth/authjs/SKILL.md +569 -0
- package/template/.pi/skill-library/stack/auth/clerk/SKILL.md +590 -0
- package/template/.pi/skill-library/stack/auth/firebase-auth/SKILL.md +734 -0
- package/template/.pi/skill-library/stack/auth/lucia/SKILL.md +230 -0
- package/template/.pi/skill-library/stack/auth/supabase-auth/SKILL.md +293 -0
- package/template/.pi/skill-library/stack/cms/payload-cms/SKILL.md +573 -0
- package/template/.pi/skill-library/stack/cms/shopify/SKILL.md +1193 -0
- package/template/.pi/skill-library/stack/cms/wordpress/SKILL.md +1104 -0
- package/template/.pi/skill-library/stack/css/sass-scss/SKILL.md +1121 -0
- package/template/.pi/skill-library/stack/css/tailwind-css-patterns/SKILL.md +863 -0
- package/template/.pi/skill-library/stack/css/tailwind-design-system/SKILL.md +490 -0
- package/template/.pi/skill-library/stack/css/vanilla-css/SKILL.md +1078 -0
- package/template/.pi/skill-library/stack/databases/clickhouse/SKILL.md +311 -0
- package/template/.pi/skill-library/stack/databases/influxdb/SKILL.md +280 -0
- package/template/.pi/skill-library/stack/databases/lancedb/SKILL.md +415 -0
- package/template/.pi/skill-library/stack/databases/mongodb/SKILL.md +1169 -0
- package/template/.pi/skill-library/stack/databases/neo4j/SKILL.md +839 -0
- package/template/.pi/skill-library/stack/databases/pgvector/SKILL.md +241 -0
- package/template/.pi/skill-library/stack/databases/pinecone/SKILL.md +212 -0
- package/template/.pi/skill-library/stack/databases/postgresql/SKILL.md +658 -0
- package/template/.pi/skill-library/stack/databases/qdrant/SKILL.md +312 -0
- package/template/.pi/skill-library/stack/databases/redis/SKILL.md +1079 -0
- package/template/.pi/skill-library/stack/databases/spacetimedb/SKILL.md +532 -0
- package/template/.pi/skill-library/stack/databases/sqlite/SKILL.md +1132 -0
- package/template/.pi/skill-library/stack/databases/supabase/SKILL.md +640 -0
- package/template/.pi/skill-library/stack/databases/surrealdb-expert/SKILL.md +945 -0
- package/template/.pi/skill-library/stack/databases/timescaledb/SKILL.md +745 -0
- package/template/.pi/skill-library/stack/databases/weaviate/SKILL.md +218 -0
- package/template/.pi/skill-library/stack/devops/git-advanced/SKILL.md +972 -0
- package/template/.pi/skill-library/stack/devops/git-workflow/SKILL.md +420 -0
- package/template/.pi/skill-library/stack/devops/github-actions/SKILL.md +554 -0
- package/template/.pi/skill-library/stack/devops/kubernetes/SKILL.md +950 -0
- package/template/.pi/skill-library/stack/devops/nginx/SKILL.md +841 -0
- package/template/.pi/skill-library/stack/devops/terraform/SKILL.md +860 -0
- package/template/.pi/skill-library/stack/email/resend/SKILL.md +391 -0
- package/template/.pi/skill-library/stack/extensions/chrome-extension/SKILL.md +375 -0
- package/template/.pi/skill-library/stack/extensions/plasmo/SKILL.md +195 -0
- package/template/.pi/skill-library/stack/extensions/vscode-extension/SKILL.md +453 -0
- package/template/.pi/skill-library/stack/extensions/wxt/SKILL.md +216 -0
- package/template/.pi/skill-library/stack/feature-flags/flagsmith/SKILL.md +187 -0
- package/template/.pi/skill-library/stack/feature-flags/launchdarkly/SKILL.md +183 -0
- package/template/.pi/skill-library/stack/feature-flags/posthog-flags/SKILL.md +189 -0
- package/template/.pi/skill-library/stack/frameworks/astro-framework/SKILL.md +162 -0
- package/template/.pi/skill-library/stack/frameworks/electron/SKILL.md +1286 -0
- package/template/.pi/skill-library/stack/frameworks/fastapi/SKILL.md +650 -0
- package/template/.pi/skill-library/stack/frameworks/hono/SKILL.md +90 -0
- package/template/.pi/skill-library/stack/frameworks/nestjs/SKILL.md +878 -0
- package/template/.pi/skill-library/stack/frameworks/nextjs/SKILL.md +635 -0
- package/template/.pi/skill-library/stack/frameworks/nuxt/SKILL.md +564 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/SKILL.md +81 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/events.md +353 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/migration.md +339 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/performance.md +443 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/runes.md +394 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/snippets.md +291 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/sveltekit.md +401 -0
- package/template/.pi/skill-library/stack/frameworks/svelte5/references/typescript.md +305 -0
- package/template/.pi/skill-library/stack/frameworks/sveltekit/SKILL.md +614 -0
- package/template/.pi/skill-library/stack/frameworks/tauri/SKILL.md +920 -0
- package/template/.pi/skill-library/stack/gamedev/godot/SKILL.md +1032 -0
- package/template/.pi/skill-library/stack/gamedev/unity/SKILL.md +1175 -0
- package/template/.pi/skill-library/stack/hosting/aws/SKILL.md +467 -0
- package/template/.pi/skill-library/stack/hosting/cloudflare/SKILL.md +201 -0
- package/template/.pi/skill-library/stack/hosting/docker-expert/SKILL.md +409 -0
- package/template/.pi/skill-library/stack/hosting/vercel/SKILL.md +484 -0
- package/template/.pi/skill-library/stack/languages/bash-scripting/SKILL.md +773 -0
- package/template/.pi/skill-library/stack/languages/c-cpp/SKILL.md +712 -0
- package/template/.pi/skill-library/stack/languages/gdscript/SKILL.md +789 -0
- package/template/.pi/skill-library/stack/languages/go/SKILL.md +664 -0
- package/template/.pi/skill-library/stack/languages/java/SKILL.md +778 -0
- package/template/.pi/skill-library/stack/languages/kotlin/SKILL.md +665 -0
- package/template/.pi/skill-library/stack/languages/python/SKILL.md +678 -0
- package/template/.pi/skill-library/stack/languages/rust/SKILL.md +673 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/SKILL.md +141 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/advanced-generics.md +90 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/branded-types.md +57 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/builder-pattern.md +71 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/common-pitfalls.md +135 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/conditional-types.md +27 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/decorators.md +98 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/discriminated-unions.md +62 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/mapped-types.md +53 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/performance-best-practices.md +104 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/template-literal-types.md +49 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/testing-types.md +112 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/type-guards.md +70 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/type-inference.md +101 -0
- package/template/.pi/skill-library/stack/languages/typescript-advanced-patterns/references/utility-types.md +98 -0
- package/template/.pi/skill-library/stack/languages/vanilla-javascript/SKILL.md +803 -0
- package/template/.pi/skill-library/stack/messaging/kafka/SKILL.md +235 -0
- package/template/.pi/skill-library/stack/messaging/nats/SKILL.md +147 -0
- package/template/.pi/skill-library/stack/messaging/rabbitmq/SKILL.md +178 -0
- package/template/.pi/skill-library/stack/messaging/sqs/SKILL.md +187 -0
- package/template/.pi/skill-library/stack/mobile/expo-react-native/SKILL.md +665 -0
- package/template/.pi/skill-library/stack/mobile/flutter/SKILL.md +316 -0
- package/template/.pi/skill-library/stack/mobile/kotlin-compose/SKILL.md +215 -0
- package/template/.pi/skill-library/stack/mobile/react-native/SKILL.md +337 -0
- package/template/.pi/skill-library/stack/mobile/swiftui/SKILL.md +261 -0
- package/template/.pi/skill-library/stack/monitoring/posthog/SKILL.md +396 -0
- package/template/.pi/skill-library/stack/monitoring/sentry/SKILL.md +509 -0
- package/template/.pi/skill-library/stack/notifications/fcm/SKILL.md +229 -0
- package/template/.pi/skill-library/stack/notifications/sendgrid/SKILL.md +220 -0
- package/template/.pi/skill-library/stack/notifications/twilio/SKILL.md +204 -0
- package/template/.pi/skill-library/stack/observability/datadog/SKILL.md +179 -0
- package/template/.pi/skill-library/stack/observability/distributed-tracing/SKILL.md +140 -0
- package/template/.pi/skill-library/stack/observability/opentelemetry/SKILL.md +164 -0
- package/template/.pi/skill-library/stack/observability/prometheus-grafana/SKILL.md +246 -0
- package/template/.pi/skill-library/stack/observability/python-observability/SKILL.md +158 -0
- package/template/.pi/skill-library/stack/orm/drizzle-orm/SKILL.md +613 -0
- package/template/.pi/skill-library/stack/orm/prisma/SKILL.md +744 -0
- package/template/.pi/skill-library/stack/payments/lemonsqueezy/SKILL.md +393 -0
- package/template/.pi/skill-library/stack/payments/stripe-integration/SKILL.md +457 -0
- package/template/.pi/skill-library/stack/queue/bullmq/SKILL.md +385 -0
- package/template/.pi/skill-library/stack/queue/inngest/SKILL.md +438 -0
- package/template/.pi/skill-library/stack/realtime/socketio/SKILL.md +595 -0
- package/template/.pi/skill-library/stack/search/algolia/SKILL.md +206 -0
- package/template/.pi/skill-library/stack/search/elasticsearch/SKILL.md +248 -0
- package/template/.pi/skill-library/stack/search/meilisearch/SKILL.md +385 -0
- package/template/.pi/skill-library/stack/search/typesense/SKILL.md +189 -0
- package/template/.pi/skill-library/stack/security/crypto-patterns/SKILL.md +437 -0
- package/template/.pi/skill-library/stack/security/csp-cors-headers/SKILL.md +588 -0
- package/template/.pi/skill-library/stack/security/dependency-auditing/SKILL.md +560 -0
- package/template/.pi/skill-library/stack/security/input-sanitization/SKILL.md +430 -0
- package/template/.pi/skill-library/stack/security/owasp-web-security/SKILL.md +421 -0
- package/template/.pi/skill-library/stack/state/tanstack-query/SKILL.md +637 -0
- package/template/.pi/skill-library/stack/state/zustand/SKILL.md +483 -0
- package/template/.pi/skill-library/stack/storage/aws-s3/SKILL.md +415 -0
- package/template/.pi/skill-library/stack/storage/cloudflare-r2/SKILL.md +252 -0
- package/template/.pi/skill-library/stack/storage/gcs/SKILL.md +229 -0
- package/template/.pi/skill-library/stack/testing/playwright/SKILL.md +641 -0
- package/template/.pi/skill-library/stack/testing/storybook/SKILL.md +923 -0
- package/template/.pi/skill-library/stack/testing/testing-library/SKILL.md +872 -0
- package/template/.pi/skill-library/stack/testing/vitest/SKILL.md +714 -0
- package/template/.pi/skill-library/stack/ui/react-best-practices/SKILL.md +877 -0
- package/template/.pi/skill-library/stack/ui/react-composition-patterns/SKILL.md +1107 -0
- package/template/.pi/skill-library/stack/ui/react-flow/SKILL.md +425 -0
- package/template/.pi/skill-library/stack/ui/shadcn-ui/SKILL.md +703 -0
- package/template/.pi/skill-library/stack/ui/svelte-flow/SKILL.md +390 -0
- package/template/.pi/skill-library/surface/api/api-caching/SKILL.md +458 -0
- package/template/.pi/skill-library/surface/api/api-documentation-openapi/SKILL.md +697 -0
- package/template/.pi/skill-library/surface/api/api-error-handling/SKILL.md +478 -0
- package/template/.pi/skill-library/surface/api/api-security-checklist/SKILL.md +147 -0
- package/template/.pi/skill-library/surface/api/email-best-practices/SKILL.md +59 -0
- package/template/.pi/skill-library/surface/api/rate-limiting-abuse-protection/SKILL.md +147 -0
- package/template/.pi/skill-library/surface/api/webhook-design/SKILL.md +752 -0
- package/template/.pi/skill-library/surface/cli/cli-configuration-management/SKILL.md +445 -0
- package/template/.pi/skill-library/surface/cli/cli-error-diagnostics/SKILL.md +515 -0
- package/template/.pi/skill-library/surface/cli/cli-shell-integration/SKILL.md +479 -0
- package/template/.pi/skill-library/surface/cli/cli-ux-design/SKILL.md +477 -0
- package/template/.pi/skill-library/surface/desktop/desktop-app-distribution/SKILL.md +416 -0
- package/template/.pi/skill-library/surface/desktop/desktop-security-sandboxing/SKILL.md +407 -0
- package/template/.pi/skill-library/surface/desktop/desktop-ux-conventions/SKILL.md +361 -0
- package/template/.pi/skill-library/surface/desktop/native-os-integration/SKILL.md +563 -0
- package/template/.pi/skill-library/surface/extension/browser-extension-patterns/SKILL.md +482 -0
- package/template/.pi/skill-library/surface/extension/plugin-architecture-design/SKILL.md +632 -0
- package/template/.pi/skill-library/surface/extension/vscode-extension-development/SKILL.md +728 -0
- package/template/.pi/skill-library/surface/mobile/app-store-submission/SKILL.md +304 -0
- package/template/.pi/skill-library/surface/mobile/mobile-offline-sync/SKILL.md +443 -0
- package/template/.pi/skill-library/surface/mobile/mobile-responsive-patterns/SKILL.md +432 -0
- package/template/.pi/skill-library/surface/mobile/push-notifications/SKILL.md +495 -0
- package/template/.pi/skill-library/surface/web/accessibility-compliance/SKILL.md +827 -0
- package/template/.pi/skill-library/surface/web/ai-seo/SKILL.md +398 -0
- package/template/.pi/skill-library/surface/web/ai-seo/references/content-patterns.md +285 -0
- package/template/.pi/skill-library/surface/web/ai-seo/references/platform-ranking-factors.md +152 -0
- package/template/.pi/skill-library/surface/web/analytics-tracking/SKILL.md +309 -0
- package/template/.pi/skill-library/surface/web/analytics-tracking/references/event-library.md +260 -0
- package/template/.pi/skill-library/surface/web/analytics-tracking/references/ga4-implementation.md +300 -0
- package/template/.pi/skill-library/surface/web/analytics-tracking/references/gtm-implementation.md +390 -0
- package/template/.pi/skill-library/surface/web/authentication-ui-flows/SKILL.md +530 -0
- package/template/.pi/skill-library/surface/web/dark-mode-theming/SKILL.md +516 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/SKILL.md +105 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/charts.csv +26 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/colors.csv +97 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/landing.csv +31 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/styles.csv +59 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/typography.csv +58 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/data/ux-guidelines.csv +100 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/scripts/core.py +258 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/scripts/design_system.py +1067 -0
- package/template/.pi/skill-library/surface/web/design-reference-data/scripts/search.py +106 -0
- package/template/.pi/skill-library/surface/web/form-handling-validation/SKILL.md +675 -0
- package/template/.pi/skill-library/surface/web/frontend-design/SKILL.md +1393 -0
- package/template/.pi/skill-library/surface/web/frontend-design/templates/cppn-hero.tsx +299 -0
- package/template/.pi/skill-library/surface/web/frontend-design/templates/wave-hero.tsx +875 -0
- package/template/.pi/skill-library/surface/web/frontend-verification/SKILL.md +111 -0
- package/template/.pi/skill-library/surface/web/frontend-verification/scripts/ux_audit.py +739 -0
- package/template/.pi/skill-library/surface/web/i18n-localization/SKILL.md +332 -0
- package/template/.pi/skill-library/surface/web/i18n-localization/references/icu-message-format.md +223 -0
- package/template/.pi/skill-library/surface/web/i18n-localization/references/intl-api-patterns.md +326 -0
- package/template/.pi/skill-library/surface/web/i18n-localization/references/rtl-support.md +298 -0
- package/template/.pi/skill-library/surface/web/offline-first-pwa/SKILL.md +657 -0
- package/template/.pi/skill-library/surface/web/page-cro/SKILL.md +182 -0
- package/template/.pi/skill-library/surface/web/page-cro/references/experiments.md +248 -0
- package/template/.pi/skill-library/surface/web/programmatic-seo/SKILL.md +238 -0
- package/template/.pi/skill-library/surface/web/programmatic-seo/references/playbooks.md +308 -0
- package/template/.pi/skill-library/surface/web/schema-markup/SKILL.md +179 -0
- package/template/.pi/skill-library/surface/web/schema-markup/references/schema-examples.md +398 -0
- package/template/.pi/skill-library/surface/web/seo-audit/SKILL.md +394 -0
- package/template/.pi/skill-library/surface/web/seo-audit/references/ai-writing-detection.md +200 -0
- package/template/.pi/skill-library/surface/web/web-performance-optimization/SKILL.md +646 -0
- package/template/.pi/skill-library/surface/web/web-scraping/SKILL.md +58 -0
- package/template/.pi/skills/accessibility/SKILL.md +522 -0
- package/template/.pi/skills/accessibility/references/WCAG.md +162 -0
- package/template/.pi/skills/accessibility/references/ia-spec-checklist.md +35 -0
- package/template/.pi/skills/adversarial-review/SKILL.md +90 -0
- package/template/.pi/skills/antigravity-workflows/SKILL.md +81 -0
- package/template/.pi/skills/antigravity-workflows/resources/implementation-playbook.md +36 -0
- package/template/.pi/skills/api-design-principles/SKILL.md +169 -0
- package/template/.pi/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/template/.pi/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/template/.pi/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/template/.pi/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/template/.pi/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/template/.pi/skills/api-versioning/SKILL.md +166 -0
- package/template/.pi/skills/api-versioning/references/typescript.md +157 -0
- package/template/.pi/skills/architecture-mapping/SKILL.md +219 -0
- package/template/.pi/skills/audit-ambiguity/SKILL.md +64 -0
- package/template/.pi/skills/audit-ambiguity-execute/SKILL.md +177 -0
- package/template/.pi/skills/audit-ambiguity-rubrics/SKILL.md +100 -0
- package/template/.pi/skills/bootstrap-agents/SKILL.md +72 -0
- package/template/.pi/skills/bootstrap-agents/library-skill.md +258 -0
- package/template/.pi/skills/bootstrap-agents-fill/SKILL.md +143 -0
- package/template/.pi/skills/bootstrap-agents-provision/SKILL.md +165 -0
- package/template/.pi/skills/brainstorming/SKILL.md +177 -0
- package/template/.pi/skills/brand-guidelines/SKILL.md +56 -0
- package/template/.pi/skills/clean-code/SKILL.md +196 -0
- package/template/.pi/skills/clean-code/references/typescript.md +126 -0
- package/template/.pi/skills/code-review-pro/SKILL.md +152 -0
- package/template/.pi/skills/concise-planning/SKILL.md +107 -0
- package/template/.pi/skills/create-prd/SKILL.md +150 -0
- package/template/.pi/skills/create-prd-architecture/SKILL.md +162 -0
- package/template/.pi/skills/create-prd-compile/SKILL.md +175 -0
- package/template/.pi/skills/create-prd-design-system/SKILL.md +183 -0
- package/template/.pi/skills/create-prd-security/SKILL.md +155 -0
- package/template/.pi/skills/create-prd-stack/SKILL.md +155 -0
- package/template/.pi/skills/cross-layer-consistency/SKILL.md +117 -0
- package/template/.pi/skills/database-schema-design/SKILL.md +205 -0
- package/template/.pi/skills/database-schema-design/references/relational.md +228 -0
- package/template/.pi/skills/decompose-architecture/SKILL.md +102 -0
- package/template/.pi/skills/decompose-architecture-structure/SKILL.md +109 -0
- package/template/.pi/skills/decompose-architecture-validate/SKILL.md +103 -0
- package/template/.pi/skills/deployment-procedures/SKILL.md +241 -0
- package/template/.pi/skills/design-anti-cliche/SKILL.md +177 -0
- package/template/.pi/skills/design-direction/SKILL.md +54 -0
- package/template/.pi/skills/error-handling-patterns/SKILL.md +226 -0
- package/template/.pi/skills/error-handling-patterns/references/go.md +162 -0
- package/template/.pi/skills/error-handling-patterns/references/python.md +262 -0
- package/template/.pi/skills/error-handling-patterns/references/rust.md +112 -0
- package/template/.pi/skills/error-handling-patterns/references/typescript.md +178 -0
- package/template/.pi/skills/evolve-contract/SKILL.md +130 -0
- package/template/.pi/skills/evolve-feature/SKILL.md +56 -0
- package/template/.pi/skills/evolve-feature-cascade/SKILL.md +98 -0
- package/template/.pi/skills/evolve-feature-classify/SKILL.md +90 -0
- package/template/.pi/skills/find-skills/SKILL.md +145 -0
- package/template/.pi/skills/git-advanced/SKILL.md +972 -0
- package/template/.pi/skills/git-workflow/SKILL.md +420 -0
- package/template/.pi/skills/idea-extraction/SKILL.md +644 -0
- package/template/.pi/skills/ideate/SKILL.md +137 -0
- package/template/.pi/skills/ideate-discover/SKILL.md +191 -0
- package/template/.pi/skills/ideate-extract/SKILL.md +112 -0
- package/template/.pi/skills/ideate-validate/SKILL.md +154 -0
- package/template/.pi/skills/impeccable/SKILL.md +180 -0
- package/template/.pi/skills/impeccable/reference/adapt.md +190 -0
- package/template/.pi/skills/impeccable/reference/animate.md +175 -0
- package/template/.pi/skills/impeccable/reference/audit.md +133 -0
- package/template/.pi/skills/impeccable/reference/bolder.md +113 -0
- package/template/.pi/skills/impeccable/reference/brand.md +114 -0
- package/template/.pi/skills/impeccable/reference/clarify.md +174 -0
- package/template/.pi/skills/impeccable/reference/cognitive-load.md +106 -0
- package/template/.pi/skills/impeccable/reference/color-and-contrast.md +105 -0
- package/template/.pi/skills/impeccable/reference/colorize.md +154 -0
- package/template/.pi/skills/impeccable/reference/craft.md +193 -0
- package/template/.pi/skills/impeccable/reference/critique.md +213 -0
- package/template/.pi/skills/impeccable/reference/delight.md +302 -0
- package/template/.pi/skills/impeccable/reference/distill.md +111 -0
- package/template/.pi/skills/impeccable/reference/document.md +427 -0
- package/template/.pi/skills/impeccable/reference/extract.md +69 -0
- package/template/.pi/skills/impeccable/reference/harden.md +347 -0
- package/template/.pi/skills/impeccable/reference/heuristics-scoring.md +234 -0
- package/template/.pi/skills/impeccable/reference/interaction-design.md +195 -0
- package/template/.pi/skills/impeccable/reference/layout.md +141 -0
- package/template/.pi/skills/impeccable/reference/live.md +622 -0
- package/template/.pi/skills/impeccable/reference/motion-design.md +109 -0
- package/template/.pi/skills/impeccable/reference/onboard.md +234 -0
- package/template/.pi/skills/impeccable/reference/optimize.md +258 -0
- package/template/.pi/skills/impeccable/reference/overdrive.md +130 -0
- package/template/.pi/skills/impeccable/reference/personas.md +179 -0
- package/template/.pi/skills/impeccable/reference/polish.md +233 -0
- package/template/.pi/skills/impeccable/reference/product.md +62 -0
- package/template/.pi/skills/impeccable/reference/quieter.md +99 -0
- package/template/.pi/skills/impeccable/reference/responsive-design.md +114 -0
- package/template/.pi/skills/impeccable/reference/shape.md +151 -0
- package/template/.pi/skills/impeccable/reference/spatial-design.md +100 -0
- package/template/.pi/skills/impeccable/reference/teach.md +156 -0
- package/template/.pi/skills/impeccable/reference/typeset.md +124 -0
- package/template/.pi/skills/impeccable/reference/typography.md +159 -0
- package/template/.pi/skills/impeccable/reference/ux-writing.md +107 -0
- package/template/.pi/skills/impeccable/scripts/cleanup-deprecated.mjs +284 -0
- package/template/.pi/skills/impeccable/scripts/command-metadata.json +94 -0
- package/template/.pi/skills/impeccable/scripts/design-parser.mjs +820 -0
- package/template/.pi/skills/impeccable/scripts/detect-csp.mjs +198 -0
- package/template/.pi/skills/impeccable/scripts/impeccable-paths.mjs +105 -0
- package/template/.pi/skills/impeccable/scripts/is-generated.mjs +69 -0
- package/template/.pi/skills/impeccable/scripts/live-accept.mjs +595 -0
- package/template/.pi/skills/impeccable/scripts/live-browser-session.js +123 -0
- package/template/.pi/skills/impeccable/scripts/live-browser.js +4860 -0
- package/template/.pi/skills/impeccable/scripts/live-complete.mjs +75 -0
- package/template/.pi/skills/impeccable/scripts/live-completion.mjs +18 -0
- package/template/.pi/skills/impeccable/scripts/live-inject.mjs +446 -0
- package/template/.pi/skills/impeccable/scripts/live-poll.mjs +200 -0
- package/template/.pi/skills/impeccable/scripts/live-resume.mjs +48 -0
- package/template/.pi/skills/impeccable/scripts/live-server.mjs +836 -0
- package/template/.pi/skills/impeccable/scripts/live-session-store.mjs +254 -0
- package/template/.pi/skills/impeccable/scripts/live-status.mjs +47 -0
- package/template/.pi/skills/impeccable/scripts/live-wrap.mjs +632 -0
- package/template/.pi/skills/impeccable/scripts/live.mjs +247 -0
- package/template/.pi/skills/impeccable/scripts/load-context.mjs +141 -0
- package/template/.pi/skills/impeccable/scripts/modern-screenshot.umd.js +14 -0
- package/template/.pi/skills/impeccable/scripts/pin.mjs +214 -0
- package/template/.pi/skills/implement-slice/SKILL.md +60 -0
- package/template/.pi/skills/implement-slice-setup/SKILL.md +135 -0
- package/template/.pi/skills/implement-slice-tdd/SKILL.md +202 -0
- package/template/.pi/skills/logging-best-practices/SKILL.md +192 -0
- package/template/.pi/skills/logging-best-practices/references/go.md +49 -0
- package/template/.pi/skills/logging-best-practices/references/python.md +52 -0
- package/template/.pi/skills/logging-best-practices/references/typescript.md +215 -0
- package/template/.pi/skills/migration-management/SKILL.md +200 -0
- package/template/.pi/skills/migration-management/references/relational.md +214 -0
- package/template/.pi/skills/minimalist-surgical-development/SKILL.md +135 -0
- package/template/.pi/skills/parallel-agents/SKILL.md +165 -0
- package/template/.pi/skills/parallel-debugging/SKILL.md +135 -0
- package/template/.pi/skills/parallel-feature-development/SKILL.md +157 -0
- package/template/.pi/skills/performance-budgeting/SKILL.md +144 -0
- package/template/.pi/skills/pipeline-rubrics/SKILL.md +51 -0
- package/template/.pi/skills/pipeline-rubrics/references/architecture-rubric.md +19 -0
- package/template/.pi/skills/pipeline-rubrics/references/be-rubric.md +21 -0
- package/template/.pi/skills/pipeline-rubrics/references/fe-rubric.md +20 -0
- package/template/.pi/skills/pipeline-rubrics/references/ia-rubric.md +19 -0
- package/template/.pi/skills/pipeline-rubrics/references/scoring.md +32 -0
- package/template/.pi/skills/pipeline-rubrics/references/vision-rubric.md +12 -0
- package/template/.pi/skills/plan-phase/SKILL.md +54 -0
- package/template/.pi/skills/plan-phase-preflight/SKILL.md +138 -0
- package/template/.pi/skills/plan-phase-write/SKILL.md +171 -0
- package/template/.pi/skills/prd-templates/SKILL.md +107 -0
- package/template/.pi/skills/prd-templates/references/architecture-completeness-checklist.md +28 -0
- package/template/.pi/skills/prd-templates/references/architecture-design-template.md +88 -0
- package/template/.pi/skills/prd-templates/references/be-spec-classification.md +41 -0
- package/template/.pi/skills/prd-templates/references/be-spec-template.md +107 -0
- package/template/.pi/skills/prd-templates/references/bootstrap-verification-protocol.md +50 -0
- package/template/.pi/skills/prd-templates/references/constraint-exploration.md +41 -0
- package/template/.pi/skills/prd-templates/references/data-placement-template.md +74 -0
- package/template/.pi/skills/prd-templates/references/decision-confirmation-protocol.md +68 -0
- package/template/.pi/skills/prd-templates/references/decision-propagation.md +121 -0
- package/template/.pi/skills/prd-templates/references/decomposition-templates.md +226 -0
- package/template/.pi/skills/prd-templates/references/deep-ideation-loading-protocol.md +114 -0
- package/template/.pi/skills/prd-templates/references/design-system-decisions.md +198 -0
- package/template/.pi/skills/prd-templates/references/design-system-prerequisite-check.md +18 -0
- package/template/.pi/skills/prd-templates/references/domain-exhaustion-criteria.md +37 -0
- package/template/.pi/skills/prd-templates/references/engagement-tier-protocol.md +58 -0
- package/template/.pi/skills/prd-templates/references/engineering-standards-template.md +126 -0
- package/template/.pi/skills/prd-templates/references/evolution-layer-guidance.md +91 -0
- package/template/.pi/skills/prd-templates/references/expansion-modes.md +27 -0
- package/template/.pi/skills/prd-templates/references/fe-classification-procedures.md +47 -0
- package/template/.pi/skills/prd-templates/references/fe-spec-template.md +90 -0
- package/template/.pi/skills/prd-templates/references/feature-ledger-protocol.md +149 -0
- package/template/.pi/skills/prd-templates/references/folder-seeding-protocol.md +77 -0
- package/template/.pi/skills/prd-templates/references/fractal-cx-template.md +58 -0
- package/template/.pi/skills/prd-templates/references/fractal-feature-template.md +93 -0
- package/template/.pi/skills/prd-templates/references/fractal-node-index-template.md +55 -0
- package/template/.pi/skills/prd-templates/references/gate-applicability.md +92 -0
- package/template/.pi/skills/prd-templates/references/ideation-crosscut-template.md +36 -0
- package/template/.pi/skills/prd-templates/references/ideation-index-template.md +111 -0
- package/template/.pi/skills/prd-templates/references/ideation-meta-template.md +126 -0
- package/template/.pi/skills/prd-templates/references/infrastructure-report-template.md +71 -0
- package/template/.pi/skills/prd-templates/references/input-classification.md +23 -0
- package/template/.pi/skills/prd-templates/references/map-guard-protocol.md +65 -0
- package/template/.pi/skills/prd-templates/references/operational-templates.md +116 -0
- package/template/.pi/skills/prd-templates/references/persona-completeness-gate.md +20 -0
- package/template/.pi/skills/prd-templates/references/placeholder-guard-template.md +21 -0
- package/template/.pi/skills/prd-templates/references/placeholder-workflow-mapping.md +50 -0
- package/template/.pi/skills/prd-templates/references/shard-boundary-analysis.md +103 -0
- package/template/.pi/skills/prd-templates/references/shard-split-remediation.md +157 -0
- package/template/.pi/skills/prd-templates/references/skill-loading-protocol.md +36 -0
- package/template/.pi/skills/prd-templates/references/slice-completion-gates.md +37 -0
- package/template/.pi/skills/prd-templates/references/slice-depth-floor.md +96 -0
- package/template/.pi/skills/prd-templates/references/spec-coverage-sweep.md +44 -0
- package/template/.pi/skills/prd-templates/references/surface-model.md +61 -0
- package/template/.pi/skills/prd-templates/references/tdd-testing-policy.md +39 -0
- package/template/.pi/skills/prd-templates/references/vision-template.md +57 -0
- package/template/.pi/skills/prd-templates/references/workflow-checkpoint-protocol.md +112 -0
- package/template/.pi/skills/prd-templates/references/write-verification-protocol.md +57 -0
- package/template/.pi/skills/prompt-engineer/SKILL.md +203 -0
- package/template/.pi/skills/propagate-decision/SKILL.md +56 -0
- package/template/.pi/skills/propagate-decision-apply/SKILL.md +70 -0
- package/template/.pi/skills/propagate-decision-scan/SKILL.md +76 -0
- package/template/.pi/skills/regex-patterns/SKILL.md +333 -0
- package/template/.pi/skills/regex-patterns/references/go.md +44 -0
- package/template/.pi/skills/regex-patterns/references/javascript.md +63 -0
- package/template/.pi/skills/regex-patterns/references/python.md +77 -0
- package/template/.pi/skills/regex-patterns/references/rust.md +43 -0
- package/template/.pi/skills/remediate-pipeline/SKILL.md +55 -0
- package/template/.pi/skills/remediate-pipeline-assess/SKILL.md +139 -0
- package/template/.pi/skills/remediate-pipeline-execute/SKILL.md +143 -0
- package/template/.pi/skills/remediate-shard-split/SKILL.md +201 -0
- package/template/.pi/skills/resolve-ambiguity/SKILL.md +91 -0
- package/template/.pi/skills/resolve-ambiguity/library-skill.md +278 -0
- package/template/.pi/skills/security-scanning-security-hardening/SKILL.md +231 -0
- package/template/.pi/skills/session-continuity/SKILL.md +734 -0
- package/template/.pi/skills/session-continuity/protocols/01-session-resumption.md +63 -0
- package/template/.pi/skills/session-continuity/protocols/02-progress-generation.md +85 -0
- package/template/.pi/skills/session-continuity/protocols/03-progress-update.md +116 -0
- package/template/.pi/skills/session-continuity/protocols/04-pattern-extraction.md +60 -0
- package/template/.pi/skills/session-continuity/protocols/05-session-close.md +37 -0
- package/template/.pi/skills/session-continuity/protocols/06-decision-analysis.md +84 -0
- package/template/.pi/skills/session-continuity/protocols/07-spec-pipeline-generation.md +48 -0
- package/template/.pi/skills/session-continuity/protocols/08-spec-pipeline-update.md +65 -0
- package/template/.pi/skills/session-continuity/protocols/09-parallel-claim.md +122 -0
- package/template/.pi/skills/session-continuity/protocols/10-placeholder-verification-gate.md +83 -0
- package/template/.pi/skills/session-continuity/protocols/11-parallel-synthesis.md +21 -0
- package/template/.pi/skills/session-continuity/protocols/ambiguity-gates.md +48 -0
- package/template/.pi/skills/setup-workspace/SKILL.md +88 -0
- package/template/.pi/skills/setup-workspace-cicd/SKILL.md +137 -0
- package/template/.pi/skills/setup-workspace-data/SKILL.md +169 -0
- package/template/.pi/skills/setup-workspace-hosting/SKILL.md +170 -0
- package/template/.pi/skills/setup-workspace-scaffold/SKILL.md +178 -0
- package/template/.pi/skills/skill-creator/SKILL.md +203 -0
- package/template/.pi/skills/skill-creator/references/.gitkeep +0 -0
- package/template/.pi/skills/skill-creator/scripts/.gitkeep +0 -0
- package/template/.pi/skills/spec-writing/SKILL.md +110 -0
- package/template/.pi/skills/sync-kit/SKILL.md +267 -0
- package/template/.pi/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/template/.pi/skills/systematic-debugging/SKILL.md +297 -0
- package/template/.pi/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/template/.pi/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/template/.pi/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/template/.pi/skills/systematic-debugging/find-polluter.sh +63 -0
- package/template/.pi/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/template/.pi/skills/systematic-debugging/test-academic.md +14 -0
- package/template/.pi/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/template/.pi/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/template/.pi/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/template/.pi/skills/tdd-workflow/SKILL.md +186 -0
- package/template/.pi/skills/tdd-workflow/references/typescript.md +231 -0
- package/template/.pi/skills/tech-stack-catalog/SKILL.md +49 -0
- package/template/.pi/skills/tech-stack-catalog/references/constraint-questions.md +237 -0
- package/template/.pi/skills/tech-stack-catalog/references/dev-tooling-decisions.md +37 -0
- package/template/.pi/skills/tech-stack-catalog/references/surface-decision-tables.md +69 -0
- package/template/.pi/skills/technical-writer/SKILL.md +242 -0
- package/template/.pi/skills/testing-strategist/SKILL.md +319 -0
- package/template/.pi/skills/testing-strategist/references/typescript.md +328 -0
- package/template/.pi/skills/update-architecture-map/SKILL.md +91 -0
- package/template/.pi/skills/validate-phase/SKILL.md +61 -0
- package/template/.pi/skills/validate-phase-quality/SKILL.md +166 -0
- package/template/.pi/skills/validate-phase-readiness/SKILL.md +181 -0
- package/template/.pi/skills/verification-before-completion/SKILL.md +97 -0
- package/template/.pi/skills/verify-infrastructure/SKILL.md +232 -0
- package/template/.pi/skills/workflow-automation/SKILL.md +166 -0
- package/template/.pi/skills/workflow-automation/references/inngest.md +88 -0
- package/template/.pi/skills/workflow-automation/references/temporal.md +64 -0
- package/template/.pi/skills/write-architecture-spec/SKILL.md +89 -0
- package/template/.pi/skills/write-architecture-spec-deepen/SKILL.md +185 -0
- package/template/.pi/skills/write-architecture-spec-design/SKILL.md +203 -0
- package/template/.pi/skills/write-be-spec/SKILL.md +96 -0
- package/template/.pi/skills/write-be-spec-classify/SKILL.md +122 -0
- package/template/.pi/skills/write-be-spec-write/SKILL.md +238 -0
- package/template/.pi/skills/write-fe-spec/SKILL.md +93 -0
- package/template/.pi/skills/write-fe-spec-classify/SKILL.md +180 -0
- package/template/.pi/skills/write-fe-spec-write/SKILL.md +233 -0
- package/template/AGENTS.md +88 -0
- package/template/CLAUDE.md +85 -0
- package/template/CODEX.md +79 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: react-native
|
|
3
|
+
description: "Expert React Native guide covering Expo vs bare workflow, navigation (React Navigation, Expo Router), native modules, platform-specific code, performance (FlatList, memo, Hermes), state management, animations (Reanimated, Gesture Handler), testing (Detox, RNTL), and deployment (EAS Build, CodePush). Use when building cross-platform mobile apps with React Native."
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# React Native Expert Guide
|
|
8
|
+
|
|
9
|
+
> Use this skill when building iOS/Android apps with React Native. Targets React Native 0.73+ with Expo SDK 50+ or bare workflow.
|
|
10
|
+
|
|
11
|
+
## When to Use This Skill
|
|
12
|
+
|
|
13
|
+
- Building cross-platform mobile apps (iOS + Android)
|
|
14
|
+
- Choosing between Expo and bare React Native
|
|
15
|
+
- Implementing navigation, animations, or native modules
|
|
16
|
+
- Optimizing mobile performance (lists, renders, memory)
|
|
17
|
+
- Setting up CI/CD for mobile app deployment
|
|
18
|
+
|
|
19
|
+
## When NOT to Use This Skill
|
|
20
|
+
|
|
21
|
+
- Web-only apps → use Next.js / React
|
|
22
|
+
- Native iOS only → use SwiftUI
|
|
23
|
+
- Native Android only → use Kotlin Compose
|
|
24
|
+
- Game development → use Godot or Unity
|
|
25
|
+
- Flutter projects → use Flutter skill
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 1. Project Setup (CRITICAL)
|
|
30
|
+
|
|
31
|
+
### Expo vs Bare Workflow
|
|
32
|
+
|
|
33
|
+
| Factor | Expo (Managed) | Bare |
|
|
34
|
+
|--------|---------------|------|
|
|
35
|
+
| Setup time | Minutes | Hours |
|
|
36
|
+
| Native modules | Expo Modules API | Manual linking |
|
|
37
|
+
| OTA updates | Built-in (EAS Update) | CodePush |
|
|
38
|
+
| EAS Build | ✅ Cloud builds | Manual Xcode/Gradle |
|
|
39
|
+
| Custom native code | Via config plugins | Full access |
|
|
40
|
+
| **Recommendation** | **Start here** | Only if Expo can't support a requirement |
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# ✅ Start with Expo
|
|
44
|
+
npx create-expo-app@latest my-app --template blank-typescript
|
|
45
|
+
|
|
46
|
+
# Bare workflow (only when needed)
|
|
47
|
+
npx react-native@latest init MyApp
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Project Structure
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
src/
|
|
54
|
+
├── app/ # Expo Router screens (file-based routing)
|
|
55
|
+
│ ├── (tabs)/ # Tab layout group
|
|
56
|
+
│ │ ├── _layout.tsx
|
|
57
|
+
│ │ ├── index.tsx # Home tab
|
|
58
|
+
│ │ └── profile.tsx # Profile tab
|
|
59
|
+
│ ├── _layout.tsx # Root layout
|
|
60
|
+
│ └── [id].tsx # Dynamic route
|
|
61
|
+
├── components/ # Reusable UI components
|
|
62
|
+
│ ├── ui/ # Design system primitives
|
|
63
|
+
│ └── features/ # Feature-specific components
|
|
64
|
+
├── hooks/ # Custom hooks
|
|
65
|
+
├── services/ # API clients, storage
|
|
66
|
+
├── stores/ # State management
|
|
67
|
+
├── constants/ # Colors, dimensions, config
|
|
68
|
+
└── types/ # TypeScript type definitions
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 2. Navigation
|
|
74
|
+
|
|
75
|
+
### Expo Router (Recommended)
|
|
76
|
+
|
|
77
|
+
```tsx
|
|
78
|
+
// app/_layout.tsx
|
|
79
|
+
import { Stack } from 'expo-router';
|
|
80
|
+
|
|
81
|
+
export default function RootLayout() {
|
|
82
|
+
return (
|
|
83
|
+
<Stack>
|
|
84
|
+
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
|
85
|
+
<Stack.Screen name="modal" options={{ presentation: 'modal' }} />
|
|
86
|
+
</Stack>
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
// app/(tabs)/_layout.tsx
|
|
93
|
+
import { Tabs } from 'expo-router';
|
|
94
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
95
|
+
|
|
96
|
+
export default function TabLayout() {
|
|
97
|
+
return (
|
|
98
|
+
<Tabs>
|
|
99
|
+
<Tabs.Screen
|
|
100
|
+
name="index"
|
|
101
|
+
options={{
|
|
102
|
+
title: 'Home',
|
|
103
|
+
tabBarIcon: ({ color, size }) => (
|
|
104
|
+
<Ionicons name="home" size={size} color={color} />
|
|
105
|
+
),
|
|
106
|
+
}}
|
|
107
|
+
/>
|
|
108
|
+
</Tabs>
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Typed Navigation
|
|
114
|
+
|
|
115
|
+
```tsx
|
|
116
|
+
import { useRouter, useLocalSearchParams } from 'expo-router';
|
|
117
|
+
|
|
118
|
+
export default function DetailScreen() {
|
|
119
|
+
const { id } = useLocalSearchParams<{ id: string }>();
|
|
120
|
+
const router = useRouter();
|
|
121
|
+
|
|
122
|
+
return (
|
|
123
|
+
<Pressable onPress={() => router.push(`/items/${id}`)}>
|
|
124
|
+
<Text>View Item {id}</Text>
|
|
125
|
+
</Pressable>
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## 3. Performance (CRITICAL)
|
|
133
|
+
|
|
134
|
+
### FlatList Optimization
|
|
135
|
+
|
|
136
|
+
```tsx
|
|
137
|
+
import { FlatList, type ListRenderItem } from 'react-native';
|
|
138
|
+
|
|
139
|
+
const renderItem: ListRenderItem<Item> = ({ item }) => (
|
|
140
|
+
<ItemRow item={item} />
|
|
141
|
+
);
|
|
142
|
+
|
|
143
|
+
const keyExtractor = (item: Item) => item.id;
|
|
144
|
+
|
|
145
|
+
<FlatList
|
|
146
|
+
data={items}
|
|
147
|
+
renderItem={renderItem}
|
|
148
|
+
keyExtractor={keyExtractor}
|
|
149
|
+
// ✅ Performance props
|
|
150
|
+
removeClippedSubviews={true}
|
|
151
|
+
maxToRenderPerBatch={10}
|
|
152
|
+
windowSize={5}
|
|
153
|
+
initialNumToRender={10}
|
|
154
|
+
getItemLayout={(_, index) => ({
|
|
155
|
+
length: ITEM_HEIGHT,
|
|
156
|
+
offset: ITEM_HEIGHT * index,
|
|
157
|
+
index,
|
|
158
|
+
})}
|
|
159
|
+
/>
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Memoization
|
|
163
|
+
|
|
164
|
+
```tsx
|
|
165
|
+
import { memo, useCallback, useMemo } from 'react';
|
|
166
|
+
|
|
167
|
+
// ✅ Memoize list items
|
|
168
|
+
const ItemRow = memo(function ItemRow({ item, onPress }: Props) {
|
|
169
|
+
return (
|
|
170
|
+
<Pressable onPress={() => onPress(item.id)}>
|
|
171
|
+
<Text>{item.title}</Text>
|
|
172
|
+
</Pressable>
|
|
173
|
+
);
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
// ✅ Stable callbacks
|
|
177
|
+
const onItemPress = useCallback((id: string) => {
|
|
178
|
+
router.push(`/items/${id}`);
|
|
179
|
+
}, []);
|
|
180
|
+
|
|
181
|
+
// ✅ Expensive computations
|
|
182
|
+
const filteredItems = useMemo(
|
|
183
|
+
() => items.filter(i => i.category === selectedCategory),
|
|
184
|
+
[items, selectedCategory]
|
|
185
|
+
);
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Image Optimization
|
|
189
|
+
|
|
190
|
+
```tsx
|
|
191
|
+
import { Image } from 'expo-image';
|
|
192
|
+
|
|
193
|
+
// ✅ expo-image with caching
|
|
194
|
+
<Image
|
|
195
|
+
source={{ uri: imageUrl }}
|
|
196
|
+
style={{ width: 200, height: 200 }}
|
|
197
|
+
contentFit="cover"
|
|
198
|
+
placeholder={blurhash}
|
|
199
|
+
transition={200}
|
|
200
|
+
/>
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## 4. Animations
|
|
206
|
+
|
|
207
|
+
### Reanimated
|
|
208
|
+
|
|
209
|
+
```tsx
|
|
210
|
+
import Animated, {
|
|
211
|
+
useSharedValue,
|
|
212
|
+
useAnimatedStyle,
|
|
213
|
+
withSpring,
|
|
214
|
+
withTiming,
|
|
215
|
+
} from 'react-native-reanimated';
|
|
216
|
+
|
|
217
|
+
function AnimatedCard() {
|
|
218
|
+
const scale = useSharedValue(1);
|
|
219
|
+
|
|
220
|
+
const animatedStyle = useAnimatedStyle(() => ({
|
|
221
|
+
transform: [{ scale: scale.value }],
|
|
222
|
+
}));
|
|
223
|
+
|
|
224
|
+
const onPressIn = () => { scale.value = withSpring(0.95); };
|
|
225
|
+
const onPressOut = () => { scale.value = withSpring(1); };
|
|
226
|
+
|
|
227
|
+
return (
|
|
228
|
+
<Pressable onPressIn={onPressIn} onPressOut={onPressOut}>
|
|
229
|
+
<Animated.View style={[styles.card, animatedStyle]}>
|
|
230
|
+
<Text>Press me</Text>
|
|
231
|
+
</Animated.View>
|
|
232
|
+
</Pressable>
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### Gesture Handler
|
|
238
|
+
|
|
239
|
+
```tsx
|
|
240
|
+
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
241
|
+
|
|
242
|
+
function SwipeableCard() {
|
|
243
|
+
const translateX = useSharedValue(0);
|
|
244
|
+
|
|
245
|
+
const panGesture = Gesture.Pan()
|
|
246
|
+
.onUpdate((e) => { translateX.value = e.translationX; })
|
|
247
|
+
.onEnd(() => {
|
|
248
|
+
if (Math.abs(translateX.value) > SWIPE_THRESHOLD) {
|
|
249
|
+
translateX.value = withTiming(
|
|
250
|
+
translateX.value > 0 ? SCREEN_WIDTH : -SCREEN_WIDTH
|
|
251
|
+
);
|
|
252
|
+
} else {
|
|
253
|
+
translateX.value = withSpring(0);
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
|
|
257
|
+
return (
|
|
258
|
+
<GestureDetector gesture={panGesture}>
|
|
259
|
+
<Animated.View style={useAnimatedStyle(() => ({
|
|
260
|
+
transform: [{ translateX: translateX.value }],
|
|
261
|
+
}))}>
|
|
262
|
+
<Text>Swipe me</Text>
|
|
263
|
+
</Animated.View>
|
|
264
|
+
</GestureDetector>
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
## 5. Platform-Specific Code
|
|
272
|
+
|
|
273
|
+
```tsx
|
|
274
|
+
import { Platform, StyleSheet } from 'react-native';
|
|
275
|
+
|
|
276
|
+
const styles = StyleSheet.create({
|
|
277
|
+
container: {
|
|
278
|
+
paddingTop: Platform.OS === 'ios' ? 44 : 0,
|
|
279
|
+
...Platform.select({
|
|
280
|
+
ios: { shadowColor: '#000', shadowOffset: { width: 0, height: 2 } },
|
|
281
|
+
android: { elevation: 4 },
|
|
282
|
+
}),
|
|
283
|
+
},
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
// File-based: Component.ios.tsx / Component.android.tsx
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## 6. Deployment
|
|
292
|
+
|
|
293
|
+
### EAS Build (Expo)
|
|
294
|
+
|
|
295
|
+
```bash
|
|
296
|
+
# Install EAS CLI
|
|
297
|
+
npm install -g eas-cli
|
|
298
|
+
|
|
299
|
+
# Configure
|
|
300
|
+
eas build:configure
|
|
301
|
+
|
|
302
|
+
# Build
|
|
303
|
+
eas build --platform all --profile production
|
|
304
|
+
|
|
305
|
+
# Submit to stores
|
|
306
|
+
eas submit --platform ios
|
|
307
|
+
eas submit --platform android
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### OTA Updates
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
# Push JS-only updates without App Store review
|
|
314
|
+
eas update --branch production --message "Bug fix"
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
---
|
|
318
|
+
|
|
319
|
+
## 7. Common Anti-Patterns
|
|
320
|
+
|
|
321
|
+
1. **Inline styles** — use `StyleSheet.create()` for performance (styles are sent to native once)
|
|
322
|
+
2. **Anonymous functions in renderItem** — causes re-renders; extract and memoize
|
|
323
|
+
3. **ScrollView for long lists** — use `FlatList` or `FlashList` for virtualization
|
|
324
|
+
4. **Ignoring Hermes** — enable Hermes engine for faster startup and lower memory
|
|
325
|
+
5. **Not testing on real devices** — simulators miss performance issues and native behaviors
|
|
326
|
+
6. **Storing sensitive data in AsyncStorage** — use `expo-secure-store` for tokens/secrets
|
|
327
|
+
7. **Giant bundle sizes** — use `react-native-bundle-visualizer` to audit imports
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## References
|
|
332
|
+
|
|
333
|
+
- [Expo Documentation](https://docs.expo.dev/)
|
|
334
|
+
- [React Native Documentation](https://reactnative.dev/docs/getting-started)
|
|
335
|
+
- [Expo Router](https://docs.expo.dev/router/introduction/)
|
|
336
|
+
- [React Native Reanimated](https://docs.swmansion.com/react-native-reanimated/)
|
|
337
|
+
- [React Native Performance](https://reactnative.dev/docs/performance)
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: swiftui
|
|
3
|
+
description: "SwiftUI patterns covering views, state management, navigation, lists, networking, data persistence, and app architecture. Use when building iOS/macOS UI with SwiftUI."
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
source: self
|
|
6
|
+
date_added: "2026-03-14"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# SwiftUI
|
|
10
|
+
|
|
11
|
+
Declarative UI framework for Apple platforms (iOS, macOS, watchOS, tvOS, visionOS). Build UIs with structs, property wrappers for state, and a composable view hierarchy.
|
|
12
|
+
|
|
13
|
+
## When to Use
|
|
14
|
+
|
|
15
|
+
- Building native iOS/macOS applications
|
|
16
|
+
- Want declarative UI with Swift's type system
|
|
17
|
+
- Building for Apple Watch, Apple TV, or visionOS
|
|
18
|
+
- Need tight integration with iOS frameworks (CoreData, CloudKit, HealthKit)
|
|
19
|
+
|
|
20
|
+
## When NOT to Use
|
|
21
|
+
|
|
22
|
+
- Building cross-platform (use Flutter, React Native, or KMP)
|
|
23
|
+
- Targeting Android (use Jetpack Compose)
|
|
24
|
+
- Need to support iOS < 15 (SwiftUI maturity is iOS 16+)
|
|
25
|
+
|
|
26
|
+
## Views
|
|
27
|
+
|
|
28
|
+
```swift
|
|
29
|
+
struct ContentView: View {
|
|
30
|
+
var body: some View {
|
|
31
|
+
VStack(spacing: 16) {
|
|
32
|
+
Text("Hello, World!")
|
|
33
|
+
.font(.largeTitle)
|
|
34
|
+
.fontWeight(.bold)
|
|
35
|
+
Text("SwiftUI is great")
|
|
36
|
+
.font(.subheadline)
|
|
37
|
+
.foregroundStyle(.secondary)
|
|
38
|
+
}
|
|
39
|
+
.padding()
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#Preview { ContentView() }
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## State Management
|
|
47
|
+
|
|
48
|
+
### @State (Local State)
|
|
49
|
+
|
|
50
|
+
```swift
|
|
51
|
+
struct CounterView: View {
|
|
52
|
+
@State private var count = 0
|
|
53
|
+
|
|
54
|
+
var body: some View {
|
|
55
|
+
VStack {
|
|
56
|
+
Text("Count: \(count)")
|
|
57
|
+
.font(.title)
|
|
58
|
+
Button("Increment") { count += 1 }
|
|
59
|
+
.buttonStyle(.borderedProminent)
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### @Binding (Child ↔ Parent)
|
|
66
|
+
|
|
67
|
+
```swift
|
|
68
|
+
struct ToggleRow: View {
|
|
69
|
+
let label: String
|
|
70
|
+
@Binding var isOn: Bool
|
|
71
|
+
|
|
72
|
+
var body: some View {
|
|
73
|
+
Toggle(label, isOn: $isOn)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
struct SettingsView: View {
|
|
78
|
+
@State private var darkMode = false
|
|
79
|
+
var body: some View {
|
|
80
|
+
ToggleRow(label: "Dark Mode", isOn: $darkMode)
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### @Observable (iOS 17+)
|
|
86
|
+
|
|
87
|
+
```swift
|
|
88
|
+
@Observable
|
|
89
|
+
class TaskStore {
|
|
90
|
+
var tasks: [Task] = []
|
|
91
|
+
var isLoading = false
|
|
92
|
+
|
|
93
|
+
func loadTasks() async {
|
|
94
|
+
isLoading = true
|
|
95
|
+
tasks = await api.fetchTasks()
|
|
96
|
+
isLoading = false
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
struct TaskListView: View {
|
|
101
|
+
@State private var store = TaskStore()
|
|
102
|
+
|
|
103
|
+
var body: some View {
|
|
104
|
+
List(store.tasks) { task in
|
|
105
|
+
TaskRow(task: task)
|
|
106
|
+
}
|
|
107
|
+
.overlay { if store.isLoading { ProgressView() } }
|
|
108
|
+
.task { await store.loadTasks() }
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### @Environment
|
|
114
|
+
|
|
115
|
+
```swift
|
|
116
|
+
struct DetailView: View {
|
|
117
|
+
@Environment(\.dismiss) private var dismiss
|
|
118
|
+
@Environment(\.colorScheme) private var colorScheme
|
|
119
|
+
|
|
120
|
+
var body: some View {
|
|
121
|
+
VStack {
|
|
122
|
+
Text(colorScheme == .dark ? "Dark Mode" : "Light Mode")
|
|
123
|
+
Button("Close") { dismiss() }
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
## Navigation
|
|
130
|
+
|
|
131
|
+
### NavigationStack (iOS 16+)
|
|
132
|
+
|
|
133
|
+
```swift
|
|
134
|
+
struct AppView: View {
|
|
135
|
+
@State private var path = NavigationPath()
|
|
136
|
+
|
|
137
|
+
var body: some View {
|
|
138
|
+
NavigationStack(path: $path) {
|
|
139
|
+
List(items) { item in
|
|
140
|
+
NavigationLink(value: item) {
|
|
141
|
+
Text(item.title)
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
.navigationTitle("Items")
|
|
145
|
+
.navigationDestination(for: Item.self) { item in
|
|
146
|
+
ItemDetailView(item: item)
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### TabView
|
|
154
|
+
|
|
155
|
+
```swift
|
|
156
|
+
struct MainTabView: View {
|
|
157
|
+
var body: some View {
|
|
158
|
+
TabView {
|
|
159
|
+
HomeView()
|
|
160
|
+
.tabItem { Label("Home", systemImage: "house") }
|
|
161
|
+
SearchView()
|
|
162
|
+
.tabItem { Label("Search", systemImage: "magnifyingglass") }
|
|
163
|
+
ProfileView()
|
|
164
|
+
.tabItem { Label("Profile", systemImage: "person") }
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
## Lists and Data
|
|
171
|
+
|
|
172
|
+
```swift
|
|
173
|
+
struct TaskListView: View {
|
|
174
|
+
@State private var tasks: [Task] = Task.samples
|
|
175
|
+
|
|
176
|
+
var body: some View {
|
|
177
|
+
List {
|
|
178
|
+
ForEach(tasks) { task in
|
|
179
|
+
HStack {
|
|
180
|
+
Image(systemName: task.isDone ? "checkmark.circle.fill" : "circle")
|
|
181
|
+
.foregroundStyle(task.isDone ? .green : .gray)
|
|
182
|
+
VStack(alignment: .leading) {
|
|
183
|
+
Text(task.title).font(.headline)
|
|
184
|
+
Text(task.dueDate, style: .date).font(.caption).foregroundStyle(.secondary)
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
.onDelete { indices in tasks.remove(atOffsets: indices) }
|
|
189
|
+
.onMove { from, to in tasks.move(fromOffsets: from, toOffset: to) }
|
|
190
|
+
}
|
|
191
|
+
.toolbar { EditButton() }
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
## Networking
|
|
197
|
+
|
|
198
|
+
```swift
|
|
199
|
+
struct APIClient {
|
|
200
|
+
static func fetchItems() async throws -> [Item] {
|
|
201
|
+
let (data, response) = try await URLSession.shared.data(
|
|
202
|
+
from: URL(string: "https://api.example.com/items")!
|
|
203
|
+
)
|
|
204
|
+
guard let httpResponse = response as? HTTPURLResponse,
|
|
205
|
+
httpResponse.statusCode == 200 else {
|
|
206
|
+
throw URLError(.badServerResponse)
|
|
207
|
+
}
|
|
208
|
+
return try JSONDecoder().decode([Item].self, from: data)
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// Usage in view
|
|
213
|
+
.task {
|
|
214
|
+
do {
|
|
215
|
+
items = try await APIClient.fetchItems()
|
|
216
|
+
} catch {
|
|
217
|
+
errorMessage = error.localizedDescription
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Forms
|
|
223
|
+
|
|
224
|
+
```swift
|
|
225
|
+
struct SettingsForm: View {
|
|
226
|
+
@State private var name = ""
|
|
227
|
+
@State private var email = ""
|
|
228
|
+
@State private var notificationsEnabled = true
|
|
229
|
+
@State private var fontSize: Double = 14
|
|
230
|
+
|
|
231
|
+
var body: some View {
|
|
232
|
+
Form {
|
|
233
|
+
Section("Profile") {
|
|
234
|
+
TextField("Name", text: $name)
|
|
235
|
+
TextField("Email", text: $email)
|
|
236
|
+
.textContentType(.emailAddress)
|
|
237
|
+
.keyboardType(.emailAddress)
|
|
238
|
+
}
|
|
239
|
+
Section("Preferences") {
|
|
240
|
+
Toggle("Notifications", isOn: $notificationsEnabled)
|
|
241
|
+
Slider(value: $fontSize, in: 10...24, step: 1) {
|
|
242
|
+
Text("Font Size: \(Int(fontSize))")
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
## Anti-Patterns
|
|
251
|
+
|
|
252
|
+
| Don't | Do |
|
|
253
|
+
|-------|-----|
|
|
254
|
+
| Use `@ObservedObject` for owned state | Use `@State` for owned state, `@ObservedObject` only for injected objects |
|
|
255
|
+
| Perform networking directly in views | Use `.task` modifier or `@Observable` model with async methods |
|
|
256
|
+
| Force unwrap optionals in views | Use `if let` or nil-coalescing for safe unwrapping |
|
|
257
|
+
| Create complex view hierarchies in one struct | Extract sub-views into separate structs |
|
|
258
|
+
| Use `@StateObject` on iOS 17+ | Use `@State` with `@Observable` class (iOS 17+) |
|
|
259
|
+
| Skip `#Preview` macros | Add previews for every view for rapid iteration |
|
|
260
|
+
| Use `NavigationView` in new projects | Use `NavigationStack` (iOS 16+) — NavigationView is deprecated |
|
|
261
|
+
| Mutate state during view body evaluation | Use `onAppear`, `.task`, or user-triggered actions for mutations |
|