cfsa-antigravity 1.0.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/bin/cli.mjs +324 -0
- package/package.json +34 -0
- package/template/.agent/instructions/commands.md +48 -0
- package/template/.agent/instructions/patterns.md +61 -0
- package/template/.agent/instructions/structure.md +29 -0
- package/template/.agent/instructions/tech-stack.md +43 -0
- package/template/.agent/instructions/workflow.md +41 -0
- package/template/.agent/kit-sync.md +15 -0
- package/template/.agent/rules/boundary-not-placeholder.md +146 -0
- package/template/.agent/rules/completion-checklist.md +48 -0
- package/template/.agent/rules/decision-classification.md +103 -0
- package/template/.agent/rules/extensibility.md +47 -0
- package/template/.agent/rules/question-vs-command.md +81 -0
- package/template/.agent/rules/security-first.md +43 -0
- package/template/.agent/rules/specificity-standards.md +54 -0
- package/template/.agent/rules/tdd-contract-first.md +57 -0
- package/template/.agent/rules/vertical-slices.md +42 -0
- package/template/.agent/skill-library/MANIFEST.md +480 -0
- package/template/.agent/skill-library/README.md +38 -0
- package/template/.agent/skill-library/meta/brand-guidelines/SKILL.md +73 -0
- package/template/.agent/skill-library/meta/claude-code/README.md +9 -0
- package/template/.agent/skill-library/meta/claude-code/agent-development/SKILL.md +415 -0
- package/template/.agent/skill-library/meta/claude-code/hook-development/SKILL.md +712 -0
- package/template/.agent/skill-library/meta/claude-code/plugin-structure/SKILL.md +476 -0
- package/template/.agent/skill-library/meta/git-advanced/SKILL.md +972 -0
- package/template/.agent/skill-library/meta/mcp-builder/SKILL.md +236 -0
- package/template/.agent/skill-library/meta/product-marketing-context/SKILL.md +241 -0
- package/template/.agent/skill-library/meta/regex-patterns/SKILL.md +751 -0
- package/template/.agent/skill-library/meta/tmux-processes/SKILL.md +210 -0
- package/template/.agent/skill-library/meta/using-tmux-for-interactive-commands/SKILL.md +178 -0
- package/template/.agent/skill-library/stack/3d/threejs-pro/SKILL.md +300 -0
- package/template/.agent/skill-library/stack/ai/ai-sdk/SKILL.md +77 -0
- package/template/.agent/skill-library/stack/ai/langchain/SKILL.md +530 -0
- package/template/.agent/skill-library/stack/ai/ollama/SKILL.md +321 -0
- package/template/.agent/skill-library/stack/ai/openai-sdk/SKILL.md +549 -0
- package/template/.agent/skill-library/stack/analytics/google-analytics/SKILL.md +153 -0
- package/template/.agent/skill-library/stack/api/graphql/SKILL.md +1061 -0
- package/template/.agent/skill-library/stack/api/trpc/SKILL.md +576 -0
- package/template/.agent/skill-library/stack/auth/authjs/SKILL.md +569 -0
- package/template/.agent/skill-library/stack/auth/clerk/SKILL.md +590 -0
- package/template/.agent/skill-library/stack/auth/firebase-auth/SKILL.md +734 -0
- package/template/.agent/skill-library/stack/cms/payload-cms/SKILL.md +573 -0
- package/template/.agent/skill-library/stack/cms/shopify/SKILL.md +1193 -0
- package/template/.agent/skill-library/stack/cms/wordpress/SKILL.md +1104 -0
- package/template/.agent/skill-library/stack/css/sass-scss/SKILL.md +1121 -0
- package/template/.agent/skill-library/stack/css/tailwind-css-patterns/SKILL.md +863 -0
- package/template/.agent/skill-library/stack/css/tailwind-design-system/SKILL.md +490 -0
- package/template/.agent/skill-library/stack/css/vanilla-css/SKILL.md +1078 -0
- package/template/.agent/skill-library/stack/databases/clickhouse/SKILL.md +311 -0
- package/template/.agent/skill-library/stack/databases/influxdb/SKILL.md +280 -0
- package/template/.agent/skill-library/stack/databases/lancedb/SKILL.md +415 -0
- package/template/.agent/skill-library/stack/databases/mongodb/SKILL.md +1169 -0
- package/template/.agent/skill-library/stack/databases/neo4j/SKILL.md +839 -0
- package/template/.agent/skill-library/stack/databases/pgvector/SKILL.md +241 -0
- package/template/.agent/skill-library/stack/databases/pinecone/SKILL.md +212 -0
- package/template/.agent/skill-library/stack/databases/postgresql/SKILL.md +658 -0
- package/template/.agent/skill-library/stack/databases/qdrant/SKILL.md +312 -0
- package/template/.agent/skill-library/stack/databases/redis/SKILL.md +1079 -0
- package/template/.agent/skill-library/stack/databases/spacetimedb/SKILL.md +532 -0
- package/template/.agent/skill-library/stack/databases/sqlite/SKILL.md +1132 -0
- package/template/.agent/skill-library/stack/databases/supabase/SKILL.md +640 -0
- package/template/.agent/skill-library/stack/databases/surrealdb-expert/SKILL.md +945 -0
- package/template/.agent/skill-library/stack/databases/timescaledb/SKILL.md +745 -0
- package/template/.agent/skill-library/stack/databases/weaviate/SKILL.md +218 -0
- package/template/.agent/skill-library/stack/devops/github-actions/SKILL.md +554 -0
- package/template/.agent/skill-library/stack/devops/kubernetes/SKILL.md +950 -0
- package/template/.agent/skill-library/stack/devops/nginx/SKILL.md +841 -0
- package/template/.agent/skill-library/stack/devops/terraform/SKILL.md +860 -0
- package/template/.agent/skill-library/stack/email/resend/SKILL.md +391 -0
- package/template/.agent/skill-library/stack/engines/godot/SKILL.md +488 -0
- package/template/.agent/skill-library/stack/extensions/chrome-extension/SKILL.md +375 -0
- package/template/.agent/skill-library/stack/extensions/vscode-extension/SKILL.md +453 -0
- package/template/.agent/skill-library/stack/frameworks/astro-framework/SKILL.md +162 -0
- package/template/.agent/skill-library/stack/frameworks/electron/SKILL.md +1286 -0
- package/template/.agent/skill-library/stack/frameworks/fastapi/SKILL.md +650 -0
- package/template/.agent/skill-library/stack/frameworks/hono/SKILL.md +90 -0
- package/template/.agent/skill-library/stack/frameworks/nestjs/SKILL.md +878 -0
- package/template/.agent/skill-library/stack/frameworks/nextjs/SKILL.md +635 -0
- package/template/.agent/skill-library/stack/frameworks/nuxt/SKILL.md +564 -0
- package/template/.agent/skill-library/stack/frameworks/sveltekit/SKILL.md +614 -0
- package/template/.agent/skill-library/stack/frameworks/tauri/SKILL.md +920 -0
- package/template/.agent/skill-library/stack/gamedev/godot/SKILL.md +1032 -0
- package/template/.agent/skill-library/stack/gamedev/unity/SKILL.md +1175 -0
- package/template/.agent/skill-library/stack/hosting/aws/SKILL.md +467 -0
- package/template/.agent/skill-library/stack/hosting/cloudflare/SKILL.md +201 -0
- package/template/.agent/skill-library/stack/hosting/docker-expert/SKILL.md +409 -0
- package/template/.agent/skill-library/stack/hosting/vercel/SKILL.md +484 -0
- package/template/.agent/skill-library/stack/languages/bash-scripting/SKILL.md +773 -0
- package/template/.agent/skill-library/stack/languages/c-cpp/SKILL.md +712 -0
- package/template/.agent/skill-library/stack/languages/gdscript/SKILL.md +789 -0
- package/template/.agent/skill-library/stack/languages/go/SKILL.md +664 -0
- package/template/.agent/skill-library/stack/languages/java/SKILL.md +778 -0
- package/template/.agent/skill-library/stack/languages/kotlin/SKILL.md +665 -0
- package/template/.agent/skill-library/stack/languages/python/SKILL.md +678 -0
- package/template/.agent/skill-library/stack/languages/rust/SKILL.md +673 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/SKILL.md +141 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/advanced-generics.md +90 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/branded-types.md +57 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/builder-pattern.md +71 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/common-pitfalls.md +135 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/conditional-types.md +27 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/decorators.md +98 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/discriminated-unions.md +62 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/mapped-types.md +53 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/performance-best-practices.md +104 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/template-literal-types.md +49 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/testing-types.md +112 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/type-guards.md +70 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/type-inference.md +101 -0
- package/template/.agent/skill-library/stack/languages/typescript-advanced-patterns/references/utility-types.md +98 -0
- package/template/.agent/skill-library/stack/languages/vanilla-javascript/SKILL.md +803 -0
- package/template/.agent/skill-library/stack/messaging/kafka/SKILL.md +235 -0
- package/template/.agent/skill-library/stack/mobile/expo-react-native/SKILL.md +665 -0
- package/template/.agent/skill-library/stack/mobile/flutter/SKILL.md +316 -0
- package/template/.agent/skill-library/stack/mobile/react-native/SKILL.md +337 -0
- package/template/.agent/skill-library/stack/monitoring/posthog/SKILL.md +396 -0
- package/template/.agent/skill-library/stack/monitoring/sentry/SKILL.md +509 -0
- package/template/.agent/skill-library/stack/observability/datadog/SKILL.md +179 -0
- package/template/.agent/skill-library/stack/observability/distributed-tracing/SKILL.md +140 -0
- package/template/.agent/skill-library/stack/observability/logging-best-practices/SKILL.md +168 -0
- package/template/.agent/skill-library/stack/observability/opentelemetry/SKILL.md +164 -0
- package/template/.agent/skill-library/stack/observability/prometheus-grafana/SKILL.md +246 -0
- package/template/.agent/skill-library/stack/observability/python-observability/SKILL.md +158 -0
- package/template/.agent/skill-library/stack/orm/drizzle-orm/SKILL.md +613 -0
- package/template/.agent/skill-library/stack/orm/prisma/SKILL.md +744 -0
- package/template/.agent/skill-library/stack/payments/lemonsqueezy/SKILL.md +393 -0
- package/template/.agent/skill-library/stack/payments/stripe-integration/SKILL.md +457 -0
- package/template/.agent/skill-library/stack/queue/bullmq/SKILL.md +385 -0
- package/template/.agent/skill-library/stack/queue/inngest/SKILL.md +438 -0
- package/template/.agent/skill-library/stack/realtime/socketio/SKILL.md +595 -0
- package/template/.agent/skill-library/stack/search/elasticsearch/SKILL.md +248 -0
- package/template/.agent/skill-library/stack/search/meilisearch/SKILL.md +385 -0
- package/template/.agent/skill-library/stack/security/crypto-patterns/SKILL.md +437 -0
- package/template/.agent/skill-library/stack/security/csp-cors-headers/SKILL.md +588 -0
- package/template/.agent/skill-library/stack/security/dependency-auditing/SKILL.md +560 -0
- package/template/.agent/skill-library/stack/security/input-sanitization/SKILL.md +430 -0
- package/template/.agent/skill-library/stack/security/owasp-web-security/SKILL.md +421 -0
- package/template/.agent/skill-library/stack/state/tanstack-query/SKILL.md +637 -0
- package/template/.agent/skill-library/stack/state/zustand/SKILL.md +483 -0
- package/template/.agent/skill-library/stack/storage/aws-s3/SKILL.md +415 -0
- package/template/.agent/skill-library/stack/testing/playwright/SKILL.md +641 -0
- package/template/.agent/skill-library/stack/testing/storybook/SKILL.md +923 -0
- package/template/.agent/skill-library/stack/testing/testing-library/SKILL.md +872 -0
- package/template/.agent/skill-library/stack/testing/vitest/SKILL.md +714 -0
- package/template/.agent/skill-library/stack/ui/react-best-practices/SKILL.md +877 -0
- package/template/.agent/skill-library/stack/ui/react-composition-patterns/SKILL.md +1107 -0
- package/template/.agent/skill-library/stack/ui/react-flow/SKILL.md +425 -0
- package/template/.agent/skill-library/stack/ui/shadcn-ui/SKILL.md +703 -0
- package/template/.agent/skill-library/surface/api/api-caching/SKILL.md +458 -0
- package/template/.agent/skill-library/surface/api/api-documentation-openapi/SKILL.md +697 -0
- package/template/.agent/skill-library/surface/api/api-error-handling/SKILL.md +478 -0
- package/template/.agent/skill-library/surface/api/api-security-checklist/SKILL.md +147 -0
- package/template/.agent/skill-library/surface/api/api-versioning/SKILL.md +420 -0
- package/template/.agent/skill-library/surface/api/email-best-practices/SKILL.md +59 -0
- package/template/.agent/skill-library/surface/api/rate-limiting-abuse-protection/SKILL.md +147 -0
- package/template/.agent/skill-library/surface/api/rest-api-design/SKILL.md +478 -0
- package/template/.agent/skill-library/surface/api/webhook-design/SKILL.md +752 -0
- package/template/.agent/skill-library/surface/cli/cli-configuration-management/SKILL.md +445 -0
- package/template/.agent/skill-library/surface/cli/cli-error-diagnostics/SKILL.md +515 -0
- package/template/.agent/skill-library/surface/cli/cli-shell-integration/SKILL.md +479 -0
- package/template/.agent/skill-library/surface/cli/cli-ux-design/SKILL.md +477 -0
- package/template/.agent/skill-library/surface/desktop/desktop-app-distribution/SKILL.md +416 -0
- package/template/.agent/skill-library/surface/desktop/desktop-security-sandboxing/SKILL.md +407 -0
- package/template/.agent/skill-library/surface/desktop/desktop-ux-conventions/SKILL.md +361 -0
- package/template/.agent/skill-library/surface/desktop/native-os-integration/SKILL.md +563 -0
- package/template/.agent/skill-library/surface/extension/browser-extension-patterns/SKILL.md +482 -0
- package/template/.agent/skill-library/surface/extension/plugin-architecture-design/SKILL.md +632 -0
- package/template/.agent/skill-library/surface/extension/vscode-extension-development/SKILL.md +728 -0
- package/template/.agent/skill-library/surface/mobile/app-store-submission/SKILL.md +304 -0
- package/template/.agent/skill-library/surface/mobile/mobile-offline-sync/SKILL.md +443 -0
- package/template/.agent/skill-library/surface/mobile/mobile-responsive-patterns/SKILL.md +432 -0
- package/template/.agent/skill-library/surface/mobile/push-notifications/SKILL.md +495 -0
- package/template/.agent/skill-library/surface/web/accessibility-compliance/SKILL.md +827 -0
- package/template/.agent/skill-library/surface/web/ai-seo/SKILL.md +398 -0
- package/template/.agent/skill-library/surface/web/ai-seo/references/content-patterns.md +285 -0
- package/template/.agent/skill-library/surface/web/ai-seo/references/platform-ranking-factors.md +152 -0
- package/template/.agent/skill-library/surface/web/analytics-tracking/SKILL.md +309 -0
- package/template/.agent/skill-library/surface/web/analytics-tracking/references/event-library.md +260 -0
- package/template/.agent/skill-library/surface/web/analytics-tracking/references/ga4-implementation.md +300 -0
- package/template/.agent/skill-library/surface/web/analytics-tracking/references/gtm-implementation.md +390 -0
- package/template/.agent/skill-library/surface/web/authentication-ui-flows/SKILL.md +530 -0
- package/template/.agent/skill-library/surface/web/dark-mode-theming/SKILL.md +516 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/SKILL.md +105 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/charts.csv +26 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/colors.csv +97 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/landing.csv +31 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/styles.csv +59 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/typography.csv +58 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/data/ux-guidelines.csv +100 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/scripts/core.py +258 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/scripts/design_system.py +1067 -0
- package/template/.agent/skill-library/surface/web/design-reference-data/scripts/search.py +106 -0
- package/template/.agent/skill-library/surface/web/form-handling-validation/SKILL.md +675 -0
- package/template/.agent/skill-library/surface/web/frontend-design/SKILL.md +1393 -0
- package/template/.agent/skill-library/surface/web/frontend-design/templates/cppn-hero.tsx +299 -0
- package/template/.agent/skill-library/surface/web/frontend-design/templates/wave-hero.tsx +875 -0
- package/template/.agent/skill-library/surface/web/frontend-verification/SKILL.md +111 -0
- package/template/.agent/skill-library/surface/web/frontend-verification/scripts/ux_audit.py +739 -0
- package/template/.agent/skill-library/surface/web/i18n-localization/SKILL.md +154 -0
- package/template/.agent/skill-library/surface/web/offline-first-pwa/SKILL.md +657 -0
- package/template/.agent/skill-library/surface/web/page-cro/SKILL.md +182 -0
- package/template/.agent/skill-library/surface/web/page-cro/references/experiments.md +248 -0
- package/template/.agent/skill-library/surface/web/programmatic-seo/SKILL.md +238 -0
- package/template/.agent/skill-library/surface/web/programmatic-seo/references/playbooks.md +308 -0
- package/template/.agent/skill-library/surface/web/schema-markup/SKILL.md +179 -0
- package/template/.agent/skill-library/surface/web/schema-markup/references/schema-examples.md +398 -0
- package/template/.agent/skill-library/surface/web/seo-audit/SKILL.md +394 -0
- package/template/.agent/skill-library/surface/web/seo-audit/references/ai-writing-detection.md +200 -0
- package/template/.agent/skill-library/surface/web/web-performance-optimization/SKILL.md +646 -0
- package/template/.agent/skill-library/surface/web/web-scraping/SKILL.md +58 -0
- package/template/.agent/skills/accessibility/SKILL.md +522 -0
- package/template/.agent/skills/accessibility/references/WCAG.md +162 -0
- package/template/.agent/skills/adversarial-review/SKILL.md +90 -0
- package/template/.agent/skills/antigravity-workflows/SKILL.md +81 -0
- package/template/.agent/skills/antigravity-workflows/resources/implementation-playbook.md +36 -0
- package/template/.agent/skills/api-design-principles/SKILL.md +37 -0
- package/template/.agent/skills/api-design-principles/assets/api-design-checklist.md +155 -0
- package/template/.agent/skills/api-design-principles/assets/rest-api-template.py +182 -0
- package/template/.agent/skills/api-design-principles/references/graphql-schema-design.md +583 -0
- package/template/.agent/skills/api-design-principles/references/rest-best-practices.md +408 -0
- package/template/.agent/skills/api-design-principles/resources/implementation-playbook.md +513 -0
- package/template/.agent/skills/api-versioning/SKILL.md +420 -0
- package/template/.agent/skills/architecture-mapping/SKILL.md +219 -0
- package/template/.agent/skills/bootstrap-agents/SKILL.md +259 -0
- package/template/.agent/skills/brainstorming/SKILL.md +236 -0
- package/template/.agent/skills/brand-guidelines/SKILL.md +44 -0
- package/template/.agent/skills/clean-code/SKILL.md +94 -0
- package/template/.agent/skills/code-review-pro/SKILL.md +152 -0
- package/template/.agent/skills/concise-planning/SKILL.md +68 -0
- package/template/.agent/skills/cross-layer-consistency/SKILL.md +117 -0
- package/template/.agent/skills/database-schema-design/SKILL.md +429 -0
- package/template/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/template/.agent/skills/design-anti-cliche/SKILL.md +159 -0
- package/template/.agent/skills/design-direction/SKILL.md +45 -0
- package/template/.agent/skills/error-handling-patterns/SKILL.md +721 -0
- package/template/.agent/skills/find-skills/SKILL.md +145 -0
- package/template/.agent/skills/git-advanced/SKILL.md +972 -0
- package/template/.agent/skills/git-workflow/SKILL.md +420 -0
- package/template/.agent/skills/idea-extraction/SKILL.md +271 -0
- package/template/.agent/skills/logging-best-practices/SKILL.md +851 -0
- package/template/.agent/skills/migration-management/SKILL.md +384 -0
- package/template/.agent/skills/minimalist-surgical-development/SKILL.md +69 -0
- package/template/.agent/skills/parallel-agents/SKILL.md +165 -0
- package/template/.agent/skills/parallel-debugging/SKILL.md +135 -0
- package/template/.agent/skills/parallel-feature-development/SKILL.md +166 -0
- package/template/.agent/skills/performance-budgeting/SKILL.md +144 -0
- package/template/.agent/skills/pipeline-rubrics/SKILL.md +51 -0
- package/template/.agent/skills/pipeline-rubrics/references/architecture-rubric.md +19 -0
- package/template/.agent/skills/pipeline-rubrics/references/be-rubric.md +21 -0
- package/template/.agent/skills/pipeline-rubrics/references/fe-rubric.md +20 -0
- package/template/.agent/skills/pipeline-rubrics/references/ia-rubric.md +19 -0
- package/template/.agent/skills/pipeline-rubrics/references/scoring.md +28 -0
- package/template/.agent/skills/pipeline-rubrics/references/vision-rubric.md +11 -0
- package/template/.agent/skills/prd-templates/SKILL.md +88 -0
- package/template/.agent/skills/prd-templates/references/architecture-design-template.md +88 -0
- package/template/.agent/skills/prd-templates/references/be-spec-template.md +101 -0
- package/template/.agent/skills/prd-templates/references/data-placement-template.md +74 -0
- package/template/.agent/skills/prd-templates/references/decomposition-templates.md +211 -0
- package/template/.agent/skills/prd-templates/references/design-system-decisions.md +198 -0
- package/template/.agent/skills/prd-templates/references/engineering-standards-template.md +124 -0
- package/template/.agent/skills/prd-templates/references/fe-classification-procedures.md +47 -0
- package/template/.agent/skills/prd-templates/references/fe-spec-template.md +84 -0
- package/template/.agent/skills/prd-templates/references/infrastructure-report-template.md +71 -0
- package/template/.agent/skills/prd-templates/references/operational-templates.md +116 -0
- package/template/.agent/skills/prd-templates/references/placeholder-guard-template.md +21 -0
- package/template/.agent/skills/prd-templates/references/surface-model.md +61 -0
- package/template/.agent/skills/prd-templates/references/vision-template.md +66 -0
- package/template/.agent/skills/prompt-engineer/README.md +659 -0
- package/template/.agent/skills/prompt-engineer/SKILL.md +249 -0
- package/template/.agent/skills/regex-patterns/SKILL.md +751 -0
- package/template/.agent/skills/resolve-ambiguity/SKILL.md +278 -0
- package/template/.agent/skills/rest-api-design/SKILL.md +478 -0
- package/template/.agent/skills/security-scanning-security-hardening/SKILL.md +231 -0
- package/template/.agent/skills/session-continuity/SKILL.md +730 -0
- package/template/.agent/skills/session-continuity/protocols/01-session-resumption.md +38 -0
- package/template/.agent/skills/session-continuity/protocols/02-progress-generation.md +85 -0
- package/template/.agent/skills/session-continuity/protocols/03-progress-update.md +70 -0
- package/template/.agent/skills/session-continuity/protocols/04-pattern-extraction.md +60 -0
- package/template/.agent/skills/session-continuity/protocols/05-session-close.md +37 -0
- package/template/.agent/skills/session-continuity/protocols/06-decision-analysis.md +84 -0
- package/template/.agent/skills/session-continuity/protocols/07-spec-pipeline-generation.md +48 -0
- package/template/.agent/skills/session-continuity/protocols/08-spec-pipeline-update.md +43 -0
- package/template/.agent/skills/session-continuity/protocols/09-parallel-claim.md +122 -0
- package/template/.agent/skills/session-continuity/protocols/10-placeholder-verification-gate.md +104 -0
- package/template/.agent/skills/session-continuity/protocols/ambiguity-gates.md +48 -0
- package/template/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/template/.agent/skills/skill-creator/README.md +270 -0
- package/template/.agent/skills/skill-creator/SKILL.md +590 -0
- package/template/.agent/skills/skill-creator/references/output-patterns.md +82 -0
- package/template/.agent/skills/skill-creator/references/workflows.md +28 -0
- package/template/.agent/skills/skill-creator/scripts/init_skill.py +303 -0
- package/template/.agent/skills/skill-creator/scripts/package_skill.py +110 -0
- package/template/.agent/skills/skill-creator/scripts/quick_validate.py +95 -0
- package/template/.agent/skills/spec-writing/SKILL.md +110 -0
- package/template/.agent/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/template/.agent/skills/systematic-debugging/SKILL.md +297 -0
- package/template/.agent/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/template/.agent/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/template/.agent/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/template/.agent/skills/systematic-debugging/find-polluter.sh +63 -0
- package/template/.agent/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/template/.agent/skills/systematic-debugging/test-academic.md +14 -0
- package/template/.agent/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/template/.agent/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/template/.agent/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/template/.agent/skills/tdd-workflow/SKILL.md +409 -0
- package/template/.agent/skills/tech-stack-catalog/SKILL.md +49 -0
- package/template/.agent/skills/tech-stack-catalog/references/constraint-questions.md +21 -0
- package/template/.agent/skills/tech-stack-catalog/references/dev-tooling-decisions.md +37 -0
- package/template/.agent/skills/tech-stack-catalog/references/surface-decision-tables.md +69 -0
- package/template/.agent/skills/technical-writer/SKILL.md +242 -0
- package/template/.agent/skills/testing-strategist/SKILL.md +932 -0
- package/template/.agent/skills/verification-before-completion/SKILL.md +145 -0
- package/template/.agent/skills/workflow-automation/SKILL.md +73 -0
- package/template/.agent/workflows/audit-ambiguity-execute.md +165 -0
- package/template/.agent/workflows/audit-ambiguity-rubrics.md +83 -0
- package/template/.agent/workflows/audit-ambiguity.md +64 -0
- package/template/.agent/workflows/bootstrap-agents-fill.md +201 -0
- package/template/.agent/workflows/bootstrap-agents-provision.md +197 -0
- package/template/.agent/workflows/bootstrap-agents.md +66 -0
- package/template/.agent/workflows/create-prd-architecture.md +119 -0
- package/template/.agent/workflows/create-prd-compile.md +138 -0
- package/template/.agent/workflows/create-prd-design-system.md +135 -0
- package/template/.agent/workflows/create-prd-security.md +113 -0
- package/template/.agent/workflows/create-prd-stack.md +91 -0
- package/template/.agent/workflows/create-prd.md +168 -0
- package/template/.agent/workflows/decompose-architecture-structure.md +82 -0
- package/template/.agent/workflows/decompose-architecture-validate.md +119 -0
- package/template/.agent/workflows/decompose-architecture.md +111 -0
- package/template/.agent/workflows/evolve-contract.md +98 -0
- package/template/.agent/workflows/evolve-feature-cascade.md +140 -0
- package/template/.agent/workflows/evolve-feature-classify.md +116 -0
- package/template/.agent/workflows/evolve-feature.md +56 -0
- package/template/.agent/workflows/ideate-discover.md +144 -0
- package/template/.agent/workflows/ideate-extract.md +129 -0
- package/template/.agent/workflows/ideate-validate.md +117 -0
- package/template/.agent/workflows/ideate.md +113 -0
- package/template/.agent/workflows/implement-slice-setup.md +113 -0
- package/template/.agent/workflows/implement-slice-tdd.md +198 -0
- package/template/.agent/workflows/implement-slice.md +50 -0
- package/template/.agent/workflows/plan-phase.md +202 -0
- package/template/.agent/workflows/propagate-decision-apply.md +135 -0
- package/template/.agent/workflows/propagate-decision-scan.md +147 -0
- package/template/.agent/workflows/propagate-decision.md +56 -0
- package/template/.agent/workflows/remediate-pipeline-assess.md +138 -0
- package/template/.agent/workflows/remediate-pipeline-execute.md +135 -0
- package/template/.agent/workflows/remediate-pipeline.md +55 -0
- package/template/.agent/workflows/resolve-ambiguity.md +82 -0
- package/template/.agent/workflows/sync-kit.md +209 -0
- package/template/.agent/workflows/update-architecture-map.md +74 -0
- package/template/.agent/workflows/validate-phase.md +219 -0
- package/template/.agent/workflows/verify-infrastructure.md +207 -0
- package/template/.agent/workflows/write-architecture-spec-deepen.md +139 -0
- package/template/.agent/workflows/write-architecture-spec-design.md +202 -0
- package/template/.agent/workflows/write-architecture-spec.md +63 -0
- package/template/.agent/workflows/write-be-spec-classify.md +165 -0
- package/template/.agent/workflows/write-be-spec-write.md +98 -0
- package/template/.agent/workflows/write-be-spec.md +76 -0
- package/template/.agent/workflows/write-fe-spec-classify.md +170 -0
- package/template/.agent/workflows/write-fe-spec-write.md +94 -0
- package/template/.agent/workflows/write-fe-spec.md +71 -0
- package/template/AGENTS.md +176 -0
- package/template/GEMINI.md +177 -0
- package/template/docs/README.md +187 -0
- package/template/docs/audits/.gitkeep +0 -0
- package/template/docs/audits/README.md +10 -0
- package/template/docs/plans/.gitkeep +0 -0
- package/template/docs/plans/README.md +21 -0
- package/template/docs/plans/be/.gitkeep +0 -0
- package/template/docs/plans/be/README.md +11 -0
- package/template/docs/plans/fe/.gitkeep +0 -0
- package/template/docs/plans/fe/README.md +11 -0
- package/template/docs/plans/ia/.gitkeep +0 -0
- package/template/docs/plans/ia/README.md +17 -0
- package/template/docs/plans/ia/deep-dives/.gitkeep +0 -0
- package/template/docs/plans/ia/deep-dives/README.md +5 -0
- package/template/docs/plans/phases/.gitkeep +0 -0
- package/template/docs/plans/phases/README.md +11 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verification-before-completion
|
|
3
|
+
description: "Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evide..."
|
|
4
|
+
risk: unknown
|
|
5
|
+
source: community
|
|
6
|
+
date_added: "2026-02-27"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Verification Before Completion
|
|
10
|
+
|
|
11
|
+
## Overview
|
|
12
|
+
|
|
13
|
+
Claiming work is complete without verification is dishonesty, not efficiency.
|
|
14
|
+
|
|
15
|
+
**Core principle:** Evidence before claims, always.
|
|
16
|
+
|
|
17
|
+
**Violating the letter of this rule is violating the spirit of this rule.**
|
|
18
|
+
|
|
19
|
+
## The Iron Law
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
If you haven't run the verification command in this message, you cannot claim it passes.
|
|
26
|
+
|
|
27
|
+
## The Gate Function
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
BEFORE claiming any status or expressing satisfaction:
|
|
31
|
+
|
|
32
|
+
1. IDENTIFY: What command proves this claim?
|
|
33
|
+
2. RUN: Execute the FULL command (fresh, complete)
|
|
34
|
+
3. READ: Full output, check exit code, count failures
|
|
35
|
+
4. VERIFY: Does output confirm the claim?
|
|
36
|
+
- If NO: State actual status with evidence
|
|
37
|
+
- If YES: State claim WITH evidence
|
|
38
|
+
5. ONLY THEN: Make the claim
|
|
39
|
+
|
|
40
|
+
Skip any step = lying, not verifying
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Common Failures
|
|
44
|
+
|
|
45
|
+
| Claim | Requires | Not Sufficient |
|
|
46
|
+
|-------|----------|----------------|
|
|
47
|
+
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
|
|
48
|
+
| Linter clean | Linter output: 0 errors | Partial check, extrapolation |
|
|
49
|
+
| Build succeeds | Build command: exit 0 | Linter passing, logs look good |
|
|
50
|
+
| Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
|
|
51
|
+
| Regression test works | Red-green cycle verified | Test passes once |
|
|
52
|
+
| Agent completed | VCS diff shows changes | Agent reports "success" |
|
|
53
|
+
| Requirements met | Line-by-line checklist | Tests passing |
|
|
54
|
+
|
|
55
|
+
## Red Flags - STOP
|
|
56
|
+
|
|
57
|
+
- Using "should", "probably", "seems to"
|
|
58
|
+
- Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
|
|
59
|
+
- About to commit/push/PR without verification
|
|
60
|
+
- Trusting agent success reports
|
|
61
|
+
- Relying on partial verification
|
|
62
|
+
- Thinking "just this once"
|
|
63
|
+
- Tired and wanting work over
|
|
64
|
+
- **ANY wording implying success without having run verification**
|
|
65
|
+
|
|
66
|
+
## Rationalization Prevention
|
|
67
|
+
|
|
68
|
+
| Excuse | Reality |
|
|
69
|
+
|--------|---------|
|
|
70
|
+
| "Should work now" | RUN the verification |
|
|
71
|
+
| "I'm confident" | Confidence ≠ evidence |
|
|
72
|
+
| "Just this once" | No exceptions |
|
|
73
|
+
| "Linter passed" | Linter ≠ compiler |
|
|
74
|
+
| "Agent said success" | Verify independently |
|
|
75
|
+
| "I'm tired" | Exhaustion ≠ excuse |
|
|
76
|
+
| "Partial check is enough" | Partial proves nothing |
|
|
77
|
+
| "Different words so rule doesn't apply" | Spirit over letter |
|
|
78
|
+
|
|
79
|
+
## Key Patterns
|
|
80
|
+
|
|
81
|
+
**Tests:**
|
|
82
|
+
```
|
|
83
|
+
✅ [Run test command] [See: 34/34 pass] "All tests pass"
|
|
84
|
+
❌ "Should pass now" / "Looks correct"
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Regression tests (TDD Red-Green):**
|
|
88
|
+
```
|
|
89
|
+
✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
|
|
90
|
+
❌ "I've written a regression test" (without red-green verification)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Build:**
|
|
94
|
+
```
|
|
95
|
+
✅ [Run build] [See: exit 0] "Build passes"
|
|
96
|
+
❌ "Linter passed" (linter doesn't check compilation)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
**Requirements:**
|
|
100
|
+
```
|
|
101
|
+
✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
|
|
102
|
+
❌ "Tests pass, phase complete"
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Agent delegation:**
|
|
106
|
+
```
|
|
107
|
+
✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
|
|
108
|
+
❌ Trust agent report
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Why This Matters
|
|
112
|
+
|
|
113
|
+
From 24 failure memories:
|
|
114
|
+
- your human partner said "I don't believe you" - trust broken
|
|
115
|
+
- Undefined functions shipped - would crash
|
|
116
|
+
- Missing requirements shipped - incomplete features
|
|
117
|
+
- Time wasted on false completion → redirect → rework
|
|
118
|
+
- Violates: "Honesty is a core value. If you lie, you'll be replaced."
|
|
119
|
+
|
|
120
|
+
## When To Apply
|
|
121
|
+
|
|
122
|
+
**ALWAYS before:**
|
|
123
|
+
- ANY variation of success/completion claims
|
|
124
|
+
- ANY expression of satisfaction
|
|
125
|
+
- ANY positive statement about work state
|
|
126
|
+
- Committing, PR creation, task completion
|
|
127
|
+
- Moving to next task
|
|
128
|
+
- Delegating to agents
|
|
129
|
+
|
|
130
|
+
**Rule applies to:**
|
|
131
|
+
- Exact phrases
|
|
132
|
+
- Paraphrases and synonyms
|
|
133
|
+
- Implications of success
|
|
134
|
+
- ANY communication suggesting completion/correctness
|
|
135
|
+
|
|
136
|
+
## The Bottom Line
|
|
137
|
+
|
|
138
|
+
**No shortcuts for verification.**
|
|
139
|
+
|
|
140
|
+
Run the command. Read the output. THEN claim the result.
|
|
141
|
+
|
|
142
|
+
This is non-negotiable.
|
|
143
|
+
|
|
144
|
+
## When to Use
|
|
145
|
+
This skill is applicable to execute the workflow or actions described in the overview.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: workflow-automation
|
|
3
|
+
description: "Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, wor..."
|
|
4
|
+
risk: unknown
|
|
5
|
+
source: "vibeship-spawner-skills (Apache 2.0)"
|
|
6
|
+
date_added: "2026-02-27"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Workflow Automation
|
|
10
|
+
|
|
11
|
+
You are a workflow automation architect who has seen both the promise and
|
|
12
|
+
the pain of these platforms. You've migrated teams from brittle cron jobs
|
|
13
|
+
to durable execution and watched their on-call burden drop by 80%.
|
|
14
|
+
|
|
15
|
+
Your core insight: Different platforms make different tradeoffs. n8n is
|
|
16
|
+
accessible but sacrifices performance. Temporal is correct but complex.
|
|
17
|
+
Inngest balances developer experience with reliability. There's no "best" -
|
|
18
|
+
only "best for your situation."
|
|
19
|
+
|
|
20
|
+
You push for durable execution
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- workflow-automation
|
|
25
|
+
- workflow-orchestration
|
|
26
|
+
- durable-execution
|
|
27
|
+
- event-driven-workflows
|
|
28
|
+
- step-functions
|
|
29
|
+
- job-queues
|
|
30
|
+
- background-jobs
|
|
31
|
+
- scheduled-tasks
|
|
32
|
+
|
|
33
|
+
## Patterns
|
|
34
|
+
|
|
35
|
+
### Sequential Workflow Pattern
|
|
36
|
+
|
|
37
|
+
Steps execute in order, each output becomes next input
|
|
38
|
+
|
|
39
|
+
### Parallel Workflow Pattern
|
|
40
|
+
|
|
41
|
+
Independent steps run simultaneously, aggregate results
|
|
42
|
+
|
|
43
|
+
### Orchestrator-Worker Pattern
|
|
44
|
+
|
|
45
|
+
Central coordinator dispatches work to specialized workers
|
|
46
|
+
|
|
47
|
+
## Anti-Patterns
|
|
48
|
+
|
|
49
|
+
### ❌ No Durable Execution for Payments
|
|
50
|
+
|
|
51
|
+
### ❌ Monolithic Workflows
|
|
52
|
+
|
|
53
|
+
### ❌ No Observability
|
|
54
|
+
|
|
55
|
+
## ⚠️ Sharp Edges
|
|
56
|
+
|
|
57
|
+
| Issue | Severity | Solution |
|
|
58
|
+
|-------|----------|----------|
|
|
59
|
+
| Issue | critical | # ALWAYS use idempotency keys for external calls: |
|
|
60
|
+
| Issue | high | # Break long workflows into checkpointed steps: |
|
|
61
|
+
| Issue | high | # ALWAYS set timeouts on activities: |
|
|
62
|
+
| Issue | critical | # WRONG - side effects in workflow code: |
|
|
63
|
+
| Issue | medium | # ALWAYS use exponential backoff: |
|
|
64
|
+
| Issue | high | # WRONG - large data in workflow: |
|
|
65
|
+
| Issue | high | # Inngest onFailure handler: |
|
|
66
|
+
| Issue | medium | # Every production n8n workflow needs: |
|
|
67
|
+
|
|
68
|
+
## Related Skills
|
|
69
|
+
|
|
70
|
+
Works well with: `multi-agent-orchestration`, `agent-tool-builder`, `backend`, `devops`
|
|
71
|
+
|
|
72
|
+
## When to Use
|
|
73
|
+
This skill is applicable to execute the workflow or actions described in the overview.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Execute the audit one document at a time, compile report, remediate gaps, and propose next steps for the audit-ambiguity workflow
|
|
3
|
+
parent: audit-ambiguity
|
|
4
|
+
shard: execute
|
|
5
|
+
standalone: true
|
|
6
|
+
position: 2
|
|
7
|
+
pipeline:
|
|
8
|
+
position: utility
|
|
9
|
+
stage: quality-gate
|
|
10
|
+
predecessors: [audit-ambiguity-rubrics]
|
|
11
|
+
successors: []
|
|
12
|
+
skills: [resolve-ambiguity, technical-writer]
|
|
13
|
+
calls-bootstrap: false
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Ambiguity Audit — Execute
|
|
17
|
+
|
|
18
|
+
Audit each document one at a time, compile the report, remediate gaps, and propose next steps.
|
|
19
|
+
|
|
20
|
+
**Prerequisite**: Read `docs/audits/audit-scope.md` to determine which layers and documents to audit. If this file does not exist, run `/audit-ambiguity-rubrics` first to determine scope and persist it.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 0. Load Rubrics from Scope File
|
|
25
|
+
|
|
26
|
+
Re-read `docs/audits/audit-scope.md` (already required by the prerequisite above). Locate the `## Rubric Files` section and load each listed rubric file by its exact path.
|
|
27
|
+
|
|
28
|
+
Do **not** infer rubric paths from layer names — use only what is persisted in `audit-scope.md`.
|
|
29
|
+
|
|
30
|
+
> If `docs/audits/audit-scope.md` does not contain a `## Rubric Files` section, the scope file was generated by an older version of the rubrics shard. Re-run `/audit-ambiguity-rubrics` to regenerate `audit-scope.md` with rubric paths included before continuing.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## 3. Session Independence Check
|
|
35
|
+
|
|
36
|
+
Before any auditing begins, read `docs/audits/audit-scope.md` and look for a `## Gaps Fixed` section.
|
|
37
|
+
|
|
38
|
+
- **If the section is absent** — This is a first run or a clean slate. Proceed to Step 3a.
|
|
39
|
+
- **If the section is present** — A prior session remediated gaps. Read the `layer`, `fixed_at`, and `fixed_by_session` fields. You MUST explicitly acknowledge: *"I am auditing remediated work from session `[fixed_by_session]` that ran at `[fixed_at]`. I am a different invocation and did not perform those fixes."* If you cannot make that acknowledgment in good faith (because you are the same session/invocation that produced the `## Gaps Fixed` entry), you MUST stop immediately and instruct the user: *"The session that fixed gaps cannot grade its own homework. Please re-run `/audit-ambiguity [layer]` as a fresh invocation."*
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## 3a. Implementer Simulation
|
|
44
|
+
|
|
45
|
+
Read .agent/skills/verification-before-completion/SKILL.md and follow its methodology.
|
|
46
|
+
|
|
47
|
+
**CRITICAL ANTI-HALLUCINATION RULE**: You MUST NOT read all documents at once. You must process one document at a time through 3a → 3b → 3c before moving to the next document. Failure to follow this one-by-one sequence guarantees hallucinated citations and audit failure.
|
|
48
|
+
|
|
49
|
+
*This is the most important step. It forces the agent to encounter the spec the way an implementer would, not the way a reviewer would.*
|
|
50
|
+
|
|
51
|
+
For each document:
|
|
52
|
+
|
|
53
|
+
1. **Read** — Use a file reading tool to read the entire document end-to-end. Do not score yet.
|
|
54
|
+
2. **Stub** — Attempt to write a stub implementation of each feature/endpoint/component using only what's in the spec — no external context or prior project knowledge.
|
|
55
|
+
3. **Enumerate gaps** — List every decision you had to make that isn't explicitly specified: enum values, defaults, timeouts, error messages, retry counts, field types, HTTP status codes, validation rules, rate limit numbers, role permission lists, etc.
|
|
56
|
+
4. **Write unconditionally** — Write each such decision immediately to `docs/audits/[layer]-ambiguity-report.md` as a punch list item with severity ❌.
|
|
57
|
+
|
|
58
|
+
These gaps are **unconditional** — the rubric in 3b cannot override them.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 3b. Rubric Scoring with Two-Implementer Test
|
|
63
|
+
|
|
64
|
+
Score each dimension using the rubric files loaded in Step 0 (persisted paths from `docs/audits/audit-scope.md`). Read `.agent/skills/pipeline-rubrics/SKILL.md` for the scoring methodology. For every score:
|
|
65
|
+
|
|
66
|
+
- **✅** → State explicitly: *"Two implementers would make the same decision because: [specific reason citing exact text from the document]."* If you cannot complete this sentence confidently, score ⚠️ instead. The bar is "unambiguous to any implementer reading cold", not "text exists somewhere."
|
|
67
|
+
- **⚠️** → Quote what exists AND state precisely what is missing AND what decision an implementer would have to make without it.
|
|
68
|
+
- **❌** → List the section headings checked and confirm the content is absent.
|
|
69
|
+
|
|
70
|
+
**Classify gaps** (BE/FE only) — Determine if each ⚠️/❌ is a local gap or upstream dependency.
|
|
71
|
+
|
|
72
|
+
> **Write immediately**: After finalizing this document's scores, write the complete score table and all citations/gap descriptions to `docs/audits/[layer]-ambiguity-report.md` (create if absent, append if present). Do not accumulate scores in context.
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 3c. Devil's Advocate Pass
|
|
77
|
+
|
|
78
|
+
After scoring all dimensions for a document:
|
|
79
|
+
|
|
80
|
+
1. For each ✅, ask: *"What would a junior developer get wrong about this?"* and *"What would a malicious implementer exploit in this?"*
|
|
81
|
+
2. If either question reveals a gap → downgrade to ⚠️ and add the gap to the punch list.
|
|
82
|
+
3. Document the devil's advocate finding alongside the score in the report.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 3.5. Cross-Layer Consistency Check
|
|
87
|
+
|
|
88
|
+
This step runs after all per-document scoring is complete, whenever the audit scope includes BE, FE, or `all`.
|
|
89
|
+
|
|
90
|
+
| Check | How to Verify |
|
|
91
|
+
|---|---|
|
|
92
|
+
| IA → BE coverage | For each user flow in each IA shard, verify a BE endpoint exists that handles it. For each BE endpoint, verify it traces to an IA user flow. Orphan endpoints or uncovered flows are ❌. |
|
|
93
|
+
| BE → FE field mapping | For each BE response field, verify at least one FE component prop consumes it. For each FE component prop, verify it maps to a BE response field. Unmapped fields or props are ❌. |
|
|
94
|
+
| IA → FE access control | For each access control rule in each IA shard, verify the FE spec has corresponding conditional rendering. Missing conditional rendering is ❌. |
|
|
95
|
+
| Error code coverage | For each BE error code, verify the FE spec has a corresponding error state. Missing error states are ❌. |
|
|
96
|
+
|
|
97
|
+
Write all cross-layer gaps to `docs/audits/[layer]-ambiguity-report.md` as ❌ items in a `## Cross-Layer Consistency` section.
|
|
98
|
+
|
|
99
|
+
## 4. Compile report summary
|
|
100
|
+
|
|
101
|
+
The per-document scores and citations were written progressively during Step 3. Now add the summary section to `docs/audits/[layer]-ambiguity-report.md`:
|
|
102
|
+
|
|
103
|
+
- Overall ambiguity percentage (calculated from all per-document scores)
|
|
104
|
+
- Prioritized punch list (all ⚠️ and ❌ items sorted by severity)
|
|
105
|
+
- Upstream dependency gaps (for Architecture/BE/FE)
|
|
106
|
+
|
|
107
|
+
Do not re-read documents to reconstruct scores — read the report file that was built in Step 3.
|
|
108
|
+
|
|
109
|
+
## 5. Remediate gaps (mandatory — execute automatically after Step 4)
|
|
110
|
+
|
|
111
|
+
Do NOT stop and ask the user what to do. After compiling the report in Step 4, immediately execute this step for every ⚠️ and ❌ in the punch list.
|
|
112
|
+
|
|
113
|
+
1. Read `.agent/skills/resolve-ambiguity/SKILL.md` and execute the resolution process inline — do not invoke it as a separate command.
|
|
114
|
+
2. For each gap, classify using the skill's two-path model:
|
|
115
|
+
- **Judgment calls** (Intent/Choice gaps — no source has the answer): present to user with smart options ordered by recommendation; wait for user decision before applying any fix.
|
|
116
|
+
- **Mechanical fixes** (Technical/Factual gaps — answer exists in project docs, architecture files, upstream specs, or official sources): propose the fix with source citation; apply after user approval.
|
|
117
|
+
3. Resolve judgment calls first — they may change what mechanical fixes are needed.
|
|
118
|
+
4. Present findings organized by type: judgment calls first, mechanical fixes second.
|
|
119
|
+
5. Apply all approved fixes to the relevant spec documents.
|
|
120
|
+
6. After all fixes are applied, proceed to Step 5a to persist re-verification metadata before proposing next steps.
|
|
121
|
+
|
|
122
|
+
> **Fresh-run rule**: The session that fixed gaps cannot be the session that passes them. The agent that fixed the gaps cannot grade its own homework.
|
|
123
|
+
|
|
124
|
+
## 5a. Persist Re-Verification Metadata
|
|
125
|
+
|
|
126
|
+
Immediately after all remediation fixes from Step 5 are applied, append or update a `## Gaps Fixed` section in `docs/audits/audit-scope.md` with the following structure:
|
|
127
|
+
|
|
128
|
+
```markdown
|
|
129
|
+
## Gaps Fixed
|
|
130
|
+
|
|
131
|
+
- **layer**: [layer that was remediated, e.g. `vision`, `architecture`, `ia`, `be`, `fe`]
|
|
132
|
+
- **fixed_at**: [ISO 8601 timestamp of when fixes were applied]
|
|
133
|
+
- **fixed_by_session**: [a short identifier for this session/invocation, e.g. the conversation ID or a generated UUID]
|
|
134
|
+
- **gaps_resolved**: [count of ⚠️ and ❌ items that were resolved]
|
|
135
|
+
- **report_file**: [path to the ambiguity report, e.g. `docs/audits/ia-ambiguity-report.md`]
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
If a `## Gaps Fixed` section already exists, **replace it** with the current run's data (only the most recent remediation matters for the session independence check).
|
|
139
|
+
|
|
140
|
+
This section is consumed by **Step 3 (Session Independence Check)** in subsequent audit runs. Both producer (here) and consumer (Step 3) use the section name `## Gaps Fixed` and the field names `layer`, `fixed_at`, `fixed_by_session`, `gaps_resolved`, `report_file`.
|
|
141
|
+
|
|
142
|
+
## 6. Propose next steps
|
|
143
|
+
|
|
144
|
+
Use `notify_user` to present the audit report.
|
|
145
|
+
|
|
146
|
+
### If gaps were found:
|
|
147
|
+
After completing remediation in Step 5, propose: "Next: Re-run `/audit-ambiguity [layer]` as a fresh invocation. The session that fixed gaps cannot grade its own homework."
|
|
148
|
+
|
|
149
|
+
> **If the audit reveals a missing feature** (not just an underspecified one): Use `/evolve-feature` rather than `/resolve-ambiguity`. `/resolve-ambiguity` resolves ambiguity in existing content; `/evolve-feature` is for genuinely new capabilities that were never captured in the specs.
|
|
150
|
+
|
|
151
|
+
### If ambiguity is 0%:
|
|
152
|
+
|
|
153
|
+
> **Passing criteria**: A layer passes the ambiguity gate ONLY when ALL THREE conditions are met:
|
|
154
|
+
> 1. **Fresh run** — This must be a clean invocation, NOT a re-check within the same session that fixed gaps. The agent that fixed the gaps cannot grade its own homework.
|
|
155
|
+
> 2. **0% score** — No ⚠️ or ❌ on any dimension across all documents in the layer.
|
|
156
|
+
> 3. **User confirmation** — The user explicitly confirms they have nothing else to add. The audit only checks what's written against the rubric — it cannot know about features or edge cases the user hasn't mentioned yet.
|
|
157
|
+
|
|
158
|
+
If all three conditions are met, propose the next pipeline step:
|
|
159
|
+
- **Vision audit passed** → "Vision is clean and confirmed. Next: Run `/create-prd` to design the architecture"
|
|
160
|
+
- **Architecture audit passed** → "Architecture is clean and confirmed. Next: Run `/decompose-architecture` to create IA shards"
|
|
161
|
+
- **IA audit passed** → "IA layer is clean and confirmed. Next: Run `/write-be-spec` for the first IA shard that needs a BE spec"
|
|
162
|
+
- **BE audit passed** → "BE layer is clean and confirmed. Next: Run `/write-fe-spec` for the first BE spec that needs an FE spec"
|
|
163
|
+
- **FE audit passed** → "FE layer is clean and confirmed. Next: Run `/plan-phase` to create implementation slices"
|
|
164
|
+
|
|
165
|
+
If the user wants to add something despite 0% score, incorporate their additions into the relevant documents and re-run the audit as a fresh invocation.
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Scope determination, document loading, and scoring rubrics for all 5 pipeline layers for the audit-ambiguity workflow
|
|
3
|
+
parent: audit-ambiguity
|
|
4
|
+
shard: rubrics
|
|
5
|
+
standalone: true
|
|
6
|
+
position: 1
|
|
7
|
+
pipeline:
|
|
8
|
+
position: utility
|
|
9
|
+
stage: quality-gate
|
|
10
|
+
predecessors: []
|
|
11
|
+
successors: [audit-ambiguity-execute]
|
|
12
|
+
skills: [pipeline-rubrics]
|
|
13
|
+
calls-bootstrap: false
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Ambiguity Audit — Rubrics
|
|
17
|
+
|
|
18
|
+
Determine audit scope, load source documents, and apply the scoring rubrics for each pipeline layer.
|
|
19
|
+
|
|
20
|
+
**Prerequisite**: At least one pipeline layer must have completed documents to audit. If no documents exist, tell the user which pipeline steps to run first.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 1. Determine audit scope
|
|
25
|
+
|
|
26
|
+
Ask the user:
|
|
27
|
+
- `vision` — Audit vision document only
|
|
28
|
+
- `architecture` — Audit architecture design only
|
|
29
|
+
- `ia` — Audit IA shards only
|
|
30
|
+
- `be` — Audit BE specs only
|
|
31
|
+
- `fe` — Audit FE specs only
|
|
32
|
+
- `all` — Full cascade (Vision → Architecture → IA → BE → FE)
|
|
33
|
+
|
|
34
|
+
## 2. Load source documents
|
|
35
|
+
|
|
36
|
+
Read `.agent/skills/pipeline-rubrics/references/scoring.md` for the document-to-layer mapping table. Load all documents for each layer being audited.
|
|
37
|
+
|
|
38
|
+
## 2.5. Persist audit scope
|
|
39
|
+
|
|
40
|
+
Write `docs/audits/audit-scope.md` with the determined scope and document list:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
# Audit Scope
|
|
44
|
+
|
|
45
|
+
> Generated: [date]
|
|
46
|
+
|
|
47
|
+
## Layers to Audit
|
|
48
|
+
[list of selected layers]
|
|
49
|
+
|
|
50
|
+
## Documents to Audit
|
|
51
|
+
[for each layer, list the exact file paths that will be audited]
|
|
52
|
+
|
|
53
|
+
## Rubric Files
|
|
54
|
+
[for each layer being audited, list the exact path of the rubric file]
|
|
55
|
+
- vision: .agent/skills/pipeline-rubrics/references/vision-rubric.md
|
|
56
|
+
- architecture: .agent/skills/pipeline-rubrics/references/architecture-rubric.md
|
|
57
|
+
- ia: .agent/skills/pipeline-rubrics/references/ia-rubric.md
|
|
58
|
+
- be: .agent/skills/pipeline-rubrics/references/be-rubric.md
|
|
59
|
+
- fe: .agent/skills/pipeline-rubrics/references/fe-rubric.md
|
|
60
|
+
|
|
61
|
+
## Status
|
|
62
|
+
in-progress
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
(Only include the rubric file entries for the layers actually being audited — not all five every time. This mirrors the conditional behaviour already applied to `## Documents to Audit`.)
|
|
66
|
+
|
|
67
|
+
This file is read by `/audit-ambiguity-execute` as its prerequisite.
|
|
68
|
+
|
|
69
|
+
## 3. Load and apply rubrics
|
|
70
|
+
|
|
71
|
+
Read `.agent/skills/pipeline-rubrics/SKILL.md` for the scoring methodology. For each layer being audited, load the matching rubric from the skill's `references/` directory:
|
|
72
|
+
|
|
73
|
+
| Layer | Rubric File |
|
|
74
|
+
|-------|-------------|
|
|
75
|
+
| Vision | `.agent/skills/pipeline-rubrics/references/vision-rubric.md` |
|
|
76
|
+
| Architecture | `.agent/skills/pipeline-rubrics/references/architecture-rubric.md` |
|
|
77
|
+
| IA | `.agent/skills/pipeline-rubrics/references/ia-rubric.md` |
|
|
78
|
+
| BE | `.agent/skills/pipeline-rubrics/references/be-rubric.md` |
|
|
79
|
+
| FE | `.agent/skills/pipeline-rubrics/references/fe-rubric.md` |
|
|
80
|
+
|
|
81
|
+
Apply the scoring formula from `.agent/skills/pipeline-rubrics/references/scoring.md`.
|
|
82
|
+
|
|
83
|
+
Proceed to `/audit-ambiguity-execute` with scope and rubrics loaded.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Measure coverage and ambiguity across all pipeline layers (Vision, Architecture, IA, BE, FE) with scored reports
|
|
3
|
+
pipeline:
|
|
4
|
+
position: utility
|
|
5
|
+
stage: quality-gate
|
|
6
|
+
predecessors: [] # callable from any stage
|
|
7
|
+
successors: [] # returns to caller
|
|
8
|
+
skills: [resolve-ambiguity, code-review-pro, technical-writer]
|
|
9
|
+
calls-bootstrap: false
|
|
10
|
+
shards: [audit-ambiguity-rubrics, audit-ambiguity-execute]
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# Ambiguity Audit
|
|
14
|
+
|
|
15
|
+
Audit pipeline output completeness and identify gaps that would force guesswork during implementation.
|
|
16
|
+
|
|
17
|
+
**Usage**: `/audit-ambiguity` — you'll be asked which layer(s) to audit.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 0. Load audit skills
|
|
22
|
+
|
|
23
|
+
Read these skills for review guidance:
|
|
24
|
+
1. `.agent/skills/code-review-pro/SKILL.md` — Review methodology
|
|
25
|
+
2. `.agent/skills/technical-writer/SKILL.md` — Spec clarity standards
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## Shard Overview
|
|
30
|
+
|
|
31
|
+
| # | Shard | What It Does |
|
|
32
|
+
|---|-------|-------------|
|
|
33
|
+
| 1 | [`audit-ambiguity-rubrics`](.agent/workflows/audit-ambiguity-rubrics.md) | Determines scope, loads documents, provides all 5 rubrics (Vision, Architecture, IA, BE, FE) with scoring criteria |
|
|
34
|
+
| 2 | [`audit-ambiguity-execute`](.agent/workflows/audit-ambiguity-execute.md) | Executes the audit one document at a time, compiles report, remediates gaps, proposes next steps |
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Orchestration
|
|
39
|
+
|
|
40
|
+
### Step A — Run `.agent/workflows/audit-ambiguity-rubrics.md`
|
|
41
|
+
|
|
42
|
+
Asks the user which layer(s) to audit, loads the source documents, and provides the scoring rubrics for each applicable layer.
|
|
43
|
+
|
|
44
|
+
### Step B — Run `.agent/workflows/audit-ambiguity-execute.md`
|
|
45
|
+
|
|
46
|
+
Audits each document one at a time (read → score with evidence → classify gaps → verify → finalize), compiles the report to `docs/audits/`, remediates gaps using `resolve-ambiguity`, and proposes next steps.
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Key Principles
|
|
51
|
+
|
|
52
|
+
- **One document at a time** — Read, score, verify, finalize. Never batch-read and score from memory.
|
|
53
|
+
- **Every score needs evidence** — A ✅ without a citation is lazy. A ❌ without listing what you searched is a potential hallucination.
|
|
54
|
+
- **Verify before finalizing** — Re-read with findings in hand. This is the hallucination catch.
|
|
55
|
+
- **Read the full document** — Don't skim. Ambiguity hides in the details.
|
|
56
|
+
- **Be specific** — "Error handling incomplete" is not a finding. "POST /v1/reviews has no error code for duplicate review" IS a finding.
|
|
57
|
+
- **Open questions ≠ ambiguity** — Explicitly flagged unknowns are known unknowns, not gaps.
|
|
58
|
+
- **Score honestly** — The goal is to find real gaps, not to produce a good number.
|
|
59
|
+
- **Upstream first** — Fix Vision gaps before Architecture, Architecture before IA, IA before BE, BE before FE.
|
|
60
|
+
- **Resolve, don't just report** — Use `resolve-ambiguity` to classify and fix gaps, not just list them.
|
|
61
|
+
- **Simulate before scoring** — Before scoring any document, attempt to write a stub implementation from it. Every decision you have to make that isn't explicitly specified is a gap. Add it to the punch list unconditionally.
|
|
62
|
+
- **Two-implementer test** — A ✅ means two different developers reading only this spec would make the same implementation decision. If you cannot confidently say that, score ⚠️ instead.
|
|
63
|
+
- **Devil's advocate pass** — After scoring, argue against each ✅. Ask: "What would a junior developer get wrong?" and "What would a malicious implementer exploit?" Any ✅ that can't survive this drops to ⚠️.
|
|
64
|
+
- **Cross-layer gaps are ❌** — A BE spec that doesn't match its IA shard user flows fails regardless of its individual score. Cross-layer consistency is checked after per-document scoring.
|