cue-ai 0.9.4 → 0.11.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/CHANGELOG.md +59 -0
- package/README.md +86 -256
- package/bin/cue-learnings +11 -3
- package/dist/cue.js +50597 -35330
- package/get.sh +43 -24
- package/install.sh +68 -45
- package/package.json +16 -5
- package/plugins/cue/.claude-plugin/plugin.json +19 -0
- package/plugins/cue/commands/cue-current.md +4 -0
- package/plugins/cue/commands/cue-mcps.md +4 -0
- package/plugins/cue/commands/cue-reload.md +6 -2
- package/plugins/cue/commands/cue-setup.md +40 -0
- package/plugins/cue/commands/cue-skills.md +4 -0
- package/plugins/cue/commands/cue-switch.md +4 -0
- package/plugins/cue/commands/cue.md +4 -0
- package/profiles/SCHEMA.md +242 -161
- package/profiles/_types.ts +300 -205
- package/profiles/aas-agents-orchestration/profile.yaml +44 -0
- package/profiles/aas-agents-quality-governance/profile.yaml +24 -0
- package/profiles/aas-agents-voice/profile.yaml +24 -0
- package/profiles/aas-ai-context-prompts/profile.yaml +36 -0
- package/profiles/aas-ai-evaluation-research/profile.yaml +26 -0
- package/profiles/aas-ai-infrastructure/profile.yaml +24 -0
- package/profiles/aas-ai-media-models/profile.yaml +27 -0
- package/profiles/aas-ai-personas/profile.yaml +28 -0
- package/profiles/aas-ai-products-agents/profile.yaml +34 -0
- package/profiles/aas-ai-retrieval-memory/profile.yaml +30 -0
- package/profiles/aas-architecture/profile.yaml +39 -0
- package/profiles/aas-automation/profile.yaml +25 -0
- package/profiles/aas-backend-api-design/profile.yaml +28 -0
- package/profiles/aas-backend-auth/profile.yaml +23 -0
- package/profiles/aas-backend-integrations/profile.yaml +24 -0
- package/profiles/aas-backend-services/profile.yaml +32 -0
- package/profiles/aas-blockchain/profile.yaml +24 -0
- package/profiles/aas-browser/profile.yaml +23 -0
- package/profiles/aas-business-finance-risk/profile.yaml +26 -0
- package/profiles/aas-business-odoo/profile.yaml +38 -0
- package/profiles/aas-business-operations/profile.yaml +32 -0
- package/profiles/aas-business-people-sales/profile.yaml +28 -0
- package/profiles/aas-business-strategy-product/profile.yaml +35 -0
- package/profiles/aas-cloud-architecture/profile.yaml +21 -0
- package/profiles/aas-cloud-aws/profile.yaml +26 -0
- package/profiles/aas-cloud-azure/profile.yaml +24 -0
- package/profiles/aas-cloud-delivery/profile.yaml +32 -0
- package/profiles/aas-cloud-reliability/profile.yaml +27 -0
- package/profiles/aas-commerce/profile.yaml +21 -0
- package/profiles/aas-content-analysis-learning/profile.yaml +25 -0
- package/profiles/aas-content-crossframe/profile.yaml +25 -0
- package/profiles/aas-content-presentations-office/profile.yaml +27 -0
- package/profiles/aas-content-seo-strategy/profile.yaml +36 -0
- package/profiles/aas-content-seo-writing/profile.yaml +26 -0
- package/profiles/aas-content-technical-docs/profile.yaml +31 -0
- package/profiles/aas-content-writing-editing/profile.yaml +31 -0
- package/profiles/aas-data/profile.yaml +34 -0
- package/profiles/aas-database/profile.yaml +31 -0
- package/profiles/aas-design-depth-spatial/profile.yaml +36 -0
- package/profiles/aas-design-expressive-retro/profile.yaml +35 -0
- package/profiles/aas-design-graphics-tools/profile.yaml +31 -0
- package/profiles/aas-design-minimal-editorial/profile.yaml +36 -0
- package/profiles/aas-design-systems-quality/profile.yaml +40 -0
- package/profiles/aas-development-agent-tooling/profile.yaml +31 -0
- package/profiles/aas-development-apple-hig/profile.yaml +35 -0
- package/profiles/aas-development-debugging-reliability/profile.yaml +37 -0
- package/profiles/aas-development-developer-tools/profile.yaml +29 -0
- package/profiles/aas-development-frameworks/profile.yaml +32 -0
- package/profiles/aas-development-functional-typescript/profile.yaml +28 -0
- package/profiles/aas-development-makepad/profile.yaml +26 -0
- package/profiles/aas-development-project-workflows/profile.yaml +38 -0
- package/profiles/aas-development-quality-refactoring/profile.yaml +36 -0
- package/profiles/aas-development-quality-refactoring-2/profile.yaml +35 -0
- package/profiles/aas-development-systems-languages/profile.yaml +44 -0
- package/profiles/aas-development-web-languages/profile.yaml +38 -0
- package/profiles/aas-education/profile.yaml +27 -0
- package/profiles/aas-finance/profile.yaml +22 -0
- package/profiles/aas-frontend-design-systems/profile.yaml +35 -0
- package/profiles/aas-frontend-frameworks-platforms/profile.yaml +30 -0
- package/profiles/aas-frontend-motion-3d/profile.yaml +26 -0
- package/profiles/aas-frontend-quality-performance/profile.yaml +26 -0
- package/profiles/aas-frontend-react-ecosystem/profile.yaml +34 -0
- package/profiles/aas-game/profile.yaml +39 -0
- package/profiles/aas-general-persuasion/profile.yaml +28 -0
- package/profiles/aas-health/profile.yaml +25 -0
- package/profiles/aas-legal/profile.yaml +29 -0
- package/profiles/aas-marketing-brand-growth/profile.yaml +28 -0
- package/profiles/aas-marketing-conversion-email/profile.yaml +32 -0
- package/profiles/aas-marketing-seo/profile.yaml +38 -0
- package/profiles/aas-marketing-social-content/profile.yaml +30 -0
- package/profiles/aas-media/profile.yaml +32 -0
- package/profiles/aas-mobile/profile.yaml +31 -0
- package/profiles/aas-product/profile.yaml +37 -0
- package/profiles/aas-productivity/profile.yaml +40 -0
- package/profiles/aas-research/profile.yaml +33 -0
- package/profiles/aas-security-application/profile.yaml +31 -0
- package/profiles/aas-security-cloud-compliance/profile.yaml +31 -0
- package/profiles/aas-security-supply-chain/profile.yaml +27 -0
- package/profiles/aas-security-threat-modeling/profile.yaml +25 -0
- package/profiles/aas-skills/profile.yaml +45 -0
- package/profiles/aas-testing-automation/profile.yaml +32 -0
- package/profiles/aas-testing-debugging/profile.yaml +27 -0
- package/profiles/aas-testing-quality-gates/profile.yaml +28 -0
- package/profiles/aas-travel/profile.yaml +21 -0
- package/profiles/aas-workflow-andruia/profile.yaml +23 -0
- package/profiles/aas-workflow-auctions/profile.yaml +26 -0
- package/profiles/aas-workflow-crossframe/profile.yaml +24 -0
- package/profiles/aas-workflow-delivery-git/profile.yaml +33 -0
- package/profiles/aas-workflow-development-bundles/profile.yaml +39 -0
- package/profiles/aas-workflow-infrastructure/profile.yaml +26 -0
- package/profiles/aas-workflow-methodologies/profile.yaml +28 -0
- package/profiles/aas-workflow-security-testing/profile.yaml +26 -0
- package/profiles/aas-workflow-skill-management/profile.yaml +39 -0
- package/profiles/ads-manager/profile.yaml +13 -0
- package/profiles/agency/profile.yaml +6 -0
- package/profiles/agv/profile.yaml +30 -0
- package/profiles/ai-engineer/profile.yaml +24 -0
- package/profiles/ai-job-search/profile.yaml +49 -0
- package/profiles/aws/profile.yaml +56 -2
- package/profiles/backend/profile.yaml +31 -6
- package/profiles/browser/profile.yaml +15 -16
- package/profiles/builder/profile.yaml +2 -6
- package/profiles/claude-ads/profile.yaml +151 -0
- package/profiles/commerce/profile.yaml +33 -25
- package/profiles/core/README.md +5 -0
- package/profiles/core/profile.yaml +108 -29
- package/profiles/cpp/profile.yaml +10 -0
- package/profiles/creative-media/profile.yaml +6 -1
- package/profiles/creativity/profile.yaml +1 -0
- package/profiles/cybersecurity/profile.yaml +4 -0
- package/profiles/designer/profile.yaml +8 -10
- package/profiles/docs-writer/profile.yaml +4 -1
- package/profiles/dropshipping/profile.yaml +0 -1
- package/profiles/ego-lite-stack/profile.yaml +400 -0
- package/profiles/flutter/profile.yaml +15 -0
- package/profiles/frontend/profile.yaml +12 -3
- package/profiles/frontend-design/profile.yaml +60 -0
- package/profiles/full/profile.yaml +7 -1
- package/profiles/fullstack-dev-skills/profile.yaml +112 -0
- package/profiles/go-api/profile.yaml +3 -0
- package/profiles/google-ads/profile.yaml +8 -7
- package/profiles/google-analytics/profile.yaml +2 -2
- package/profiles/growth/profile.yaml +1 -6
- package/profiles/gstack/profile.yaml +4 -1
- package/profiles/gui-gitnexus/README.md +48 -0
- package/profiles/gui-gitnexus/profile.yaml +79 -0
- package/profiles/headroom/README.md +38 -0
- package/profiles/headroom/profile.yaml +45 -0
- package/profiles/higgsfield/profile.yaml +6 -1
- package/profiles/hostinger/profile.yaml +1 -0
- package/profiles/improver/profile.yaml +11 -1
- package/profiles/jetson/profile.yaml +41 -0
- package/profiles/legal/profile.yaml +48 -0
- package/profiles/maker/profile.yaml +0 -3
- package/profiles/marketing/profile.yaml +1 -0
- package/profiles/medusa-dev/profile.yaml +14 -4
- package/profiles/medusa-stack/profile.yaml +6 -1
- package/profiles/medusa-vite/profile.yaml +9 -34
- package/profiles/nagyvikt-skills/profile.yaml +13 -0
- package/profiles/opensrc/profile.yaml +23 -0
- package/profiles/ops/profile.yaml +21 -6
- package/profiles/ponytail/README.md +47 -0
- package/profiles/ponytail/profile.yaml +60 -0
- package/profiles/postgres/profile.yaml +3 -0
- package/profiles/postizz/profile.yaml +4 -0
- package/profiles/python/profile.yaml +3 -2
- package/profiles/react-native/profile.yaml +4 -0
- package/profiles/readme-writer/profile.yaml +2 -1
- package/profiles/research/profile.yaml +1 -4
- package/profiles/reverse-skill/profile.yaml +96 -0
- package/profiles/ros2/profile.yaml +31 -0
- package/profiles/rust-core/profile.yaml +4 -0
- package/profiles/schema.json +134 -8
- package/profiles/secops/profile.yaml +760 -4
- package/profiles/seo/profile.yaml +14 -0
- package/profiles/skill-writer/profile.yaml +3 -0
- package/profiles/solidcraft/profile.yaml +33 -0
- package/profiles/stripe/profile.yaml +1 -4
- package/profiles/studio/profile.yaml +14 -17
- package/profiles/supercomputer/profile.yaml +7 -1
- package/profiles/swift-ios/profile.yaml +15 -0
- package/profiles/tanstack/logo.png +0 -0
- package/profiles/tanstack/profile.yaml +33 -0
- package/profiles/video/profile.yaml +1 -0
- package/profiles/vite/profile.yaml +8 -0
- package/profiles/webshop/profile.yaml +28 -22
- package/profiles/webshop-google/profile.yaml +2 -3
- package/profiles/wordpress/profile.yaml +1 -0
- package/profiles/x-growth-bot/profile.yaml +1 -1
- package/resources/mcps/configs/claude.sanitized.json +103 -17
- package/resources/mcps/configs/claude_runtime.sanitized.json +13 -53
- package/resources/mcps/configs/codex.sanitized.json +39 -21
- package/resources/skills/README.md +107 -28
- package/resources/skills/skills/browser/agent-browser/SKILL.md +11 -4
- package/resources/skills/skills/browser/ego-browser/SKILL.md +252 -0
- package/resources/skills/skills/browser/ego-browser/agents/openai.yaml +7 -0
- package/resources/skills/skills/browser/ego-browser/assets/composer-icon.png +0 -0
- package/resources/skills/skills/browser/ego-browser/assets/logo.png +0 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/browser-tools/composer-state.js +20 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/manifest.json +82 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/notes/groups.md +122 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/notes/overview.md +95 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/tools/group-feed.js +110 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/tools/group-post.js +165 -0
- package/resources/skills/skills/browser/ego-browser/learnings/facebook/tools/my-groups.js +56 -0
- package/resources/skills/skills/browser/ego-browser/learnings/google/browser-tools/autocomplete.js +11 -0
- package/resources/skills/skills/browser/ego-browser/learnings/google/manifest.json +40 -0
- package/resources/skills/skills/browser/ego-browser/learnings/google/notes/overview.md +23 -0
- package/resources/skills/skills/browser/ego-browser/learnings/google/tools/search-extract.js +39 -0
- package/resources/skills/skills/browser/ego-browser/learnings/package.json +5 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/browser-tools/extract-post.js +9 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/manifest.json +51 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/notes/overview.md +18 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/notes/timeline.md +19 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/tools/search-users.js +33 -0
- package/resources/skills/skills/browser/ego-browser/learnings/x-com/tools/timeline.js +32 -0
- package/resources/skills/skills/browser/ego-browser/references/install.md +197 -0
- package/resources/skills/skills/browser/ego-browser/references/task-spaces.md +184 -0
- package/resources/skills/skills/browser/ego-browser/references/video.md +17 -0
- package/resources/skills/skills/browser/ego-browser/scripts/install.sh +75 -0
- package/resources/skills/skills/browser/playwright/SKILL.md +6 -5
- package/resources/skills/skills/cad/solidcraft/SKILL.md +101 -0
- package/resources/skills/skills/career/ai-job-search/.gitattributes +1 -0
- package/resources/skills/skills/career/ai-job-search/SKILL.md +114 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/SKILL.md.template +200 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/README.md +93 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/package.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/src/cli.ts +254 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/src/commands/detail.ts +65 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/src/commands/search.ts +154 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/src/helpers.ts +230 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/cli-flag-validation.test.ts +122 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/commands.test.ts +234 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/helpers.ts +40 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/parsing.test.ts +102 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/request-timeout.test.ts +26 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tests/retry-backoff.test.ts +72 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/cli/tsconfig.json +14 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/freehire-search/url-reference.md +145 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/SKILL.md.template +180 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/README.md +400 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/package.json +25 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/src/cli.ts +45 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/src/commands/detail.ts +139 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/src/commands/search.ts +202 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/src/helpers.ts +199 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/cli-contract.test.ts +30 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/cli-flag-validation.test.ts +82 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/detail-jsonld.test.ts +40 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/helpers.ts +39 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/request-timeout.test.ts +23 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/retry-backoff.test.ts +64 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/rss-fetch.test.ts +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/rss-parsing.test.ts +96 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tests/search-normalization.test.ts +38 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/cli/tsconfig.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobbank-search/url-reference.md +327 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/SKILL.md.template +229 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/README.md +443 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/package.json +25 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/cli.ts +48 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/commands/autocomplete.ts +111 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/commands/categories.ts +67 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/commands/detail.ts +294 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/commands/locations.ts +101 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/commands/search.ts +209 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/src/helpers.ts +73 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/cli-contract.test.ts +27 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/cli-flag-validation.test.ts +97 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/detail-jsonld.test.ts +96 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/detail-parsing.test.ts +86 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/helpers.ts +39 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/request-timeout.test.ts +34 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/retry-backoff.test.ts +67 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/search-normalization.test.ts +105 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tests/user-agent.test.ts +48 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobdanmark-search/cli/tsconfig.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/SKILL.md.template +171 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/README.md +247 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/package.json +25 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/src/cli.ts +45 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/src/commands/detail.ts +321 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/src/commands/search.ts +103 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/src/helpers.ts +346 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/cli-contract.test.ts +38 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/cli-flag-validation.test.ts +80 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/detail-parsing.test.ts +152 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/helpers.ts +39 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/parsing.test.ts +98 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/request-timeout.test.ts +34 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/retry-backoff.test.ts +89 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tests/search-page.test.ts +69 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/cli/tsconfig.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobindex-search/url-reference.md +118 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/SKILL.md.template +206 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/README.md +385 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/package.json +24 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/cli.ts +47 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/commands/detail.ts +158 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/commands/occupations.ts +84 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/commands/search.ts +240 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/commands/suggestions.ts +66 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/src/helpers.ts +57 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/cli-contract.test.ts +49 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/cli-flag-validation.test.ts +97 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/detail-formatting.test.ts +121 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/helpers.ts +39 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/request-timeout.test.ts +23 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/retry-backoff.test.ts +59 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/search-normalization.test.ts +163 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tests/user-agent.test.ts +27 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/jobnet-search/cli/tsconfig.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/SKILL.md.template +103 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/README.md +61 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/package.json +20 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/src/cli.ts +206 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/src/commands/detail.ts +57 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/src/commands/search.ts +87 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/src/helpers.ts +288 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/cli-flag-validation.test.ts +146 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/helpers.ts +39 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/parsing.test.ts +277 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/request-timeout.test.ts +23 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/retry-backoff.test.ts +60 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tests/search.test.ts +61 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/cli/tsconfig.json +14 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.agents/skills/linkedin-search/url-reference.md +42 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/agents/gemini-research-expert.md +57 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/add-portal.md +160 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/add-template.md +201 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/apply.md +368 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/expand.md +216 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/gmail-sync.md +192 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/html-report.md +146 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/interview.md +111 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/notion-sync.md +149 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/outcome.md +195 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/rank.md +147 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/reset.md +275 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/commands/setup.md +432 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/settings.json +18 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/01-candidate-profile.md +73 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/02-behavioral-profile.md +54 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/03-writing-style.md +110 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/04-job-evaluation.md +269 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/05-cv-templates.md +371 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/06-cover-letter-templates.md +180 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/07-interview-prep.md +113 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/08-application-forms.md +87 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/09-web-research.md +114 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-application-assistant/SKILL.md.template +78 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-scraper/SKILL.md.template +282 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/job-scraper/search-queries.md +90 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.claude/skills/upskill/SKILL.md.template +256 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/FUNDING.yml +2 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/ISSUE_TEMPLATE/bug-report.md +22 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/ISSUE_TEMPLATE/config.yml +9 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/PULL_REQUEST_TEMPLATE.md +15 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/upstream-wontport.txt +12 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/workflows/ci.yml +249 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/.github/workflows/upstream-watch.yml +85 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/AGENTS.md +19 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/CHANGELOG.md +1074 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/CLAUDE.md +147 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/CONTRIBUTING.md +103 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/LICENSE +21 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/README.md +389 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/SECURITY.md +22 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/SETUP.md +353 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/assets/mascot/pip_flight_loop.gif +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/company_research/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-Bla.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-BlaIta.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-Bol.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-BolIta.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-Hai.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-HaiIta.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-Lig.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-LigIta.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-Reg.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/lato/Lato-RegIta.ttf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Bold.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-ExtraBold.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-ExtraLight.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Heavy.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Light.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Medium.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Regular.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-SemiBold.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/OpenFonts/fonts/raleway/Raleway-Thin.otf +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/cover.cls +96 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cover_letters/cover_example.tex +61 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/cv/main_example.tex +183 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/README.md +200 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/applications/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/cv/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/diplomas/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/linkedin/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/postings/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/documents/references/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/job_scraper/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/salary_lookup.py +434 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/templates/README.md +26 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/__init__.py +1 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_apply_records_application.py +479 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_check_framework_version.py +110 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_check_upstream_updates.py +164 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_company_research_cache.py +177 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_convert_salary_excel.py +342 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_gmail_sync_command.py +43 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_html_report_command.py +165 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_latex_guidance.py +140 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_lint_skills.py +173 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_notion_sync_command.py +69 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_onboarding_privacy.py +85 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_outcome_followup.py +90 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_placeholder_integrity.py +92 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_rank_command.py +423 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_readme_assets.py +34 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_reset_command.py +168 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_robots_check.py +264 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_salary_lookup.py +571 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_scrape_contract.py +140 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_scrape_provenance.py +110 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_security_guards.py +427 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_tracker_status_vocab.py +353 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_upskill_skill.py +145 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_upstream_triage.py +192 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tests/test_verify_pdf.py +115 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/README_SALARY_TOOL.md +124 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/check_framework_version.py +147 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/check_upstream_updates.py +196 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/convert_salary_excel.py +349 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/lint_skills.py +122 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/robots_check.py +142 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/security_guards.py +290 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/upstream_triage.py +227 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/tools/verify_pdf.py +175 -0
- package/resources/skills/skills/career/ai-job-search/assets/workspace-template/upskill/.gitkeep +0 -0
- package/resources/skills/skills/career/ai-job-search/references/upstream.md +13 -0
- package/resources/skills/skills/career/ai-job-search/scripts/init_workspace.py +79 -0
- package/resources/skills/skills/career/ai-job-search/scripts/init_workspace_test.py +64 -0
- package/resources/skills/skills/career/ai-job-search/test/codex-workspace.md +4 -0
- package/resources/skills/skills/career/ai-job-search/test/scraper-tools.md +4 -0
- package/resources/skills/skills/career/job-hunter/SKILL.md +1 -1
- package/resources/skills/skills/career/resume-version-manager/SKILL.md +5 -4
- package/resources/skills/skills/career/salary-negotiation-prep/SKILL.md +3 -2
- package/resources/skills/skills/caveman/caveman/SKILL.md +5 -5
- package/resources/skills/skills/caveman/caveman-commit/SKILL.md +7 -7
- package/resources/skills/skills/caveman/caveman-compress/SKILL.md +3 -3
- package/resources/skills/skills/caveman/caveman-help/SKILL.md +3 -3
- package/resources/skills/skills/caveman/caveman-review/SKILL.md +12 -12
- package/resources/skills/skills/caveman/entroly/SKILL.md +6 -6
- package/resources/skills/skills/colony/colony/SKILL.md +53 -53
- package/resources/skills/skills/colony/colony-prompts/SKILL.md +17 -16
- package/resources/skills/skills/content/anti-formula/SKILL.md +24 -41
- package/resources/skills/skills/content/article-to-everywhere/SKILL.md +22 -30
- package/resources/skills/skills/content/article-writer/SKILL.md +22 -29
- package/resources/skills/skills/content/doc/SKILL.md +2 -2
- package/resources/skills/skills/content/engagement-feedback/SKILL.md +17 -22
- package/resources/skills/skills/content/pdf/SKILL.md +1 -1
- package/resources/skills/skills/content/playwright/SKILL.md +4 -4
- package/resources/skills/skills/content/postiz-cards/SKILL.md +13 -14
- package/resources/skills/skills/content/stop-slop/SKILL.md +1 -1
- package/resources/skills/skills/content/trend-to-thread/SKILL.md +32 -31
- package/resources/skills/skills/deployment/coolify/SKILL.md +8 -0
- package/resources/skills/skills/deployment/pnpm/SKILL.md +3 -2
- package/resources/skills/skills/deployment/supabase/SKILL.md +11 -10
- package/resources/skills/skills/design/banana/SKILL.md +0 -30
- package/resources/skills/skills/design/brandkit/SKILL.md +13 -13
- package/resources/skills/skills/design/design-taste-frontend/SKILL.md +9 -9
- package/resources/skills/skills/design/gpt-taste/SKILL.md +4 -4
- package/resources/skills/skills/design/headless-gif-demo/SKILL.md +29 -12
- package/resources/skills/skills/design/high-end-visual-design/SKILL.md +13 -13
- package/resources/skills/skills/design/image-to-code/SKILL.md +15 -15
- package/resources/skills/skills/design/imagegen-frontend-mobile/SKILL.md +23 -23
- package/resources/skills/skills/design/imagegen-frontend-web/SKILL.md +28 -28
- package/resources/skills/skills/design/industrial-brutalist-ui/SKILL.md +3 -3
- package/resources/skills/skills/design/kitty-visualize/SKILL.md +14 -13
- package/resources/skills/skills/design/minimalist-ui/SKILL.md +7 -7
- package/resources/skills/skills/design/png-alpha-cleaner/SKILL.md +2 -2
- package/resources/skills/skills/design/readme-svg-design/SKILL.md +23 -16
- package/resources/skills/skills/design/redesign-existing-projects/SKILL.md +17 -17
- package/resources/skills/skills/design/remotion-best-practices/SKILL.md +4 -4
- package/resources/skills/skills/design/remotion-best-practices/rules/mapbox.md +1 -1
- package/resources/skills/skills/design/screenshot/SKILL.md +2 -2
- package/resources/skills/skills/design/stitch-design-taste/SKILL.md +33 -33
- package/resources/skills/skills/design/taste-skill/SKILL.md +3 -2
- package/resources/skills/skills/design/taste-skill-v1/SKILL.md +8 -7
- package/resources/skills/skills/design/ui-ux-pro-max/SKILL.md +5 -5
- package/resources/skills/skills/event-design/wedding-invitations/SKILL.md +13 -12
- package/resources/skills/skills/github/gh-auth-doctor/SKILL.md +12 -11
- package/resources/skills/skills/github/gh-fix-ci/SKILL.md +2 -1
- package/resources/skills/skills/github/gitguardex/SKILL.md +52 -7
- package/resources/skills/skills/github/github/SKILL.md +2 -1
- package/resources/skills/skills/github/guardex-merge-skills-to-dev/SKILL.md +2 -1
- package/resources/skills/skills/github/gx-agents/SKILL.md +49 -72
- package/resources/skills/skills/google-workspace/google-drive/SKILL.md +6 -6
- package/resources/skills/skills/gstack/autoplan/SKILL.md +72 -72
- package/resources/skills/skills/gstack/benchmark/SKILL.md +12 -11
- package/resources/skills/skills/gstack/benchmark-models/SKILL.md +19 -18
- package/resources/skills/skills/gstack/browse/SKILL.md +34 -28
- package/resources/skills/skills/gstack/browse/SKILL.md.tmpl +2 -4
- package/resources/skills/skills/gstack/canary/SKILL.md +24 -23
- package/resources/skills/skills/gstack/careful/SKILL.md +3 -2
- package/resources/skills/skills/gstack/codex/SKILL.md +47 -47
- package/resources/skills/skills/gstack/context-restore/SKILL.md +15 -10
- package/resources/skills/skills/gstack/context-save/SKILL.md +13 -8
- package/resources/skills/skills/gstack/cso/SKILL.md +59 -59
- package/resources/skills/skills/gstack/design-consultation/SKILL.md +58 -58
- package/resources/skills/skills/gstack/design-html/SKILL.md +53 -46
- package/resources/skills/skills/gstack/design-html/SKILL.md.tmpl +2 -9
- package/resources/skills/skills/gstack/design-review/SKILL.md +67 -66
- package/resources/skills/skills/gstack/design-shotgun/SKILL.md +61 -55
- package/resources/skills/skills/gstack/design-shotgun/SKILL.md.tmpl +2 -7
- package/resources/skills/skills/gstack/devex-review/SKILL.md +35 -34
- package/resources/skills/skills/gstack/document-generate/SKILL.md +23 -23
- package/resources/skills/skills/gstack/document-release/SKILL.md +59 -59
- package/resources/skills/skills/gstack/freeze/SKILL.md +6 -5
- package/resources/skills/skills/gstack/gstack-upgrade/SKILL.md +16 -9
- package/resources/skills/skills/gstack/gstack-upgrade/SKILL.md.tmpl +2 -5
- package/resources/skills/skills/gstack/guard/SKILL.md +6 -5
- package/resources/skills/skills/gstack/hackernews-frontpage/SKILL.md +1 -0
- package/resources/skills/skills/gstack/health/SKILL.md +3 -2
- package/resources/skills/skills/gstack/investigate/SKILL.md +15 -14
- package/resources/skills/skills/gstack/ios-clean/SKILL.md +40 -34
- package/resources/skills/skills/gstack/ios-clean/SKILL.md.tmpl +2 -7
- package/resources/skills/skills/gstack/ios-design-review/SKILL.md +40 -34
- package/resources/skills/skills/gstack/ios-design-review/SKILL.md.tmpl +2 -6
- package/resources/skills/skills/gstack/ios-fix/SKILL.md +39 -33
- package/resources/skills/skills/gstack/ios-fix/SKILL.md.tmpl +2 -8
- package/resources/skills/skills/gstack/ios-qa/SKILL.md +37 -36
- package/resources/skills/skills/gstack/ios-qa/SKILL.md.tmpl +3 -9
- package/resources/skills/skills/gstack/ios-sync/SKILL.md +37 -31
- package/resources/skills/skills/gstack/ios-sync/SKILL.md.tmpl +2 -8
- package/resources/skills/skills/gstack/land-and-deploy/SKILL.md +88 -88
- package/resources/skills/skills/gstack/landing-report/SKILL.md +11 -10
- package/resources/skills/skills/gstack/learn/SKILL.md +32 -25
- package/resources/skills/skills/gstack/learn/SKILL.md.tmpl +2 -8
- package/resources/skills/skills/gstack/make-pdf/SKILL.md +5 -4
- package/resources/skills/skills/gstack/office-hours/SKILL.md +140 -140
- package/resources/skills/skills/gstack/open-gstack-browser/SKILL.md +54 -48
- package/resources/skills/skills/gstack/open-gstack-browser/SKILL.md.tmpl +2 -4
- package/resources/skills/skills/gstack/pair-agent/SKILL.md +43 -37
- package/resources/skills/skills/gstack/pair-agent/SKILL.md.tmpl +2 -4
- package/resources/skills/skills/gstack/plan-ceo-review/SKILL.md +163 -163
- package/resources/skills/skills/gstack/plan-design-review/SKILL.md +107 -107
- package/resources/skills/skills/gstack/plan-devex-review/SKILL.md +62 -62
- package/resources/skills/skills/gstack/plan-eng-review/SKILL.md +114 -114
- package/resources/skills/skills/gstack/plan-tune/SKILL.md +28 -28
- package/resources/skills/skills/gstack/qa/SKILL.md +87 -81
- package/resources/skills/skills/gstack/qa/SKILL.md.tmpl +2 -9
- package/resources/skills/skills/gstack/qa-only/SKILL.md +64 -58
- package/resources/skills/skills/gstack/qa-only/SKILL.md.tmpl +2 -6
- package/resources/skills/skills/gstack/retro/SKILL.md +69 -69
- package/resources/skills/skills/gstack/review/SKILL.md +81 -80
- package/resources/skills/skills/gstack/scrape/SKILL.md +17 -17
- package/resources/skills/skills/gstack/setup-browser-cookies/SKILL.md +6 -5
- package/resources/skills/skills/gstack/setup-deploy/SKILL.md +9 -8
- package/resources/skills/skills/gstack/setup-gbrain/SKILL.md +107 -99
- package/resources/skills/skills/gstack/setup-gbrain/SKILL.md.tmpl +3 -9
- package/resources/skills/skills/gstack/ship/SKILL.md +186 -185
- package/resources/skills/skills/gstack/skillify/SKILL.md +25 -24
- package/resources/skills/skills/gstack/spec/SKILL.md +113 -107
- package/resources/skills/skills/gstack/spec/SKILL.md.tmpl +3 -7
- package/resources/skills/skills/gstack/sync-gbrain/SKILL.md +59 -51
- package/resources/skills/skills/gstack/sync-gbrain/SKILL.md.tmpl +2 -8
- package/resources/skills/skills/gstack/unfreeze/SKILL.md +4 -3
- package/resources/skills/skills/higgsfield/higgsfield-generate/SKILL.md +21 -20
- package/resources/skills/skills/higgsfield/higgsfield-marketplace-cards/SKILL.md +3 -2
- package/resources/skills/skills/higgsfield/higgsfield-product-photoshoot/SKILL.md +18 -17
- package/resources/skills/skills/higgsfield/higgsfield-soul-id/SKILL.md +12 -11
- package/resources/skills/skills/hostinger/dns/SKILL.md +17 -16
- package/resources/skills/skills/hostinger/domains/SKILL.md +14 -13
- package/resources/skills/skills/hostinger/hosting/SKILL.md +15 -14
- package/resources/skills/skills/hostinger/vps/SKILL.md +19 -18
- package/resources/skills/skills/legal/legal/SKILL.md +94 -0
- package/resources/skills/skills/legal/legal-agreement/SKILL.md +418 -0
- package/resources/skills/skills/legal/legal-compare/SKILL.md +177 -0
- package/resources/skills/skills/legal/legal-compliance/SKILL.md +370 -0
- package/resources/skills/skills/legal/legal-freelancer/SKILL.md +454 -0
- package/resources/skills/skills/legal/legal-missing/SKILL.md +232 -0
- package/resources/skills/skills/legal/legal-nda/SKILL.md +283 -0
- package/resources/skills/skills/legal/legal-negotiate/SKILL.md +248 -0
- package/resources/skills/skills/legal/legal-plain/SKILL.md +169 -0
- package/resources/skills/skills/legal/legal-privacy/SKILL.md +327 -0
- package/resources/skills/skills/legal/legal-report-pdf/SKILL.md +400 -0
- package/resources/skills/skills/legal/legal-report-pdf/scripts/generate_legal_pdf.py +446 -0
- package/resources/skills/skills/legal/legal-report-pdf/templates/contract-review-template.md +190 -0
- package/resources/skills/skills/legal/legal-review/SKILL.md +202 -0
- package/resources/skills/skills/legal/legal-risks/SKILL.md +171 -0
- package/resources/skills/skills/legal/legal-terms/SKILL.md +263 -0
- package/resources/skills/skills/marketing/ab-test-analyzer/SKILL.md +2 -1
- package/resources/skills/skills/marketing/ab-test-setup-and-analysis/SKILL.md +3 -3
- package/resources/skills/skills/marketing/account-structure-review/SKILL.md +5 -4
- package/resources/skills/skills/marketing/ad-copy-variant-generator/SKILL.md +4 -3
- package/resources/skills/skills/marketing/ad-extension-audit/SKILL.md +4 -3
- package/resources/skills/skills/marketing/ad-spend-allocator/SKILL.md +2 -1
- package/resources/skills/skills/marketing/anomaly-detection/SKILL.md +6 -5
- package/resources/skills/skills/marketing/attribution-model-comparison/SKILL.md +5 -4
- package/resources/skills/skills/marketing/audience-overlap-analysis/SKILL.md +5 -10
- package/resources/skills/skills/marketing/bid-strategy-recommendations/SKILL.md +6 -11
- package/resources/skills/skills/marketing/budget-scenario-planner/SKILL.md +4 -8
- package/resources/skills/skills/marketing/campaign-naming-convention-builder/SKILL.md +4 -9
- package/resources/skills/skills/marketing/channel-mix-optimizer/SKILL.md +4 -9
- package/resources/skills/skills/marketing/client-report-narratives/SKILL.md +5 -9
- package/resources/skills/skills/marketing/competitor-creative-analysis/SKILL.md +6 -5
- package/resources/skills/skills/marketing/competitor-teardown/SKILL.md +2 -1
- package/resources/skills/skills/marketing/content-repurposer/SKILL.md +4 -3
- package/resources/skills/skills/marketing/conversion-path-analysis/SKILL.md +4 -3
- package/resources/skills/skills/marketing/cpa-diagnostics/SKILL.md +3 -3
- package/resources/skills/skills/marketing/creative-fatigue-detection/SKILL.md +5 -4
- package/resources/skills/skills/marketing/cue-rec/SKILL.md +12 -12
- package/resources/skills/skills/marketing/day-hour-performance-breakdown/SKILL.md +4 -3
- package/resources/skills/skills/marketing/device-performance-split/SKILL.md +3 -2
- package/resources/skills/skills/marketing/e2e-seo-assistant/SKILL.md +3 -2
- package/resources/skills/skills/marketing/email-sequence-writer/SKILL.md +2 -1
- package/resources/skills/skills/marketing/frequency-cap-recommendations/SKILL.md +3 -3
- package/resources/skills/skills/marketing/geo-performance-analysis/SKILL.md +6 -5
- package/resources/skills/skills/marketing/google-ads-audit/SKILL.md +1 -1
- package/resources/skills/skills/marketing/icp-research-assistant/SKILL.md +3 -2
- package/resources/skills/skills/marketing/keyword-cannibalization-check/SKILL.md +4 -3
- package/resources/skills/skills/marketing/landing-page-audit/SKILL.md +2 -1
- package/resources/skills/skills/marketing/landing-page-audit-quick/SKILL.md +6 -5
- package/resources/skills/skills/marketing/linkedin-ads-audit/SKILL.md +2 -1
- package/resources/skills/skills/marketing/meta-ads-audit/SKILL.md +2 -1
- package/resources/skills/skills/marketing/pacing-monitor/SKILL.md +4 -3
- package/resources/skills/skills/marketing/performance-benchmarking/SKILL.md +6 -5
- package/resources/skills/skills/marketing/programmatic-seo-builder/SKILL.md +5 -4
- package/resources/skills/skills/marketing/quality-score-breakdown/SKILL.md +4 -3
- package/resources/skills/skills/marketing/reddit-ads-audit/SKILL.md +2 -1
- package/resources/skills/skills/marketing/retargeting-window-analysis/SKILL.md +6 -5
- package/resources/skills/skills/marketing/roas-forecasting/SKILL.md +3 -2
- package/resources/skills/skills/marketing/search-term-mining/SKILL.md +4 -3
- package/resources/skills/skills/marketing/utm-tracking-generator/SKILL.md +3 -2
- package/resources/skills/skills/marketing/wasted-spend-finder/SKILL.md +4 -3
- package/resources/skills/skills/marketing/weekly-account-summary/SKILL.md +5 -4
- package/resources/skills/skills/media/3d-logo-animation/SKILL.md +7 -6
- package/resources/skills/skills/media/action-figure-generator/SKILL.md +5 -4
- package/resources/skills/skills/media/ad-creative/SKILL.md +13 -12
- package/resources/skills/skills/media/ai-clipping/SKILL.md +27 -26
- package/resources/skills/skills/media/ai-fight-scene/SKILL.md +13 -12
- package/resources/skills/skills/media/amazon-product-listing/SKILL.md +12 -11
- package/resources/skills/skills/media/animal-video-generator/SKILL.md +6 -5
- package/resources/skills/skills/media/award-ceremony-video/SKILL.md +10 -9
- package/resources/skills/skills/media/blog-header/SKILL.md +5 -4
- package/resources/skills/skills/media/brand-kit/SKILL.md +12 -11
- package/resources/skills/skills/media/brochures/SKILL.md +11 -10
- package/resources/skills/skills/media/cartoon-dance-animation/SKILL.md +8 -7
- package/resources/skills/skills/media/character-story-video/SKILL.md +9 -8
- package/resources/skills/skills/media/chibi-collage-effect/SKILL.md +7 -6
- package/resources/skills/skills/media/cinema-director/SKILL.md +7 -6
- package/resources/skills/skills/media/color-analysis-board/SKILL.md +6 -6
- package/resources/skills/skills/media/core-edit/SKILL.md +2 -1
- package/resources/skills/skills/media/core-media/SKILL.md +3 -2
- package/resources/skills/skills/media/core-platform/SKILL.md +2 -1
- package/resources/skills/skills/media/couple-grid-creator/SKILL.md +5 -4
- package/resources/skills/skills/media/design-guide/SKILL.md +13 -13
- package/resources/skills/skills/media/drone-style-video/SKILL.md +8 -7
- package/resources/skills/skills/media/fashion-try-on/SKILL.md +8 -7
- package/resources/skills/skills/media/floor-plan-rendering/SKILL.md +8 -7
- package/resources/skills/skills/media/freeze-effect-video/SKILL.md +9 -8
- package/resources/skills/skills/media/giant-product-showcase/SKILL.md +11 -10
- package/resources/skills/skills/media/instagram-post/SKILL.md +6 -6
- package/resources/skills/skills/media/interior-design/SKILL.md +9 -8
- package/resources/skills/skills/media/interior-design-visualizer/SKILL.md +7 -6
- package/resources/skills/skills/media/jewelry-product-video/SKILL.md +5 -5
- package/resources/skills/skills/media/kdenlive/SKILL.md +11 -1
- package/resources/skills/skills/media/keyboard-art-maker/SKILL.md +5 -4
- package/resources/skills/skills/media/logo-branding/SKILL.md +11 -11
- package/resources/skills/skills/media/logo-creator/SKILL.md +3 -2
- package/resources/skills/skills/media/logo-generator/SKILL.md +7 -6
- package/resources/skills/skills/media/multi-angle-reshoot/SKILL.md +7 -6
- package/resources/skills/skills/media/multi-angle-shots/SKILL.md +10 -10
- package/resources/skills/skills/media/music-video/SKILL.md +7 -6
- package/resources/skills/skills/media/nano-banana/SKILL.md +3 -2
- package/resources/skills/skills/media/one-shot-video/SKILL.md +8 -7
- package/resources/skills/skills/media/photo-pack-generator/SKILL.md +23 -22
- package/resources/skills/skills/media/product-ad-cinematic/SKILL.md +12 -11
- package/resources/skills/skills/media/product-campaign/SKILL.md +13 -13
- package/resources/skills/skills/media/product-showcase-video/SKILL.md +10 -9
- package/resources/skills/skills/media/product-video-ad-maker/SKILL.md +7 -6
- package/resources/skills/skills/media/rednote-cover/SKILL.md +7 -7
- package/resources/skills/skills/media/seedance-2/SKILL.md +24 -23
- package/resources/skills/skills/media/selfie-with-celebrities/SKILL.md +8 -7
- package/resources/skills/skills/media/social-media-video/SKILL.md +28 -28
- package/resources/skills/skills/media/social-pack/SKILL.md +5 -4
- package/resources/skills/skills/media/storyboard/SKILL.md +4 -3
- package/resources/skills/skills/media/storyboard-to-cooking-video/SKILL.md +11 -10
- package/resources/skills/skills/media/talking-baby-video/SKILL.md +6 -5
- package/resources/skills/skills/media/ugc-ads-workflow/SKILL.md +8 -7
- package/resources/skills/skills/media/ugc-lifestyle-try-on/SKILL.md +11 -10
- package/resources/skills/skills/media/ugc-video-factory/SKILL.md +12 -11
- package/resources/skills/skills/media/ui-design/SKILL.md +2 -1
- package/resources/skills/skills/media/url-to-design/SKILL.md +8 -8
- package/resources/skills/skills/media/workflow/SKILL.md +13 -12
- package/resources/skills/skills/media/youtube-shorts/SKILL.md +18 -17
- package/resources/skills/skills/media/youtube-thumbnail/SKILL.md +10 -9
- package/resources/skills/skills/medusa/building-admin-dashboard-customizations/SKILL.md +2 -2
- package/resources/skills/skills/medusa/building-storefronts/SKILL.md +2 -2
- package/resources/skills/skills/medusa/building-with-medusa/SKILL.md +3 -3
- package/resources/skills/skills/medusa/creating-internal-agents/SKILL.md +16 -16
- package/resources/skills/skills/medusa/db-generate/SKILL.md +7 -2
- package/resources/skills/skills/medusa/db-migrate/SKILL.md +2 -2
- package/resources/skills/skills/medusa/gh-submodule-publish/SKILL.md +7 -7
- package/resources/skills/skills/medusa/higgsfield-to-medusa-products/SKILL.md +38 -29
- package/resources/skills/skills/medusa/marva-blog-author/SKILL.md +21 -20
- package/resources/skills/skills/medusa/medusa-local-dev/SKILL.md +12 -11
- package/resources/skills/skills/medusa/medusa-reference/SKILL.md +2 -2
- package/resources/skills/skills/medusa/medusa-shop-setup/SKILL.md +2 -2
- package/resources/skills/skills/medusa/new-admin-via-api/SKILL.md +19 -14
- package/resources/skills/skills/medusa/new-user/SKILL.md +7 -2
- package/resources/skills/skills/medusa/provision-medusa-s3-bucket/SKILL.md +15 -10
- package/resources/skills/skills/medusa/storefront-best-practices/SKILL.md +3 -3
- package/resources/skills/skills/medusa/woocommerce-to-medusa-import/SKILL.md +3 -2
- package/resources/skills/skills/meta/acpx/SKILL.md +14 -13
- package/resources/skills/skills/meta/analyze/SKILL.md +12 -11
- package/resources/skills/skills/meta/ask-claude/SKILL.md +2 -1
- package/resources/skills/skills/meta/ask-gemini/SKILL.md +2 -1
- package/resources/skills/skills/meta/autoresearch/SKILL.md +5 -0
- package/resources/skills/skills/meta/awesome-list-submit/SKILL.md +11 -3
- package/resources/skills/skills/meta/builtin-manager/SKILL.md +7 -5
- package/resources/skills/skills/meta/cli-writer/SKILL.md +14 -14
- package/resources/skills/skills/meta/cue-dashboard/SKILL.md +1 -1
- package/resources/skills/skills/meta/cue-usage/SKILL.md +4 -2
- package/resources/skills/skills/meta/description-optimizer/SKILL.md +14 -14
- package/resources/skills/skills/meta/doctor/SKILL.md +4 -3
- package/resources/skills/skills/meta/full-output-enforcement/SKILL.md +7 -6
- package/resources/skills/skills/meta/help/SKILL.md +3 -2
- package/resources/skills/skills/meta/integrity-tags/SKILL.md +26 -22
- package/resources/skills/skills/meta/just/SKILL.md +11 -10
- package/resources/skills/skills/meta/kiro-powers/SKILL.md +11 -4
- package/resources/skills/skills/meta/liedetector/SKILL.md +7 -6
- package/resources/skills/skills/meta/liedetector/scripts/run-evals.sh +25 -6
- package/resources/skills/skills/meta/mcpproxy/SKILL.md +7 -7
- package/resources/skills/skills/meta/memory-pressure/SKILL.md +10 -9
- package/resources/skills/skills/meta/note/SKILL.md +2 -1
- package/resources/skills/skills/meta/omx-setup/SKILL.md +2 -1
- package/resources/skills/skills/meta/plugin-creator/SKILL.md +2 -1
- package/resources/skills/skills/meta/profile-fit-monitor/SKILL.md +5 -4
- package/resources/skills/skills/meta/profile-optimizer/SKILL.md +14 -14
- package/resources/skills/skills/meta/profile-suggest/SKILL.md +6 -6
- package/resources/skills/skills/meta/profile-summon/SKILL.md +32 -25
- package/resources/skills/skills/meta/prompt-master/SKILL.md +99 -99
- package/resources/skills/skills/meta/ralph-loop/SKILL.md +10 -10
- package/resources/skills/skills/meta/retro/SKILL.md +9 -4
- package/resources/skills/skills/meta/save-profile/SKILL.md +14 -13
- package/resources/skills/skills/meta/skill-discovery/SKILL.md +5 -5
- package/resources/skills/skills/meta/skill-eval/SKILL.md +19 -19
- package/resources/skills/skills/meta/skill-reviewer/SKILL.md +36 -36
- package/resources/skills/skills/meta/skill-simplify/SKILL.md +6 -1
- package/resources/skills/skills/meta/skill-suggestion/SKILL.md +25 -24
- package/resources/skills/skills/meta/smart-loader/SKILL.md +11 -11
- package/resources/skills/skills/meta/smart-loader/scripts/smart-lookup.sh +43 -0
- package/resources/skills/skills/meta/smithery-usage/SKILL.md +5 -3
- package/resources/skills/skills/meta/soul/SKILL.md +13 -13
- package/resources/skills/skills/meta/upgrade-stack/SKILL.md +11 -10
- package/resources/skills/skills/meta/verify-council/SKILL.md +5 -3
- package/resources/skills/skills/meta/verify-council/references/lane-prompts.md +3 -3
- package/resources/skills/skills/meta/verify-council/references/workflow.js +4 -4
- package/resources/skills/skills/meta/workspace-recipes/SKILL.md +9 -8
- package/resources/skills/skills/nvidia/aiq-research/SKILL.md +4 -2
- package/resources/skills/skills/nvidia/cuopt-developer/SKILL.md +22 -21
- package/resources/skills/skills/nvidia/cuopt-install/SKILL.md +10 -9
- package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-c/SKILL.md +12 -11
- package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-cli/SKILL.md +15 -14
- package/resources/skills/skills/nvidia/cuopt-numerical-optimization-api-python/SKILL.md +8 -7
- package/resources/skills/skills/nvidia/cuopt-routing-api-python/SKILL.md +6 -5
- package/resources/skills/skills/nvidia/cuopt-server-api-python/SKILL.md +7 -6
- package/resources/skills/skills/nvidia/cuopt-server-common/SKILL.md +5 -4
- package/resources/skills/skills/nvidia/cuopt-user-rules/SKILL.md +12 -11
- package/resources/skills/skills/nvidia/numerical-optimization-formulation/SKILL.md +33 -32
- package/resources/skills/skills/nvidia/routing-formulation/SKILL.md +7 -6
- package/resources/skills/skills/nvidia/skill-evolution/SKILL.md +33 -32
- package/resources/skills/skills/obsidian/json-canvas/SKILL.md +2 -1
- package/resources/skills/skills/obsidian/obsidian-bases/SKILL.md +2 -1
- package/resources/skills/skills/obsidian/obsidian-cli/SKILL.md +5 -4
- package/resources/skills/skills/obsidian/obsidian-markdown/SKILL.md +2 -1
- package/resources/skills/skills/orchestration/authmux/SKILL.md +4 -3
- package/resources/skills/skills/orchestration/codex-fleet-login/SKILL.md +11 -11
- package/resources/skills/skills/orchestration/oh-my-agent/SKILL.md +5 -4
- package/resources/skills/skills/orchestration/pipeline/SKILL.md +2 -1
- package/resources/skills/skills/orchestration/visual-ralph/SKILL.md +2 -1
- package/resources/skills/skills/orchestration/worker/SKILL.md +2 -1
- package/resources/skills/skills/plan/autoplan/SKILL.md +16 -11
- package/resources/skills/skills/plan/investigate/SKILL.md +20 -15
- package/resources/skills/skills/plan/office-hours/SKILL.md +20 -15
- package/resources/skills/skills/plan/plan-ceo-review/SKILL.md +22 -17
- package/resources/skills/skills/plan/plan-eng-review/SKILL.md +12 -7
- package/resources/skills/skills/polymarket/polymarket-predictions-audit/SKILL.md +4 -3
- package/resources/skills/skills/polymarket/polymarket-research/SKILL.md +5 -4
- package/resources/skills/skills/predict-everything/mirofish/SKILL.md +15 -14
- package/resources/skills/skills/private/myvps/SKILL.md +3 -2
- package/resources/skills/skills/research/awesome-rust-search/SKILL.md +6 -10
- package/resources/skills/skills/research/cloakbrowser/SKILL.md +11 -11
- package/resources/skills/skills/research/defuddle/SKILL.md +2 -1
- package/resources/skills/skills/research/find-skills/SKILL.md +14 -11
- package/resources/skills/skills/research/flight-search/SKILL.md +14 -14
- package/resources/skills/skills/research/keyword-research/SKILL.md +23 -23
- package/resources/skills/skills/research/obscura/SKILL.md +14 -14
- package/resources/skills/skills/research/openai-docs/SKILL.md +1 -0
- package/resources/skills/skills/research/trendradar/SKILL.md +32 -30
- package/resources/skills/skills/review/api-tester/SKILL.md +14 -13
- package/resources/skills/skills/review/code-review/SKILL.md +1 -1
- package/resources/skills/skills/review/code-review-deep/SKILL.md +14 -9
- package/resources/skills/skills/review/open-code-review/SKILL.md +84 -0
- package/resources/skills/skills/review/security-best-practices/SKILL.md +3 -2
- package/resources/skills/skills/review/security-review/SKILL.md +3 -2
- package/resources/skills/skills/review/wtf/SKILL.md +7 -6
- package/resources/skills/skills/robotics/agvc/SKILL.md +73 -0
- package/resources/skills/skills/robotics/agvc/evals/evals.json +28 -0
- package/resources/skills/skills/robotics/agvc/test/hard-motion-exclusion.md +5 -0
- package/resources/skills/skills/robotics/agvc/test/multi-robot-selection.md +4 -0
- package/resources/skills/skills/robotics/agvc/test/read-only-tf.md +5 -0
- package/resources/skills/skills/robotics/agvc/test/stage-aware-graph.md +4 -0
- package/resources/skills/skills/robotics/agvc/test/two-step-confirmation.md +4 -0
- package/resources/skills/skills/robotics/ros-skill/LICENSE +201 -0
- package/resources/skills/skills/robotics/ros-skill/README.md +113 -0
- package/resources/skills/skills/robotics/ros-skill/SKILL.md +312 -0
- package/resources/skills/skills/robotics/ros-skill/examples/openclaw.md +135 -0
- package/resources/skills/skills/robotics/ros-skill/examples/sensor-monitor.md +60 -0
- package/resources/skills/skills/robotics/ros-skill/examples/turtlesim.md +82 -0
- package/resources/skills/skills/robotics/ros-skill/references/COMMANDS.md +550 -0
- package/resources/skills/skills/robotics/ros-skill/scripts/ros_cli.py +861 -0
- package/resources/skills/skills/rust/async-tokio/SKILL.md +10 -4
- package/resources/skills/skills/rust/axum-api/SKILL.md +10 -4
- package/resources/skills/skills/rust/bacon-watch/SKILL.md +7 -1
- package/resources/skills/skills/rust/bevy/SKILL.md +12 -6
- package/resources/skills/skills/rust/bindgen/SKILL.md +9 -3
- package/resources/skills/skills/rust/cargo-audit/SKILL.md +8 -2
- package/resources/skills/skills/rust/cargo-basics/SKILL.md +7 -1
- package/resources/skills/skills/rust/cargo-chef/SKILL.md +8 -3
- package/resources/skills/skills/rust/cargo-edit/SKILL.md +8 -2
- package/resources/skills/skills/rust/cargo-expand/SKILL.md +8 -2
- package/resources/skills/skills/rust/cargo-flamegraph/SKILL.md +7 -1
- package/resources/skills/skills/rust/cargo-fuzz/SKILL.md +10 -5
- package/resources/skills/skills/rust/cargo-hack/SKILL.md +7 -2
- package/resources/skills/skills/rust/cargo-msrv/SKILL.md +6 -2
- package/resources/skills/skills/rust/cargo-mutants/SKILL.md +9 -3
- package/resources/skills/skills/rust/cargo-nextest/SKILL.md +7 -1
- package/resources/skills/skills/rust/cargo-readme/SKILL.md +7 -2
- package/resources/skills/skills/rust/cbindgen/SKILL.md +9 -4
- package/resources/skills/skills/rust/chisel-tool/SKILL.md +11 -6
- package/resources/skills/skills/rust/clap-cli/SKILL.md +10 -4
- package/resources/skills/skills/rust/clippy-and-fmt/SKILL.md +8 -2
- package/resources/skills/skills/rust/cross-compile/SKILL.md +8 -2
- package/resources/skills/skills/rust/embedded/SKILL.md +14 -8
- package/resources/skills/skills/rust/error-handling/SKILL.md +8 -3
- package/resources/skills/skills/rust/just-runner/SKILL.md +8 -2
- package/resources/skills/skills/rust/mdbook/SKILL.md +7 -2
- package/resources/skills/skills/rust/napi-rs/SKILL.md +8 -3
- package/resources/skills/skills/rust/no-std/SKILL.md +10 -5
- package/resources/skills/skills/rust/property-testing/SKILL.md +10 -4
- package/resources/skills/skills/rust/pyo3/SKILL.md +8 -2
- package/resources/skills/skills/rust/ratatui-tui/SKILL.md +10 -5
- package/resources/skills/skills/rust/release-plz/SKILL.md +8 -3
- package/resources/skills/skills/rust/reqwest/SKILL.md +10 -4
- package/resources/skills/skills/rust/sccache/SKILL.md +6 -1
- package/resources/skills/skills/rust/serde/SKILL.md +9 -3
- package/resources/skills/skills/rust/snapshot-testing/SKILL.md +8 -3
- package/resources/skills/skills/rust/sqlx-cli/SKILL.md +8 -2
- package/resources/skills/skills/rust/tracing/SKILL.md +9 -3
- package/resources/skills/skills/rust/typos-spellcheck/SKILL.md +8 -3
- package/resources/skills/skills/rust/uniffi/SKILL.md +8 -3
- package/resources/skills/skills/rust/wasm-rust/SKILL.md +6 -1
- package/resources/skills/skills/security/agentshield/SKILL.md +7 -6
- package/resources/skills/skills/security/cso/SKILL.md +13 -8
- package/resources/skills/skills/security/trivy-scan/SKILL.md +1 -1
- package/resources/skills/skills/stripe/stripe-best-practices/SKILL.md +5 -4
- package/resources/skills/skills/stripe/stripe-webhooks/SKILL.md +13 -12
- package/resources/skills/skills/test/scenario-explorer/SKILL.md +5 -0
- package/resources/skills/skills/tools/ccusage/SKILL.md +1 -1
- package/resources/skills/skills/tools/headroom/SKILL.md +105 -0
- package/resources/skills/skills/tools/opensrc/SKILL.md +1 -1
- package/resources/skills/skills/tools/portless/SKILL.md +1 -1
- package/resources/skills/skills/tools/promptfoo/SKILL.md +140 -0
- package/resources/skills/skills/vercel/UPSTREAM.md +12 -0
- package/resources/skills/skills/vercel/composition-patterns/AGENTS.md +946 -0
- package/resources/skills/skills/vercel/composition-patterns/README.md +60 -0
- package/resources/skills/skills/vercel/composition-patterns/SKILL.md +89 -0
- package/resources/skills/skills/vercel/composition-patterns/metadata.json +11 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/_sections.md +29 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/_template.md +24 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/architecture-compound-components.md +112 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-context-interface.md +191 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/resources/skills/skills/vercel/composition-patterns/rules/state-lift-state.md +125 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/SKILL.md +296 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy-codex.sh +301 -0
- package/resources/skills/skills/vercel/deploy-to-vercel/resources/deploy.sh +301 -0
- package/resources/skills/skills/vercel/react-best-practices/AGENTS.md +3810 -0
- package/resources/skills/skills/vercel/react-best-practices/README.md +123 -0
- package/resources/skills/skills/vercel/react-best-practices/SKILL.md +149 -0
- package/resources/skills/skills/vercel/react-best-practices/metadata.json +15 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/_sections.md +46 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/_template.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-effect-event-deps.md +56 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-init-once.md +42 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/advanced-use-latest.md +39 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-api-routes.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-defer-await.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-dependencies.md +51 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-parallel.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-analyzable-paths.md +63 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-barrel-imports.md +60 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-conditional.md +31 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/bundle-preload.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-event-listeners.md +74 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-batch-dom-css.md +107 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-cache-storage.md +70 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-early-exit.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-flatmap-filter.md +60 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-index-maps.md +37 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-length-check-first.md +49 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-request-idle-callback.md +105 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-activity.md +26 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-resource-hints.md +85 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-script-defer-async.md +68 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rendering-usetransition-loading.md +75 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-memo.md +44 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-no-inline-components.md +82 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-transitions.md +40 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-deferred-value.md +59 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-auth-actions.md +96 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-lru.md +41 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-cache-react.md +76 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-dedup-props.md +65 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-hoist-static-io.md +149 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-no-shared-module-state.md +50 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
- package/resources/skills/skills/vercel/react-best-practices/rules/server-serialization.md +38 -0
- package/resources/skills/skills/vercel/react-native-skills/AGENTS.md +2897 -0
- package/resources/skills/skills/vercel/react-native-skills/README.md +165 -0
- package/resources/skills/skills/vercel/react-native-skills/SKILL.md +121 -0
- package/resources/skills/skills/vercel/react-native-skills/metadata.json +16 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/_sections.md +86 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/_template.md +28 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-derived-value.md +53 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/design-system-compound-components.md +66 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/js-hoist-intl.md +61 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-function-references.md +132 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-images.md +53 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-item-types.md +104 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-fallback.md +56 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/react-state-minimize.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/state-ground-truth.md +80 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-expo-image.md +66 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-image-gallery.md +104 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-measure-views.md +78 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-menus.md +174 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-native-modals.md +77 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-pressable.md +61 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/resources/skills/skills/vercel/react-native-skills/rules/ui-styling.md +87 -0
- package/resources/skills/skills/vercel/react-view-transitions/AGENTS.md +955 -0
- package/resources/skills/skills/vercel/react-view-transitions/README.md +42 -0
- package/resources/skills/skills/vercel/react-view-transitions/SKILL.md +320 -0
- package/resources/skills/skills/vercel/react-view-transitions/metadata.json +12 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/css-recipes.md +242 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/implementation.md +182 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/nextjs.md +176 -0
- package/resources/skills/skills/vercel/react-view-transitions/references/patterns.md +262 -0
- package/resources/skills/skills/vercel/vercel-cli-with-tokens/SKILL.md +353 -0
- package/resources/skills/skills/vercel/vercel-optimize/AGENTS.md +48 -0
- package/resources/skills/skills/vercel/vercel-optimize/CONTRIBUTING.md +41 -0
- package/resources/skills/skills/vercel/vercel-optimize/README.md +91 -0
- package/resources/skills/skills/vercel/vercel-optimize/SKILL.md +322 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/auth-route.mjs +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/budget-summary.mjs +182 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/citations.mjs +139 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/cost-coverage.mjs +143 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/dedup-recs.mjs +325 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/deep-dive.mjs +350 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/display-labels.mjs +185 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/extract-claims.mjs +550 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/framework-support.mjs +67 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/build-minutes-fanout.mjs +69 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cold-start.mjs +66 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/contract.mjs +79 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/cwv-poor.mjs +87 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/external-api-slow.mjs +55 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/hard-gates.mjs +73 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/index.mjs +45 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/isr-overrevalidation.mjs +62 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/middleware-heavy.mjs +51 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/observability-events-attribution.mjs +56 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-bot-protection.mjs +115 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/platform-fluid-compute.mjs +83 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/region-misconfig.mjs +64 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/route-errors.mjs +80 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/scanner-driven.mjs +122 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/select-candidates.mjs +134 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/slow-route.mjs +88 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/types.d.ts +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/uncached-route.mjs +93 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/gates/usage-spike-triage.mjs +121 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/grade-recommendation.mjs +155 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/impact-label.mjs +126 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/impact-magnitude.mjs +60 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/investigation-brief.mjs +610 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/observation-safety.mjs +174 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/project-facts.mjs +99 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/queries.mjs +315 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/reconcile-candidates.mjs +372 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/render-report.mjs +955 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/repo-root.mjs +86 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/route-normalize.mjs +220 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/bot-protection-certainty.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/cache-tag-invalidation-certainty.mjs +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/count-correct.mjs +52 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/function-duration-invocations.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/index.mjs +79 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/middleware-conflict.mjs +36 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/missing-citation.mjs +16 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/pre-release.mjs +74 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rate-limit.mjs +67 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/rendering-mode-mislabel.mjs +38 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/undeclared-dep.mjs +78 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/vercel-directive-strip.mjs +37 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/sanitizers/window-units.mjs +32 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/cache-components-suspense-dedupe.mjs +109 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/edge-heavy-import.mjs +94 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/force-dynamic.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/headers-in-page.mjs +44 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/index.mjs +35 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/large-static-asset.mjs +92 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/max-age-without-s-maxage.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/middleware-broad-matcher.mjs +55 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/missing-cache-headers.mjs +90 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/prisma-include-tree.mjs +42 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/region-pin-in-config.mjs +88 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/source-maps-production.mjs +36 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/sveltekit-prerender-missing.mjs +43 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/turbo-force-bypass.mjs +129 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/unoptimized-image.mjs +113 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/scanners/use-cache-date-stamp.mjs +106 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/support-topics.mjs +355 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/throttle.mjs +273 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/util.mjs +17 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/vercel.mjs +864 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/verify-claim.mjs +1296 -0
- package/resources/skills/skills/vercel/vercel-optimize/lib/workspace-resolver.mjs +521 -0
- package/resources/skills/skills/vercel/vercel-optimize/metadata.json +14 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/candidates.md +176 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/data-collection.md +218 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/docs-library.json +683 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/doctrine.md +105 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/observability-plus.md +108 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/README.md +53 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ai-application.md +32 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/api-service.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/content-site.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/ecommerce.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/marketing.md +30 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/saas.md +31 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/playbooks/sveltekit.md +75 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/recommendations.md +203 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/scanner-patterns.md +251 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/scoring.md +205 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/README.md +46 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-edge-middleware-scope.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/astro-output-mode-and-isr.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/auth-preserving-parallelization.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/bot-protection-product-guardrails.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/build-minutes-monorepo-fanout.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-static-shell-boundaries.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cache-components-suspense-dedupe-pitfall.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cdn-cache-auth-safety.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/cold-start-initialization-bundle.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/core-web-vitals-client-bottlenecks.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/database-egress-pooling-region.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/dynamic-rendering-traps.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path-platform.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/external-api-critical-path.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fast-data-transfer-payloads.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/fluid-compute-caveats.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-duration-io-and-after.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-invocation-reduction.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/function-region-misconfiguration-ttfb.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/image-optimization-cost-control.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/isr-revalidation-static-generation.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/middleware-proxy-edge-cost.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-fetch-revalidate-floor.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-font-cls-self-hosting.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-heavy-ui-lazy-load-boundaries.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-image-lcp-preload-sizes.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-route-handler-get-cache-defaults.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/next-script-third-party-strategy.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nextjs-version-cache-semantics.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/not-found-catchall-request-waste.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/nuxt-route-rules-cache-isr.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/observability-events-cost-attribution.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/post-response-work-waituntil.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-durable-offload.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/route-error-runtime-limits.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/runtime-cache-reusable-data.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-isr-prerender-safety.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/sveltekit-split-cold-start-tradeoff.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/usage-spike-triage.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-date-stamp-isr-write-amplifier.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/use-cache-remote-shared-origin-data.md +22 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/support-topics/workflow-resumable-stream-routes.md +23 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/verification.md +102 -0
- package/resources/skills/skills/vercel/vercel-optimize/references/voice.md +76 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/budget-summary.mjs +56 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/build-docs.mjs +74 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/check-citations.mjs +81 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/check-docs-fresh.mjs +93 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-signals.mjs +576 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/collect-sub-agent-outputs.mjs +296 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/deep-dive.mjs +319 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/gate-investigations.mjs +166 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/merge-signals.mjs +192 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/prepare-investigation-brief.mjs +231 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/reconcile-candidates.mjs +62 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/render-report.mjs +437 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/scan-codebase.mjs +313 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-and-regen.mjs +346 -0
- package/resources/skills/skills/vercel/vercel-optimize/scripts/verify-finding.mjs +19 -0
- package/resources/skills/skills/vercel/web-design-guidelines/SKILL.md +39 -0
- package/resources/skills/skills/vercel/writing-guidelines/SKILL.md +39 -0
- package/resources/skills/skills/video/amazon-product-listing/SKILL.md +8 -12
- package/resources/skills/skills/video/cinematic-flow/SKILL.md +7 -11
- package/resources/skills/skills/video/motion-design-flow/SKILL.md +8 -12
- package/resources/skills/skills/video/podcast-flow/SKILL.md +9 -13
- package/resources/skills/skills/video/tv-ad/SKILL.md +8 -12
- package/resources/skills/skills/video/ugc-flow/SKILL.md +12 -16
- package/resources/skills/skills/video/video-adapt/SKILL.md +8 -12
- package/resources/skills/skills/xbot/operate/SKILL.md +2 -9
- package/src/commands/_index.test.ts +105 -0
- package/src/commands/_index.ts +59 -25
- package/src/commands/agent-prompt.test.ts +43 -0
- package/src/commands/ai-score.e2e.test.ts +1 -1
- package/src/commands/ai.test.ts +113 -0
- package/src/commands/ai.ts +3 -5
- package/src/commands/ask.test.ts +82 -0
- package/src/commands/ask.ts +3 -4
- package/src/commands/audit.test.ts +61 -0
- package/src/commands/auth.e2e.test.ts +86 -0
- package/src/commands/auth.test.ts +56 -0
- package/src/commands/auth.ts +156 -0
- package/src/commands/auto-detect.test.ts +22 -2
- package/src/commands/auto-detect.ts +43 -19
- package/src/commands/benchmark.test.ts +88 -0
- package/src/commands/benchmark.ts +3 -5
- package/src/commands/brief.ts +93 -0
- package/src/commands/builtin.test.ts +199 -0
- package/src/commands/builtin.ts +3 -4
- package/src/commands/clean.test.ts +181 -0
- package/src/commands/clean.ts +12 -12
- package/src/commands/cli.test.ts +11 -3
- package/src/commands/cli.ts +4 -5
- package/src/commands/cloud-api.contract.test.ts +198 -0
- package/src/commands/cloud.test.ts +76 -0
- package/src/commands/cloud.ts +52 -244
- package/src/commands/colony-dispatch.test.ts +143 -0
- package/src/commands/completions.test.ts +195 -0
- package/src/commands/cost-compare.test.ts +57 -0
- package/src/commands/cost.ts +108 -39
- package/src/commands/create-profile.test.ts +256 -0
- package/src/commands/create-profile.ts +3 -4
- package/src/commands/cue-learnings.test.ts +74 -0
- package/src/commands/current.ts +2 -1
- package/src/commands/dash.test.ts +9 -20
- package/src/commands/dash.ts +2 -1
- package/src/commands/debug.ts +5 -6
- package/src/commands/diff.test.ts +64 -0
- package/src/commands/diff.ts +3 -4
- package/src/commands/discover-mcps.ts +189 -0
- package/src/commands/discover-notify.ts +378 -0
- package/src/commands/discover-site.ts +479 -0
- package/src/commands/discover.search.test.ts +222 -0
- package/src/commands/discover.ts +276 -1270
- package/src/commands/docs-facts.test.ts +147 -0
- package/src/commands/doctor.test.ts +147 -4
- package/src/commands/doctor.ts +257 -67
- package/src/commands/eval-behavior.ts +7 -8
- package/src/commands/eval.ts +8 -8
- package/src/commands/evolve.test.ts +56 -0
- package/src/commands/evolve.ts +23 -26
- package/src/commands/export-docker.test.ts +190 -0
- package/src/commands/export-docker.ts +3 -4
- package/src/commands/features-batch1.test.ts +1 -1
- package/src/commands/feedback.test.ts +63 -0
- package/src/commands/feedback.ts +5 -5
- package/src/commands/firstmate.test.ts +200 -0
- package/src/commands/firstmate.ts +161 -0
- package/src/commands/fork-skills.test.ts +74 -0
- package/src/commands/gates.ts +2 -1
- package/src/commands/gc.test.ts +173 -0
- package/src/commands/gc.ts +65 -0
- package/src/commands/handoff-integration.test.ts +125 -0
- package/src/commands/handoff.test.ts +249 -0
- package/src/commands/handoff.ts +74 -41
- package/src/commands/icon.ts +3 -4
- package/src/commands/import-profile.test.ts +228 -0
- package/src/commands/import-profile.ts +11 -7
- package/src/commands/init-cost-proof.test.ts +30 -0
- package/src/commands/init-noninteractive.test.ts +338 -0
- package/src/commands/init-recommended-tools.test.ts +93 -0
- package/src/commands/init.test.ts +77 -0
- package/src/commands/init.ts +508 -87
- package/src/commands/install-sh.e2e.test.ts +21 -8
- package/src/commands/install.ts +618 -610
- package/src/commands/launch-handoff.e2e.test.ts +85 -13
- package/src/commands/launch.account-runtime.test.ts +117 -0
- package/src/commands/launch.e2e.test.ts +160 -3
- package/src/commands/launch.parse.test.ts +378 -0
- package/src/commands/launch.test.ts +401 -108
- package/src/commands/launch.ts +2179 -730
- package/src/commands/lint-skill.test.ts +173 -0
- package/src/commands/list.test.ts +72 -0
- package/src/commands/list.ts +92 -17
- package/src/commands/loadout.test.ts +225 -0
- package/src/commands/loadout.ts +132 -0
- package/src/commands/lock.test.ts +157 -0
- package/src/commands/lock.ts +4 -5
- package/src/commands/marketplace-manifest.test.ts +39 -0
- package/src/commands/marketplace.test.ts +202 -0
- package/src/commands/marketplace.ts +268 -36
- package/src/commands/materialize.test.ts +59 -0
- package/src/commands/materialize.ts +135 -134
- package/src/commands/mcp.test.ts +109 -0
- package/src/commands/mcps.test.ts +49 -0
- package/src/commands/mcps.ts +73 -55
- package/src/commands/mem.test.ts +94 -0
- package/src/commands/merge.test.ts +57 -0
- package/src/commands/migrate.test.ts +45 -0
- package/src/commands/migrate.ts +3 -4
- package/src/commands/new.test.ts +173 -0
- package/src/commands/optimizer.test.ts +239 -0
- package/src/commands/optimizer.ts +56 -255
- package/src/commands/packs.test.ts +97 -0
- package/src/commands/packs.ts +3 -4
- package/src/commands/playground.test.ts +61 -0
- package/src/commands/playground.ts +3 -4
- package/src/commands/plugin-commands.test.ts +34 -0
- package/src/commands/positioning.test.ts +46 -0
- package/src/commands/profile-draft-skill.ts +3 -4
- package/src/commands/profile-match.ts +179 -0
- package/src/commands/profile-suggest.test.ts +67 -0
- package/src/commands/profile-suggest.ts +130 -5
- package/src/commands/profile.test.ts +59 -0
- package/src/commands/profile.ts +6 -0
- package/src/commands/replay-whatif.test.ts +154 -0
- package/src/commands/replay.test.ts +68 -0
- package/src/commands/resolve.deep.test.ts +155 -0
- package/src/commands/resolve.test.ts +66 -0
- package/src/commands/resolve.ts +436 -0
- package/src/commands/ruler.test.ts +168 -0
- package/src/commands/ruler.ts +270 -0
- package/src/commands/scan.test.ts +83 -0
- package/src/commands/score.test.ts +125 -0
- package/src/commands/score.ts +1 -4
- package/src/commands/security-audit.test.ts +133 -0
- package/src/commands/security-audit.ts +4 -5
- package/src/commands/security.test.ts +167 -2
- package/src/commands/security.ts +219 -16
- package/src/commands/setup.test.ts +32 -0
- package/src/commands/share.test.ts +154 -0
- package/src/commands/share.ts +28 -10
- package/src/commands/shell.test.ts +406 -25
- package/src/commands/shell.ts +438 -98
- package/src/commands/skill-report.test.ts +110 -0
- package/src/commands/skills-lint.test.ts +96 -0
- package/src/commands/skills-lint.ts +31 -12
- package/src/commands/skills-new.test.ts +96 -0
- package/src/commands/skills-new.ts +3 -4
- package/src/commands/skills-pin.test.ts +169 -0
- package/src/commands/skills-pin.ts +4 -5
- package/src/commands/skills-test.test.ts +234 -0
- package/src/commands/skills-test.ts +6 -3
- package/src/commands/skills.test.ts +109 -0
- package/src/commands/skills.ts +451 -357
- package/src/commands/snapshot.test.ts +189 -0
- package/src/commands/snapshot.ts +121 -50
- package/src/commands/sources.ts +5 -6
- package/src/commands/stats.test.ts +262 -0
- package/src/commands/stats.ts +115 -0
- package/src/commands/status.test.ts +239 -0
- package/src/commands/status.ts +92 -15
- package/src/commands/submit-profile.ts +4 -4
- package/src/commands/suggest-pairs.test.ts +249 -0
- package/src/commands/suggest-pairs.ts +71 -30
- package/src/commands/suggest.test.ts +215 -0
- package/src/commands/suggest.ts +211 -29
- package/src/commands/summon.test.ts +190 -13
- package/src/commands/summon.ts +245 -29
- package/src/commands/sync.test.ts +26 -0
- package/src/commands/sync.ts +191 -0
- package/src/commands/telemetry.test.ts +162 -0
- package/src/commands/trace.test.ts +48 -0
- package/src/commands/tree.test.ts +76 -0
- package/src/commands/tui.test.ts +55 -0
- package/src/commands/update.test.ts +98 -0
- package/src/commands/update.ts +8 -9
- package/src/commands/upgrade.test.ts +45 -0
- package/src/commands/upgrade.ts +4 -5
- package/src/commands/use.test.ts +63 -0
- package/src/commands/use.ts +50 -7
- package/src/commands/validate.test.ts +80 -0
- package/src/commands/watch-live.test.ts +46 -0
- package/src/commands/watch-live.ts +5 -6
- package/src/commands/watch.test.ts +97 -0
- package/src/commands/why.test.ts +46 -0
- package/src/commands/why.ts +4 -5
- package/src/commands/workspace.test.ts +92 -0
- package/src/index.test.ts +150 -0
- package/src/index.ts +50 -101
- package/src/lib/aas-profile-organizer.test.ts +290 -0
- package/src/lib/aas-profile-organizer.ts +849 -0
- package/src/lib/agent-adapters.test.ts +138 -89
- package/src/lib/agent-adapters.ts +358 -284
- package/src/lib/agent-collaboration.test.ts +46 -0
- package/src/lib/agent-docs-index.test.ts +74 -0
- package/src/lib/agent-scoping.test.ts +181 -0
- package/src/lib/ai-profile-advisor.test.ts +350 -0
- package/src/lib/ai-profile-advisor.ts +549 -0
- package/src/lib/analytics.test.ts +59 -1
- package/src/lib/analytics.ts +37 -22
- package/src/lib/auto-detect.test.ts +198 -2
- package/src/lib/auto-detect.ts +251 -34
- package/src/lib/brand-icons.test.ts +129 -0
- package/src/lib/brand-icons.ts +6 -7
- package/src/lib/cache.test.ts +261 -0
- package/src/lib/cache.ts +194 -10
- package/src/lib/catalog-index.test.ts +321 -0
- package/src/lib/catalog-index.ts +560 -0
- package/src/lib/ci-workflows.test.ts +40 -0
- package/src/lib/claude-binary.test.ts +217 -0
- package/src/lib/claude-binary.ts +131 -22
- package/src/lib/claude-classifier.test.ts +250 -0
- package/src/lib/claude-classifier.ts +283 -0
- package/src/lib/claude-logo.test.ts +64 -0
- package/src/lib/claude-logo.ts +41 -0
- package/src/lib/cli-extractor.ts +4 -5
- package/src/lib/codex-auth-sync.test.ts +80 -0
- package/src/lib/codex-auth.ts +52 -0
- package/src/lib/codex-config.test.ts +288 -0
- package/src/lib/codex-config.ts +420 -0
- package/src/lib/codex-hooks.test.ts +43 -0
- package/src/lib/codex-hooks.ts +54 -0
- package/src/lib/codex-ponytail.ts +31 -0
- package/src/lib/colony-dispatch.test.ts +59 -0
- package/src/lib/colony-dispatch.ts +3 -4
- package/src/lib/combo-history.test.ts +163 -1
- package/src/lib/combo-history.ts +87 -5
- package/src/lib/command-runner.test.ts +52 -0
- package/src/lib/command-runner.ts +19 -0
- package/src/lib/companion-fetch.ts +36 -306
- package/src/lib/conditional-skills.test.ts +22 -0
- package/src/lib/conditional-skills.ts +19 -5
- package/src/lib/conflict-detector.test.ts +73 -0
- package/src/lib/conflict-detector.ts +5 -7
- package/src/lib/context-mode.test.ts +90 -0
- package/src/lib/context-mode.ts +81 -0
- package/src/lib/core-gitguardex-skills.test.ts +38 -0
- package/src/lib/credentials-sync.test.ts +438 -1
- package/src/lib/credentials-sync.ts +382 -36
- package/src/lib/cue-credentials.test.ts +109 -0
- package/src/lib/cue-credentials.ts +89 -0
- package/src/lib/cwd-resolver.test.ts +27 -0
- package/src/lib/cwd-resolver.ts +12 -24
- package/src/lib/dashboard-env-reader.test.ts +274 -0
- package/src/lib/dashboard-env-reader.ts +107 -0
- package/src/lib/dashboard-playbook-parser.ts +231 -0
- package/src/lib/dashboard-server.test.ts +118 -5
- package/src/lib/dashboard-server.ts +121 -465
- package/src/lib/dashboard-static-assets.ts +119 -0
- package/src/lib/dashboard-version.ts +33 -0
- package/src/lib/default-profile.test.ts +13 -0
- package/src/lib/default-profile.ts +26 -0
- package/src/lib/discover-format.test.ts +10 -0
- package/src/lib/discover-format.ts +76 -0
- package/src/lib/discover-market-profile-yaml.test.ts +67 -0
- package/src/lib/discover-market-profile-yaml.ts +47 -0
- package/src/lib/firstmate-live.test.ts +146 -0
- package/src/lib/firstmate-live.ts +127 -0
- package/src/lib/fs-utils.ts +60 -0
- package/src/lib/github-api.ts +230 -0
- package/src/lib/handoff.test.ts +207 -0
- package/src/lib/handoff.ts +243 -69
- package/src/lib/help.test.ts +69 -0
- package/src/lib/integrity-ladder.test.ts +120 -0
- package/src/lib/kitty-image.ts +13 -0
- package/src/lib/launch-format.ts +545 -0
- package/src/lib/launch-guards.ts +38 -0
- package/src/lib/launch-loader.test.ts +178 -0
- package/src/lib/launch-loader.ts +240 -0
- package/src/lib/lazy-skills.ts +47 -2
- package/src/lib/liedetector-hooks.test.ts +303 -0
- package/src/lib/local-inventory-types.ts +20 -0
- package/src/lib/local-inventory.test.ts +103 -0
- package/src/lib/local-inventory.ts +214 -0
- package/src/lib/manifest-cache.test.ts +171 -0
- package/src/lib/manifest-cache.ts +85 -33
- package/src/lib/market-install.test.ts +128 -0
- package/src/lib/market-install.ts +247 -0
- package/src/lib/mcp-availability.test.ts +248 -0
- package/src/lib/mcp-availability.ts +230 -0
- package/src/lib/mcp-catalog.ts +4 -13
- package/src/lib/mcp-materializer.ts +3 -8
- package/src/lib/mcp-overrides.test.ts +214 -0
- package/src/lib/mcp-overrides.ts +220 -0
- package/src/lib/mcp-picker.test.ts +150 -0
- package/src/lib/mcp-picker.ts +247 -0
- package/src/lib/mcp-probe.test.ts +118 -0
- package/src/lib/mcp-probe.ts +202 -0
- package/src/lib/mcp-token-estimate.test.ts +105 -0
- package/src/lib/mcp-token-estimate.ts +152 -0
- package/src/lib/pack-resolver.test.ts +81 -0
- package/src/lib/pack-resolver.ts +3 -4
- package/src/lib/pair-suggestions.test.ts +80 -5
- package/src/lib/pair-suggestions.ts +28 -12
- package/src/lib/picker/card.test.ts +184 -0
- package/src/lib/picker/card.ts +420 -0
- package/src/lib/picker/categories.test.ts +91 -0
- package/src/lib/picker/categories.ts +88 -0
- package/src/lib/picker/classic.ts +1147 -0
- package/src/lib/picker/flow.test.ts +49 -0
- package/src/lib/picker/flow.ts +238 -0
- package/src/lib/picker/keys.test.ts +373 -0
- package/src/lib/picker/palette.test.ts +323 -0
- package/src/lib/picker/palette.ts +667 -0
- package/src/lib/picker/render-util.test.ts +213 -0
- package/src/lib/picker/render-util.ts +111 -0
- package/src/lib/picker/selector.test.ts +87 -0
- package/src/lib/picker/selector.ts +51 -0
- package/src/lib/picker/tally.test.ts +221 -0
- package/src/lib/picker/tally.ts +154 -0
- package/src/lib/picker/types.ts +150 -0
- package/src/lib/picker/ui.test.ts +184 -0
- package/src/lib/picker/ui.ts +219 -0
- package/src/lib/picker.test.ts +55 -31
- package/src/lib/picker.ts +89 -1475
- package/src/lib/plugin-discovery.test.ts +175 -0
- package/src/lib/ponytail-profile.test.ts +145 -0
- package/src/lib/pr-poster.ts +6 -2
- package/src/lib/profile-capabilities.test.ts +29 -0
- package/src/lib/profile-capabilities.ts +22 -0
- package/src/lib/profile-choice-feedback.test.ts +356 -0
- package/src/lib/profile-choice-feedback.ts +669 -0
- package/src/lib/profile-conflicts.test.ts +114 -0
- package/src/lib/profile-conflicts.ts +52 -0
- package/src/lib/profile-generator.ts +15 -56
- package/src/lib/profile-linter.test.ts +217 -0
- package/src/lib/profile-linter.ts +153 -35
- package/src/lib/profile-loader.test.ts +402 -1
- package/src/lib/profile-loader.ts +289 -88
- package/src/lib/profile-match-llm.test.ts +194 -0
- package/src/lib/profile-match-llm.ts +393 -0
- package/src/lib/profile-match.test.ts +368 -0
- package/src/lib/profile-match.ts +914 -0
- package/src/lib/profile-merge.test.ts +30 -1
- package/src/lib/profile-merge.ts +58 -18
- package/src/lib/profile-metrics.test.ts +176 -0
- package/src/lib/profile-metrics.ts +3 -4
- package/src/lib/profile-names.test.ts +1 -1
- package/src/lib/profile-suggestion-eval.test.ts +63 -0
- package/src/lib/profile-suggestion-eval.ts +185 -0
- package/src/lib/profile-yaml-editor.test.ts +66 -0
- package/src/lib/profile-yaml-editor.ts +43 -0
- package/src/lib/project-brief.test.ts +376 -0
- package/src/lib/project-brief.ts +591 -0
- package/src/lib/project-loadout.test.ts +273 -0
- package/src/lib/project-loadout.ts +358 -0
- package/src/lib/project-scanner.test.ts +228 -0
- package/src/lib/project-skills-routing.test.ts +163 -0
- package/src/lib/ratings.test.ts +130 -0
- package/src/lib/repo-root.test.ts +80 -0
- package/src/lib/repo-root.ts +38 -0
- package/src/lib/repo-scope.ts +81 -0
- package/src/lib/repository-stack-detect.test.ts +157 -0
- package/src/lib/repository-stack-detect.ts +406 -0
- package/src/lib/resolver-local.test.ts +40 -1
- package/src/lib/resolver-local.ts +32 -5
- package/src/lib/resolver-npx.test.ts +833 -4
- package/src/lib/resolver-npx.ts +547 -62
- package/src/lib/resolver-plugins.test.ts +2 -2
- package/src/lib/resolver-plugins.ts +19 -42
- package/src/lib/ruler.test.ts +332 -0
- package/src/lib/ruler.ts +374 -0
- package/src/lib/runtime-gc.test.ts +123 -0
- package/src/lib/runtime-gc.ts +203 -0
- package/src/lib/runtime-install.test.ts +213 -0
- package/src/lib/runtime-install.ts +177 -35
- package/src/lib/runtime-lock.test.ts +115 -0
- package/src/lib/runtime-materializer.config-json.test.ts +123 -0
- package/src/lib/runtime-materializer.mcp-prune.test.ts +105 -0
- package/src/lib/runtime-materializer.plugin-cache.test.ts +785 -0
- package/src/lib/runtime-materializer.process.test.ts +41 -0
- package/src/lib/runtime-materializer.test.ts +1843 -167
- package/src/lib/runtime-materializer.ts +1866 -520
- package/src/lib/scan-plugins.ts +10 -5
- package/src/lib/session-checkpoint.test.ts +295 -0
- package/src/lib/session-checkpoint.ts +297 -0
- package/src/lib/shared-profiles.test.ts +52 -1
- package/src/lib/shared-profiles.ts +62 -14
- package/src/lib/shim-dir.test.ts +155 -0
- package/src/lib/shim-dir.ts +176 -0
- package/src/lib/skill-dependencies.getNeeded.test.ts +81 -0
- package/src/lib/skill-dependencies.test.ts +39 -0
- package/src/lib/skill-dependencies.ts +77 -14
- package/src/lib/skill-deps.test.ts +1 -17
- package/src/lib/skill-deps.ts +3 -65
- package/src/lib/skill-linter.test.ts +169 -0
- package/src/lib/skill-linter.ts +204 -28
- package/src/lib/skill-parser.ts +197 -0
- package/src/lib/skill-quality.test.ts +1 -1
- package/src/lib/skill-quality.ts +4 -5
- package/src/lib/skill-report.test.ts +96 -6
- package/src/lib/skill-report.ts +46 -18
- package/src/lib/skill-resolve-journal.test.ts +104 -0
- package/src/lib/skill-resolve-journal.ts +112 -0
- package/src/lib/skill-router.test.ts +7 -0
- package/src/lib/skill-router.ts +3 -1
- package/src/lib/skill-sandbox.ts +3 -4
- package/src/lib/skill-source.ts +104 -0
- package/src/lib/skill-subset.cache.test.ts +172 -0
- package/src/lib/skill-subset.isolation.test.ts +108 -0
- package/src/lib/skill-subset.test.ts +25 -0
- package/src/lib/skill-subset.ts +215 -46
- package/src/lib/skills-lock.test.ts +5 -10
- package/src/lib/skills-lock.ts +2 -2
- package/src/lib/skillspector.test.ts +320 -0
- package/src/lib/skillspector.ts +364 -0
- package/src/lib/smart-loader-suggest.hook.test.ts +244 -0
- package/src/lib/stack-profiles.ts +37 -0
- package/src/lib/stack-suggest.test.ts +420 -0
- package/src/lib/stack-suggest.ts +586 -0
- package/src/lib/star-prompt.ts +15 -14
- package/src/lib/telemetry-ingest.test.ts +52 -3
- package/src/lib/telemetry-ingest.ts +43 -7
- package/src/lib/telemetry-redact.ts +10 -4
- package/src/lib/token-budget.test.ts +141 -0
- package/src/lib/token-budget.ts +187 -0
- package/src/lib/tui/app.ts +23 -8
- package/src/lib/tui/data.test.ts +219 -0
- package/src/lib/tui/data.ts +15 -18
- package/src/lib/tui/input.test.ts +159 -0
- package/src/lib/tui/screen.test.ts +85 -0
- package/src/lib/uvx-installer.test.ts +54 -1
- package/src/lib/uvx-installer.ts +51 -6
- package/src/lib/workflow-store.test.ts +292 -0
- package/src/lib/workspace-secrets.test.ts +99 -0
- package/src/lib/workspaces.test.ts +417 -0
- package/src/lib/workspaces.ts +6 -8
- package/web/README.md +97 -0
- package/web/src/skill-catalog.json +23 -0
- package/web/src/skill-catalog.ts +15 -0
- package/bin/README.md +0 -32
- package/plugins/cue/plugin.json +0 -15
- package/profiles/_cache/README.md +0 -21
- package/profiles/dash-merge-test/profile.yaml +0 -114
- package/resources/skills/skills/browser/lightpanda/SKILL.md +0 -99
- package/resources/skills/skills/design/brandkit/brandkit/SKILL.md +0 -798
- package/resources/skills/skills/design/brutalist-skill/SKILL.md +0 -92
- package/resources/skills/skills/design/gpt-tasteskill/SKILL.md +0 -74
- package/resources/skills/skills/design/image-to-code-skill/SKILL.md +0 -1228
- package/resources/skills/skills/design/imagegen-frontend-mobile/imagegen-frontend-mobile/SKILL.md +0 -1465
- package/resources/skills/skills/design/imagegen-frontend-web/imagegen-frontend-web/SKILL.md +0 -987
- package/resources/skills/skills/design/minimalist-skill/SKILL.md +0 -85
- package/resources/skills/skills/design/output-skill/SKILL.md +0 -49
- package/resources/skills/skills/design/redesign-skill/SKILL.md +0 -178
- package/resources/skills/skills/design/soft-skill/SKILL.md +0 -98
- package/resources/skills/skills/design/stitch-skill/DESIGN.md +0 -121
- package/resources/skills/skills/design/stitch-skill/SKILL.md +0 -184
- package/src/lib/incremental-materialize.test.ts +0 -112
- package/src/lib/incremental-materialize.ts +0 -81
- package/src/lib/lazy-mcp-wrapper.sh +0 -21
- package/src/lib/skill-compressor.ts +0 -70
- package/src/lib/webhooks.ts +0 -58
|
@@ -21,6 +21,7 @@ triggers:
|
|
|
21
21
|
- create a pr
|
|
22
22
|
- push to main
|
|
23
23
|
- deploy this
|
|
24
|
+
category: gstack
|
|
24
25
|
---
|
|
25
26
|
## Step 0: Detect platform and base branch
|
|
26
27
|
|
|
@@ -41,12 +42,12 @@ Determine which branch this PR/MR targets, or the repo's default branch if no
|
|
|
41
42
|
PR/MR exists. Use the result as "the base branch" in all subsequent steps.
|
|
42
43
|
|
|
43
44
|
**If GitHub:**
|
|
44
|
-
1. `gh pr view --json baseRefName -q .baseRefName
|
|
45
|
-
2. `gh repo view --json defaultBranchRef -q .defaultBranchRef.name
|
|
45
|
+
1. `gh pr view --json baseRefName -q .baseRefName`, if succeeds, use it
|
|
46
|
+
2. `gh repo view --json defaultBranchRef -q .defaultBranchRef.name`, if succeeds, use it
|
|
46
47
|
|
|
47
48
|
**If GitLab:**
|
|
48
|
-
1. `glab mr view -F json 2>/dev/null` and extract the `target_branch` field
|
|
49
|
-
2. `glab repo view -F json 2>/dev/null` and extract the `default_branch` field
|
|
49
|
+
1. `glab mr view -F json 2>/dev/null` and extract the `target_branch` field, if succeeds, use it
|
|
50
|
+
2. `glab repo view -F json 2>/dev/null` and extract the `default_branch` field, if succeeds, use it
|
|
50
51
|
|
|
51
52
|
**Git-native fallback (if unknown platform, or CLI commands fail):**
|
|
52
53
|
1. `git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||'`
|
|
@@ -66,7 +67,7 @@ branch name wherever the instructions say "the base branch" or `<default>`.
|
|
|
66
67
|
|
|
67
68
|
## Prerequisites
|
|
68
69
|
|
|
69
|
-
-
|
|
70
|
+
- `-`, install via your package manager
|
|
70
71
|
|
|
71
72
|
|
|
72
73
|
You are running the `/ship` workflow. This is a **non-interactive, fully automated** workflow. Do NOT ask for confirmation at any step. The user said `/ship` which means DO IT. Run straight through and output the PR URL at the end.
|
|
@@ -76,22 +77,22 @@ You are running the `/ship` workflow. This is a **non-interactive, fully automat
|
|
|
76
77
|
- Merge conflicts that can't be auto-resolved (stop, show conflicts)
|
|
77
78
|
- In-branch test failures (pre-existing failures are triaged, not auto-blocking)
|
|
78
79
|
- Pre-landing review finds ASK items that need user judgment
|
|
79
|
-
- MINOR or MAJOR version bump needed (ask
|
|
80
|
+
- MINOR or MAJOR version bump needed (ask, see Step 12)
|
|
80
81
|
- Greptile review comments that need user decision (complex fixes, false positives)
|
|
81
|
-
- AI-assessed coverage below minimum threshold (hard gate with user override
|
|
82
|
+
- AI-assessed coverage below minimum threshold (hard gate with user override, see Step 7)
|
|
82
83
|
- Plan items NOT DONE with no user override (see Step 8)
|
|
83
84
|
- Plan verification failures (see Step 8.1)
|
|
84
|
-
- TODOS.md missing and user wants to create one (ask
|
|
85
|
-
- TODOS.md disorganized and user wants to reorganize (ask
|
|
85
|
+
- TODOS.md missing and user wants to create one (ask, see Step 14)
|
|
86
|
+
- TODOS.md disorganized and user wants to reorganize (ask, see Step 14)
|
|
86
87
|
|
|
87
88
|
**Never stop for:**
|
|
88
89
|
- Uncommitted changes (always include them)
|
|
89
|
-
- Version bump choice (auto-pick MICRO or PATCH
|
|
90
|
+
- Version bump choice (auto-pick MICRO or PATCH, see Step 12)
|
|
90
91
|
- CHANGELOG content (auto-generate from diff)
|
|
91
92
|
- Commit message approval (auto-commit)
|
|
92
93
|
- Multi-file changesets (auto-split into bisectable commits)
|
|
93
94
|
- TODOS.md completed-item detection (auto-mark)
|
|
94
|
-
- Auto-fixable review findings (dead code, N+1, stale comments
|
|
95
|
+
- Auto-fixable review findings (dead code, N+1, stale comments, fixed automatically)
|
|
95
96
|
- Test coverage gaps within target threshold (auto-generate and commit, or flag in PR body)
|
|
96
97
|
|
|
97
98
|
**Re-run behavior (idempotency):**
|
|
@@ -110,7 +111,7 @@ Never skip a verification step because a prior `/ship` run already performed it.
|
|
|
110
111
|
|
|
111
112
|
1. Check the current branch. If on the base branch or the repo's default branch, **abort**: "You're on the base branch. Ship from a feature branch."
|
|
112
113
|
|
|
113
|
-
2. Run `git status` (never use `-uall`). Uncommitted changes are always included
|
|
114
|
+
2. Run `git status` (never use `-uall`). Uncommitted changes are always included, no need to ask.
|
|
114
115
|
|
|
115
116
|
3. Run `git diff <base>...HEAD --stat` and `git log <base>..HEAD --oneline` to understand what's being shipped.
|
|
116
117
|
|
|
@@ -124,7 +125,7 @@ After completing the review, read the review log and config to display the dashb
|
|
|
124
125
|
~/.claude/skills/gstack/bin/gstack-review-read
|
|
125
126
|
```
|
|
126
127
|
|
|
127
|
-
Parse the output. Find the most recent entry for each skill (plan-ceo-review, plan-eng-review, review, plan-design-review, design-review-lite, adversarial-review, codex-review, codex-plan-review). Ignore entries with timestamps older than 7 days. For the Eng Review row, show whichever is more recent between `review` (diff-scoped pre-landing review) and `plan-eng-review` (plan-stage architecture review). Append "(DIFF)" or "(PLAN)" to the status to distinguish. For the Adversarial row, show whichever is more recent between `adversarial-review` (new auto-scaled) and `codex-review` (legacy). For Design Review, show whichever is more recent between `plan-design-review` (full visual audit) and `design-review-lite` (code-level check). Append "(FULL)" or "(LITE)" to the status to distinguish. For the Outside Voice row, show the most recent `codex-plan-review` entry
|
|
128
|
+
Parse the output. Find the most recent entry for each skill (plan-ceo-review, plan-eng-review, review, plan-design-review, design-review-lite, adversarial-review, codex-review, codex-plan-review). Ignore entries with timestamps older than 7 days. For the Eng Review row, show whichever is more recent between `review` (diff-scoped pre-landing review) and `plan-eng-review` (plan-stage architecture review). Append "(DIFF)" or "(PLAN)" to the status to distinguish. For the Adversarial row, show whichever is more recent between `adversarial-review` (new auto-scaled) and `codex-review` (legacy). For Design Review, show whichever is more recent between `plan-design-review` (full visual audit) and `design-review-lite` (code-level check). Append "(FULL)" or "(LITE)" to the status to distinguish. For the Outside Voice row, show the most recent `codex-plan-review` entry, this captures outside voices from both /plan-ceo-review and /plan-eng-review.
|
|
128
129
|
|
|
129
130
|
**Source attribution:** If the most recent entry for a skill has a \`"via"\` field, append it to the status label in parentheses. Examples: `plan-eng-review` with `via:"autoplan"` shows as "CLEAR (PLAN via /autoplan)". `review` with `via:"ship"` shows as "CLEAR (DIFF via /ship)". Entries without a `via` field show as "CLEAR (PLAN)" or "CLEAR (DIFF)" as before.
|
|
130
131
|
|
|
@@ -152,7 +153,7 @@ Display:
|
|
|
152
153
|
- **Eng Review (required by default):** The only review that gates shipping. Covers architecture, code quality, tests, performance. Can be disabled globally with \`gstack-config set skip_eng_review true\` (the "don't bother me" setting).
|
|
153
154
|
- **CEO Review (optional):** Use your judgment. Recommend it for big product/business changes, new user-facing features, or scope decisions. Skip for bug fixes, refactors, infra, and cleanup.
|
|
154
155
|
- **Design Review (optional):** Use your judgment. Recommend it for UI/UX changes. Skip for backend-only, infra, or prompt-only changes.
|
|
155
|
-
- **Adversarial Review (automatic):** Always-on for every review. Every diff gets both Claude adversarial subagent and Codex adversarial challenge. Large diffs (200+ lines)
|
|
156
|
+
- **Adversarial Review (automatic):** Always-on for every review. Every diff gets both Claude adversarial subagent and Codex adversarial challenge. Large diffs (200+ lines) also get Codex structured review with P1 gate. No configuration needed.
|
|
156
157
|
- **Outside Voice (optional):** Independent plan review from a different AI model. Offered after all review sections complete in /plan-ceo-review and /plan-eng-review. Falls back to Claude subagent if Codex is unavailable. Never gates shipping.
|
|
157
158
|
|
|
158
159
|
**Verdict logic:**
|
|
@@ -163,28 +164,28 @@ Display:
|
|
|
163
164
|
|
|
164
165
|
**Staleness detection:** After displaying the dashboard, check if any existing reviews may be stale:
|
|
165
166
|
- Parse the \`---HEAD---\` section from the bash output to get the current HEAD commit hash
|
|
166
|
-
- For each review entry that has a \`commit\` field: compare it against the current HEAD. If different, count elapsed commits: \`git rev-list --count STORED_COMMIT..HEAD\`. Display: "Note: {skill} review from {date} may be stale
|
|
167
|
-
- For entries without a \`commit\` field (legacy entries): display "Note: {skill} review from {date} has no commit tracking
|
|
167
|
+
- For each review entry that has a \`commit\` field: compare it against the current HEAD. If different, count elapsed commits: \`git rev-list --count STORED_COMMIT..HEAD\`. Display: "Note: {skill} review from {date} may be stale, {N} commits since review"
|
|
168
|
+
- For entries without a \`commit\` field (legacy entries): display "Note: {skill} review from {date} has no commit tracking, consider re-running for accurate staleness detection"
|
|
168
169
|
- If all reviews match the current HEAD, do not display any staleness notes
|
|
169
170
|
|
|
170
171
|
If the Eng Review is NOT "CLEAR":
|
|
171
172
|
|
|
172
|
-
Print: "No prior eng review found
|
|
173
|
+
Print: "No prior eng review found, ship will run its own pre-landing review in Step 9."
|
|
173
174
|
|
|
174
175
|
Check diff size: `git diff <base>...HEAD --stat | tail -1`. If the diff is >200 lines, add: "Note: This is a large diff. Consider running `/plan-eng-review` or `/autoplan` for architecture-level review before shipping."
|
|
175
176
|
|
|
176
|
-
If CEO Review is missing, mention as informational ("CEO Review not run
|
|
177
|
+
If CEO Review is missing, mention as informational ("CEO Review not run, recommended for product changes") but do NOT block.
|
|
177
178
|
|
|
178
|
-
For Design Review: run `source <(~/.claude/skills/gstack/bin/gstack-diff-scope <base> 2>/dev/null)`. If `SCOPE_FRONTEND=true` and no design review (plan-design-review or design-review-lite) exists in the dashboard, mention: "Design Review not run
|
|
179
|
+
For Design Review: run `source <(~/.claude/skills/gstack/bin/gstack-diff-scope <base> 2>/dev/null)`. If `SCOPE_FRONTEND=true` and no design review (plan-design-review or design-review-lite) exists in the dashboard, mention: "Design Review not run, this PR changes frontend code. The lite design check will run automatically in Step 9, but consider running /design-review for a full visual audit post-implementation." Still never block.
|
|
179
180
|
|
|
180
|
-
Continue to Step 2
|
|
181
|
+
Continue to Step 2, do NOT block or ask. Ship runs its own review in Step 9.
|
|
181
182
|
|
|
182
183
|
---
|
|
183
184
|
|
|
184
185
|
## Step 2: Distribution Pipeline Check
|
|
185
186
|
|
|
186
|
-
If the diff introduces a new standalone artifact (CLI binary, library package, tool)
|
|
187
|
-
service with existing deployment
|
|
187
|
+
If the diff introduces a new standalone artifact (CLI binary, library package, tool), not a web
|
|
188
|
+
service with existing deployment, verify that a distribution pipeline exists.
|
|
188
189
|
|
|
189
190
|
1. Check if the diff adds a new `cmd/` directory, `main.go`, or `bin/` entry point:
|
|
190
191
|
```bash
|
|
@@ -200,9 +201,9 @@ service with existing deployment — verify that a distribution pipeline exists.
|
|
|
200
201
|
3. **If no release pipeline exists and a new artifact was added:** Use AskUserQuestion:
|
|
201
202
|
- "This PR adds a new binary/tool but there's no CI/CD pipeline to build and publish it.
|
|
202
203
|
Users won't be able to download the artifact after merge."
|
|
203
|
-
- A) Add a release workflow now (CI/CD release pipeline
|
|
204
|
-
- B) Defer
|
|
205
|
-
- C) Not needed
|
|
204
|
+
- A) Add a release workflow now (CI/CD release pipeline, GitHub Actions or GitLab CI depending on platform)
|
|
205
|
+
- B) Defer, add to TODOS.md
|
|
206
|
+
- C) Not needed, this is internal/web-only, existing deployment covers it
|
|
206
207
|
|
|
207
208
|
4. **If release pipeline exists:** Continue silently.
|
|
208
209
|
5. **If no new artifact detected:** Skip silently.
|
|
@@ -254,14 +255,14 @@ Print "Test framework detected: {name} ({N} existing tests). Skipping bootstrap.
|
|
|
254
255
|
Read 2-3 existing test files to learn conventions (naming, imports, assertion style, setup patterns).
|
|
255
256
|
Store conventions as prose context for use in Phase 8e.5 or Step 7. **Skip the rest of bootstrap.**
|
|
256
257
|
|
|
257
|
-
**If BOOTSTRAP_DECLINED** appears: Print "Test bootstrap previously declined
|
|
258
|
+
**If BOOTSTRAP_DECLINED** appears: Print "Test bootstrap previously declined, skipping." **Skip the rest of bootstrap.**
|
|
258
259
|
|
|
259
260
|
**If NO runtime detected** (no config files found): Use AskUserQuestion:
|
|
260
261
|
"I couldn't detect your project's language. What runtime are you using?"
|
|
261
262
|
Options: A) Node.js/TypeScript B) Ruby/Rails C) Python D) Go E) Rust F) PHP G) Elixir H) This project doesn't need tests.
|
|
262
263
|
If user picks H → write `.gstack/no-test-bootstrap` and continue without tests.
|
|
263
264
|
|
|
264
|
-
**If runtime detected but no test framework
|
|
265
|
+
**If runtime detected but no test framework, bootstrap:**
|
|
265
266
|
|
|
266
267
|
### B2. Research best practices
|
|
267
268
|
|
|
@@ -278,17 +279,17 @@ If WebSearch is unavailable, use this built-in knowledge table:
|
|
|
278
279
|
| Next.js | vitest + @testing-library/react + playwright | jest + cypress |
|
|
279
280
|
| Python | pytest + pytest-cov | unittest |
|
|
280
281
|
| Go | stdlib testing + testify | stdlib only |
|
|
281
|
-
| Rust | cargo test (built-in) + mockall
|
|
282
|
+
| Rust | cargo test (built-in) + mockall |, |
|
|
282
283
|
| PHP | phpunit + mockery | pest |
|
|
283
|
-
| Elixir | ExUnit (built-in) + ex_machina
|
|
284
|
+
| Elixir | ExUnit (built-in) + ex_machina |, |
|
|
284
285
|
|
|
285
286
|
### B3. Framework selection
|
|
286
287
|
|
|
287
288
|
Use AskUserQuestion:
|
|
288
289
|
"I detected this is a [Runtime/Framework] project with no test framework. I researched current best practices. Here are the options:
|
|
289
|
-
A) [Primary]
|
|
290
|
-
B) [Alternative]
|
|
291
|
-
C) Skip
|
|
290
|
+
A) [Primary], [rationale]. Includes: [packages]. Supports: unit, integration, smoke, e2e
|
|
291
|
+
B) [Alternative], [rationale]. Includes: [packages]
|
|
292
|
+
C) Skip, don't set up testing right now
|
|
292
293
|
RECOMMENDATION: Choose A because [reason based on project context]"
|
|
293
294
|
|
|
294
295
|
If user picks C → write `.gstack/no-test-bootstrap`. Tell user: "If you change your mind later, delete `.gstack/no-test-bootstrap` and re-run." Continue without tests.
|
|
@@ -310,7 +311,7 @@ Generate 3-5 real tests for existing code:
|
|
|
310
311
|
|
|
311
312
|
1. **Find recently changed files:** `git log --since=30.days --name-only --format="" | sort | uniq -c | sort -rn | head -10`
|
|
312
313
|
2. **Prioritize by risk:** Error handlers > business logic with conditionals > API endpoints > pure functions
|
|
313
|
-
3. **For each file:** Write one test that tests real behavior with meaningful assertions. Never `expect(x).toBeDefined()
|
|
314
|
+
3. **For each file:** Write one test that tests real behavior with meaningful assertions. Never `expect(x).toBeDefined()`, test what the code DOES.
|
|
314
315
|
4. Run each test. Passes → keep. Fails → fix once. Still fails → delete silently.
|
|
315
316
|
5. Generate at least 1 test, cap at 5.
|
|
316
317
|
|
|
@@ -333,21 +334,21 @@ ls -d .github/ 2>/dev/null && echo "CI:github"
|
|
|
333
334
|
ls .gitlab-ci.yml .circleci/ bitrise.yml 2>/dev/null
|
|
334
335
|
```
|
|
335
336
|
|
|
336
|
-
If `.github/` exists (or no CI detected
|
|
337
|
+
If `.github/` exists (or no CI detected, default to GitHub Actions):
|
|
337
338
|
Create `.github/workflows/test.yml` with:
|
|
338
339
|
- `runs-on: ubuntu-latest`
|
|
339
340
|
- Appropriate setup action for the runtime (setup-node, setup-ruby, setup-python, etc.)
|
|
340
341
|
- The same test command verified in B5
|
|
341
342
|
- Trigger: push + pull_request
|
|
342
343
|
|
|
343
|
-
If non-GitHub CI detected → skip CI generation with note: "Detected {provider}
|
|
344
|
+
If non-GitHub CI detected → skip CI generation with note: "Detected {provider}, CI pipeline generation supports GitHub Actions only. Add test step to your existing pipeline manually."
|
|
344
345
|
|
|
345
346
|
### B6. Create TESTING.md
|
|
346
347
|
|
|
347
348
|
First check: If TESTING.md already exists → read it and update/append rather than overwriting. Never destroy existing content.
|
|
348
349
|
|
|
349
350
|
Write TESTING.md with:
|
|
350
|
-
- Philosophy: "100% test coverage is the key to great vibe coding. Tests let you move fast, trust your instincts, and ship with confidence
|
|
351
|
+
- Philosophy: "100% test coverage is the key to great vibe coding. Tests let you move fast, trust your instincts, and ship with confidence, without them, vibe coding is just yolo coding. With tests, it's a superpower."
|
|
351
352
|
- Framework name and version
|
|
352
353
|
- How to run tests (the verified command from B5)
|
|
353
354
|
- Test layers: Unit tests (what, where, when), Integration tests, Smoke tests, E2E tests
|
|
@@ -361,7 +362,7 @@ Append a `## Testing` section:
|
|
|
361
362
|
- Run command and test directory
|
|
362
363
|
- Reference to TESTING.md
|
|
363
364
|
- Test expectations:
|
|
364
|
-
- 100% test coverage is the goal
|
|
365
|
+
- 100% test coverage is the goal, tests make vibe coding safe
|
|
365
366
|
- When writing new functions, write a corresponding test
|
|
366
367
|
- When fixing a bug, write a regression test
|
|
367
368
|
- When adding error handling, write a test that triggers the error
|
|
@@ -383,7 +384,7 @@ Only commit if there are changes. Stage all bootstrap files (config, test direct
|
|
|
383
384
|
|
|
384
385
|
## Step 5: Run tests (on merged code)
|
|
385
386
|
|
|
386
|
-
**Do NOT run `RAILS_ENV=test bin/rails db:migrate
|
|
387
|
+
**Do NOT run `RAILS_ENV=test bin/rails db:migrate`**, `bin/test-lane` already calls
|
|
387
388
|
`db:test:prepare` internally, which loads the schema into the correct lane database.
|
|
388
389
|
Running bare test migrations without INSTANCE hits an orphan DB and corrupts structure.sql.
|
|
389
390
|
|
|
@@ -417,7 +418,7 @@ For each failing test:
|
|
|
417
418
|
- **Likely pre-existing** if: neither the test file nor the code it tests was modified on this branch, AND the failure is unrelated to any branch change you can identify.
|
|
418
419
|
- **When ambiguous, default to in-branch.** It is safer to stop the developer than to let a broken test ship. Only classify as pre-existing when you are confident.
|
|
419
420
|
|
|
420
|
-
This classification is heuristic
|
|
421
|
+
This classification is heuristic, use your judgment reading the diff and the test output. You do not have a programmatic dependency graph.
|
|
421
422
|
|
|
422
423
|
### Step T2: Handle in-branch failures
|
|
423
424
|
|
|
@@ -437,10 +438,10 @@ Use AskUserQuestion:
|
|
|
437
438
|
>
|
|
438
439
|
> Since this is a solo repo, you're the only one who will fix these.
|
|
439
440
|
>
|
|
440
|
-
> RECOMMENDATION: Choose A
|
|
441
|
-
> A) Investigate and fix now (human: ~2-4h / CC: ~15min)
|
|
442
|
-
> B) Add as P0 TODO
|
|
443
|
-
> C) Skip
|
|
441
|
+
> RECOMMENDATION: Choose A, fix now while the context is fresh. Completeness: 9/10.
|
|
442
|
+
> A) Investigate and fix now (human: ~2-4h / CC: ~15min), Completeness: 10/10
|
|
443
|
+
> B) Add as P0 TODO, fix after this branch lands, Completeness: 7/10
|
|
444
|
+
> C) Skip, I know about this, ship anyway, Completeness: 3/10
|
|
444
445
|
|
|
445
446
|
**If REPO_MODE is `collaborative` or `unknown`:**
|
|
446
447
|
|
|
@@ -450,13 +451,13 @@ Use AskUserQuestion:
|
|
|
450
451
|
>
|
|
451
452
|
> [list each failure with file:line and brief error description]
|
|
452
453
|
>
|
|
453
|
-
> This is a collaborative repo
|
|
454
|
+
> This is a collaborative repo, these may be someone else's responsibility.
|
|
454
455
|
>
|
|
455
|
-
> RECOMMENDATION: Choose B
|
|
456
|
-
> A) Investigate and fix now anyway
|
|
457
|
-
> B) Blame + assign GitHub issue to the author
|
|
458
|
-
> C) Add as P0 TODO
|
|
459
|
-
> D) Skip
|
|
456
|
+
> RECOMMENDATION: Choose B, assign it to whoever broke it so the right person fixes it. Completeness: 9/10.
|
|
457
|
+
> A) Investigate and fix now anyway, Completeness: 10/10
|
|
458
|
+
> B) Blame + assign GitHub issue to the author, Completeness: 9/10
|
|
459
|
+
> C) Add as P0 TODO, Completeness: 7/10
|
|
460
|
+
> D) Skip, ship anyway, Completeness: 3/10
|
|
460
461
|
|
|
461
462
|
### Step T4: Execute the chosen action
|
|
462
463
|
|
|
@@ -470,7 +471,7 @@ Use AskUserQuestion:
|
|
|
470
471
|
- If `TODOS.md` exists, add the entry following the format in `review/TODOS-format.md` (or `.claude/skills/review/TODOS-format.md`).
|
|
471
472
|
- If `TODOS.md` does not exist, create it with the standard header and add the entry.
|
|
472
473
|
- Entry should include: title, the error output, which branch it was noticed on, and priority P0.
|
|
473
|
-
- Continue with the workflow
|
|
474
|
+
- Continue with the workflow, treat the pre-existing failure as non-blocking.
|
|
474
475
|
|
|
475
476
|
**If "Blame + assign GitHub issue" (collaborative only):**
|
|
476
477
|
- Find who likely broke it. Check BOTH the test file AND the production code it tests:
|
|
@@ -480,7 +481,7 @@ Use AskUserQuestion:
|
|
|
480
481
|
# Who last touched the production code the test covers? (often the actual breaker)
|
|
481
482
|
git log --format="%an (%ae)" -1 -- <source-file-under-test>
|
|
482
483
|
```
|
|
483
|
-
If these are different people, prefer the production code author
|
|
484
|
+
If these are different people, prefer the production code author, they likely introduced the regression.
|
|
484
485
|
- Create an issue assigned to that person (use the platform detected in Step 0):
|
|
485
486
|
- **If GitHub:**
|
|
486
487
|
```bash
|
|
@@ -505,7 +506,7 @@ Use AskUserQuestion:
|
|
|
505
506
|
|
|
506
507
|
**After triage:** If any in-branch failures remain unfixed, **STOP**. Do not proceed. If all failures were pre-existing and handled (fixed, TODOed, assigned, or skipped), continue to Step 6.
|
|
507
508
|
|
|
508
|
-
**If all pass:** Continue silently
|
|
509
|
+
**If all pass:** Continue silently, just note the counts briefly.
|
|
509
510
|
|
|
510
511
|
---
|
|
511
512
|
|
|
@@ -528,7 +529,7 @@ Match against these patterns (from CLAUDE.md):
|
|
|
528
529
|
- `config/system_prompts/*.txt`
|
|
529
530
|
- `test/evals/**/*` (eval infrastructure changes affect all suites)
|
|
530
531
|
|
|
531
|
-
**If no matches:** Print "No prompt-related files changed
|
|
532
|
+
**If no matches:** Print "No prompt-related files changed, skipping evals." and continue to Step 9.
|
|
532
533
|
|
|
533
534
|
**2. Identify affected eval suites:**
|
|
534
535
|
|
|
@@ -542,7 +543,7 @@ Map runner → test file: `post_generation_eval_runner.rb` → `post_generation_
|
|
|
542
543
|
|
|
543
544
|
**Special cases:**
|
|
544
545
|
- Changes to `test/evals/judges/*.rb`, `test/evals/support/*.rb`, or `test/evals/fixtures/` affect ALL suites that use those judges/support files. Check imports in the eval test files to determine which.
|
|
545
|
-
- Changes to `config/system_prompts/*.txt
|
|
546
|
+
- Changes to `config/system_prompts/*.txt`, grep eval runners for the prompt filename to find affected suites.
|
|
546
547
|
- If unsure which suites are affected, run ALL suites that could plausibly be impacted. Over-testing is better than missing a regression.
|
|
547
548
|
|
|
548
549
|
**3. Run affected suites at `EVAL_JUDGE_TIER=full`:**
|
|
@@ -553,16 +554,16 @@ Map runner → test file: `post_generation_eval_runner.rb` → `post_generation_
|
|
|
553
554
|
EVAL_JUDGE_TIER=full EVAL_VERBOSE=1 bin/test-lane --eval test/evals/<suite>_eval_test.rb 2>&1 | tee /tmp/ship_evals.txt
|
|
554
555
|
```
|
|
555
556
|
|
|
556
|
-
If multiple suites need to run, run them sequentially (each needs a test lane). If the first suite fails, stop immediately
|
|
557
|
+
If multiple suites need to run, run them sequentially (each needs a test lane). If the first suite fails, stop immediately, don't burn API cost on remaining suites.
|
|
557
558
|
|
|
558
559
|
**4. Check results:**
|
|
559
560
|
|
|
560
561
|
- **If any eval fails:** Show the failures, the cost dashboard, and **STOP**. Do not proceed.
|
|
561
562
|
- **If all pass:** Note pass counts and cost. Continue to Step 9.
|
|
562
563
|
|
|
563
|
-
**5. Save eval output
|
|
564
|
+
**5. Save eval output**, include eval results and cost dashboard in the PR body (Step 19).
|
|
564
565
|
|
|
565
|
-
**Tier reference (for context
|
|
566
|
+
**Tier reference (for context, /ship always uses `full`):**
|
|
566
567
|
| Tier | When | Speed (cached) | Cost |
|
|
567
568
|
|------|------|----------------|------|
|
|
568
569
|
| `fast` (Haiku) | Dev iteration, smoke tests | ~5s (14x faster) | ~$0.07/run |
|
|
@@ -573,19 +574,19 @@ If multiple suites need to run, run them sequentially (each needs a test lane).
|
|
|
573
574
|
|
|
574
575
|
## Step 7: Test Coverage Audit
|
|
575
576
|
|
|
576
|
-
**Dispatch this step as a subagent** using the Agent tool with `subagent_type: "general-purpose"`. The subagent runs the coverage audit in a fresh context window
|
|
577
|
+
**Dispatch this step as a subagent** using the Agent tool with `subagent_type: "general-purpose"`. The subagent runs the coverage audit in a fresh context window, the parent only sees the conclusion, not intermediate file reads. This is context-rot defense.
|
|
577
578
|
|
|
578
579
|
**Subagent prompt:** Pass the following instructions to the subagent, with `<base>` substituted with the base branch:
|
|
579
580
|
|
|
580
|
-
> You are running a ship-workflow test coverage audit. Run `git diff <base>...HEAD` as needed. Do not commit or push
|
|
581
|
+
> You are running a ship-workflow test coverage audit. Run `git diff <base>...HEAD` as needed. Do not commit or push, report only.
|
|
581
582
|
>
|
|
582
|
-
> 100% coverage is the goal
|
|
583
|
+
> 100% coverage is the goal, every untested path is a path where bugs hide and vibe coding becomes yolo coding. Evaluate what was ACTUALLY coded (from the diff), not what was planned.
|
|
583
584
|
|
|
584
585
|
### Test Framework Detection
|
|
585
586
|
|
|
586
587
|
Before analyzing coverage, detect the project's test framework:
|
|
587
588
|
|
|
588
|
-
1. **Read CLAUDE.md
|
|
589
|
+
1. **Read CLAUDE.md**, look for a `## Testing` section with test command and framework name. If found, use that as the authoritative source.
|
|
589
590
|
2. **If CLAUDE.md has no testing section, auto-detect:**
|
|
590
591
|
|
|
591
592
|
```bash
|
|
@@ -614,7 +615,7 @@ Store this number for the PR body.
|
|
|
614
615
|
|
|
615
616
|
**1. Trace every codepath changed** using `git diff origin/<base>...HEAD`:
|
|
616
617
|
|
|
617
|
-
Read every changed file. For each one, trace how data flows through the code
|
|
618
|
+
Read every changed file. For each one, trace how data flows through the code, don't just list functions, actually follow the execution:
|
|
618
619
|
|
|
619
620
|
1. **Read the diff.** For each changed file, read the full file (not just the diff hunk) to understand context.
|
|
620
621
|
2. **Trace data flow.** Starting from each entry point (route handler, exported function, event listener, component render), follow the data through every branch:
|
|
@@ -626,21 +627,21 @@ Read every changed file. For each one, trace how data flows through the code —
|
|
|
626
627
|
- Every function/method that was added or modified
|
|
627
628
|
- Every conditional branch (if/else, switch, ternary, guard clause, early return)
|
|
628
629
|
- Every error path (try/catch, rescue, error boundary, fallback)
|
|
629
|
-
- Every call to another function (trace into it
|
|
630
|
+
- Every call to another function (trace into it, does IT have untested branches?)
|
|
630
631
|
- Every edge: what happens with null input? Empty array? Invalid type?
|
|
631
632
|
|
|
632
|
-
This is the critical step
|
|
633
|
+
This is the critical step, you're building a map of every line of code that can execute differently based on input. Every branch in this diagram needs a test.
|
|
633
634
|
|
|
634
635
|
**2. Map user flows, interactions, and error states:**
|
|
635
636
|
|
|
636
|
-
Code coverage isn't enough
|
|
637
|
+
Code coverage isn't enough, you need to cover how real users interact with the changed code. For each changed feature, think through:
|
|
637
638
|
|
|
638
639
|
- **User flows:** What sequence of actions does a user take that touches this code? Map the full journey (e.g., "user clicks 'Pay' → form validates → API call → success/failure screen"). Each step in the journey needs a test.
|
|
639
640
|
- **Interaction edge cases:** What happens when the user does something unexpected?
|
|
640
641
|
- Double-click/rapid resubmit
|
|
641
642
|
- Navigate away mid-operation (back button, close tab, click another link)
|
|
642
643
|
- Submit with stale data (page sat open for 30 minutes, session expired)
|
|
643
|
-
- Slow connection (API takes 10 seconds
|
|
644
|
+
- Slow connection (API takes 10 seconds, what does the user see?)
|
|
644
645
|
- Concurrent actions (two tabs, same form)
|
|
645
646
|
- **Error states the user can see:** For every error the code handles, what does the user actually experience?
|
|
646
647
|
- Is there a clear error message or a silent failure?
|
|
@@ -652,7 +653,7 @@ Add these to your diagram alongside the code branches. A user flow with no test
|
|
|
652
653
|
|
|
653
654
|
**3. Check each branch against existing tests:**
|
|
654
655
|
|
|
655
|
-
Go through your diagram branch by branch
|
|
656
|
+
Go through your diagram branch by branch, both code paths AND user flows. For each one, search for a test that exercises it:
|
|
656
657
|
- Function `processPayment()` → look for `billing.test.ts`, `billing.spec.ts`, `test/billing_test.rb`
|
|
657
658
|
- An if/else → look for tests covering BOTH the true AND false path
|
|
658
659
|
- An error handler → look for a test that triggers that specific error condition
|
|
@@ -672,7 +673,7 @@ When checking each branch, also determine whether a unit test or E2E/integration
|
|
|
672
673
|
**RECOMMEND E2E (mark as [→E2E] in the diagram):**
|
|
673
674
|
- Common user flow spanning 3+ components/services (e.g., signup → verify email → first login)
|
|
674
675
|
- Integration point where mocking hides real failures (e.g., API → queue → worker → DB)
|
|
675
|
-
- Auth/payment/data-destruction flows
|
|
676
|
+
- Auth/payment/data-destruction flows, too important to trust unit tests alone
|
|
676
677
|
|
|
677
678
|
**RECOMMEND EVAL (mark as [→EVAL] in the diagram):**
|
|
678
679
|
- Critical LLM call that needs a quality eval (e.g., prompt change → test output still meets quality bar)
|
|
@@ -686,7 +687,7 @@ When checking each branch, also determine whether a unit test or E2E/integration
|
|
|
686
687
|
|
|
687
688
|
### REGRESSION RULE (mandatory)
|
|
688
689
|
|
|
689
|
-
**IRON RULE:** When the coverage audit identifies a REGRESSION
|
|
690
|
+
**IRON RULE:** When the coverage audit identifies a REGRESSION, code that previously worked but the diff broke, a regression test is written immediately. No AskUserQuestion. No skipping. Regressions are the highest-priority test because they prove something broke.
|
|
690
691
|
|
|
691
692
|
A regression is when:
|
|
692
693
|
- The diff modifies existing behavior (not new code)
|
|
@@ -737,7 +738,7 @@ If test framework detected (or bootstrapped in Step 4):
|
|
|
737
738
|
|
|
738
739
|
Caps: 30 code paths max, 20 tests generated max (code + user flow combined), 2-min per-test exploration cap.
|
|
739
740
|
|
|
740
|
-
If no test framework AND user declined bootstrap → diagram only, no generation. Note: "Test generation skipped
|
|
741
|
+
If no test framework AND user declined bootstrap → diagram only, no generation. Note: "Test generation skipped, no test framework configured."
|
|
741
742
|
|
|
742
743
|
**Diff is test-only changes:** Skip Step 7 entirely: "No new application code paths to audit."
|
|
743
744
|
|
|
@@ -763,22 +764,22 @@ Using the coverage percentage from the diagram in substep 4 (the `COVERAGE: X/Y
|
|
|
763
764
|
- RECOMMENDATION: Choose A because untested code paths are where production bugs hide.
|
|
764
765
|
- Options:
|
|
765
766
|
A) Generate more tests for remaining gaps (recommended)
|
|
766
|
-
B) Ship anyway
|
|
767
|
-
C) These paths don't need tests
|
|
767
|
+
B) Ship anyway, I accept the coverage risk
|
|
768
|
+
C) These paths don't need tests, mark as intentionally uncovered
|
|
768
769
|
- If A: Loop back to substep 5 (generate tests) targeting the remaining gaps. After second pass, if still below target, present AskUserQuestion again with updated numbers. Maximum 2 generation passes total.
|
|
769
|
-
- If B: Continue. Include in PR body: "Coverage gate: {X}
|
|
770
|
-
- If C: Continue. Include in PR body: "Coverage gate: {X}
|
|
770
|
+
- If B: Continue. Include in PR body: "Coverage gate: {X}%, user accepted risk."
|
|
771
|
+
- If C: Continue. Include in PR body: "Coverage gate: {X}%, {N} paths intentionally uncovered."
|
|
771
772
|
|
|
772
773
|
- **< minimum:** Use AskUserQuestion:
|
|
773
774
|
- "AI-assessed coverage is critically low ({X}%). {N} of {M} code paths have no tests. Minimum threshold is {minimum}%."
|
|
774
775
|
- RECOMMENDATION: Choose A because less than {minimum}% means more code is untested than tested.
|
|
775
776
|
- Options:
|
|
776
777
|
A) Generate tests for remaining gaps (recommended)
|
|
777
|
-
B) Override
|
|
778
|
+
B) Override, ship with low coverage (I understand the risk)
|
|
778
779
|
- If A: Loop back to substep 5. Maximum 2 passes. If still below minimum after 2 passes, present the override choice again.
|
|
779
780
|
- If B: Continue. Include in PR body: "Coverage gate: OVERRIDDEN at {X}%."
|
|
780
781
|
|
|
781
|
-
**Coverage percentage undetermined:** If the coverage diagram doesn't produce a clear numeric percentage (ambiguous output, parse error), **skip the gate** with: "Coverage gate: could not determine percentage
|
|
782
|
+
**Coverage percentage undetermined:** If the coverage diagram doesn't produce a clear numeric percentage (ambiguous output, parse error), **skip the gate** with: "Coverage gate: could not determine percentage, skipping." Do not default to 0% or block.
|
|
782
783
|
|
|
783
784
|
**Test-only diffs:** Skip the gate (same as the existing fast-path).
|
|
784
785
|
|
|
@@ -825,7 +826,7 @@ Repo: {owner/repo}
|
|
|
825
826
|
3. Embed `diagram` verbatim in the PR body's `## Test Coverage` section (Step 19).
|
|
826
827
|
4. Print a one-line summary: `Coverage: {coverage_pct}%, {gaps} gaps. {tests_added.length} tests added.`
|
|
827
828
|
|
|
828
|
-
**If the subagent fails, times out, or returns invalid JSON:** Fall back to running the audit inline in the parent. Do not block /ship on subagent failure
|
|
829
|
+
**If the subagent fails, times out, or returns invalid JSON:** Fall back to running the audit inline in the parent. Do not block /ship on subagent failure, partial results are better than none.
|
|
829
830
|
|
|
830
831
|
---
|
|
831
832
|
|
|
@@ -835,11 +836,11 @@ Repo: {owner/repo}
|
|
|
835
836
|
|
|
836
837
|
**Subagent prompt:** Pass these instructions to the subagent:
|
|
837
838
|
|
|
838
|
-
> You are running a ship-workflow plan completion audit. The base branch is `<base>`. Use `git diff <base>...HEAD` to see what shipped. Do not commit or push
|
|
839
|
+
> You are running a ship-workflow plan completion audit. The base branch is `<base>`. Use `git diff <base>...HEAD` to see what shipped. Do not commit or push, report only.
|
|
839
840
|
>
|
|
840
841
|
> ### Plan File Discovery
|
|
841
842
|
|
|
842
|
-
1. **Conversation context (primary):** Check if there is an active plan file in this conversation. The host agent's system messages include plan file paths when in plan mode. If found, use it directly
|
|
843
|
+
1. **Conversation context (primary):** Check if there is an active plan file in this conversation. The host agent's system messages include plan file paths when in plan mode. If found, use it directly, this is the most reliable signal.
|
|
843
844
|
|
|
844
845
|
2. **Content-based search (fallback):** If no plan file is referenced in conversation context, search by content:
|
|
845
846
|
|
|
@@ -864,12 +865,12 @@ done
|
|
|
864
865
|
3. **Validation:** If a plan file was found via content-based search (not conversation context), read the first 20 lines and verify it is relevant to the current branch's work. If it appears to be from a different project or feature, treat as "no plan file found."
|
|
865
866
|
|
|
866
867
|
**Error handling:**
|
|
867
|
-
- No plan file found → skip with "No plan file detected
|
|
868
|
-
- Plan file found but unreadable (permissions, encoding) → skip with "Plan file found but unreadable
|
|
868
|
+
- No plan file found → skip with "No plan file detected, skipping."
|
|
869
|
+
- Plan file found but unreadable (permissions, encoding) → skip with "Plan file found but unreadable, skipping."
|
|
869
870
|
|
|
870
871
|
### Actionable Item Extraction
|
|
871
872
|
|
|
872
|
-
Read the plan file. Extract every actionable item
|
|
873
|
+
Read the plan file. Extract every actionable item, anything that describes work to be done. Look for:
|
|
873
874
|
|
|
874
875
|
- **Checkbox items:** `- [ ] ...` or `- [x] ...`
|
|
875
876
|
- **Numbered steps** under implementation headings: "1. Create ...", "2. Add ...", "3. Modify ..."
|
|
@@ -885,9 +886,9 @@ Read the plan file. Extract every actionable item — anything that describes wo
|
|
|
885
886
|
- Explicitly deferred items ("Future:", "Out of scope:", "NOT in scope:", "P2:", "P3:", "P4:")
|
|
886
887
|
- CEO Review Decisions sections (these record choices, not work items)
|
|
887
888
|
|
|
888
|
-
**Cap:** Extract at most 50 items. If the plan has more, note: "Showing top 50 of N plan items
|
|
889
|
+
**Cap:** Extract at most 50 items. If the plan has more, note: "Showing top 50 of N plan items, full list in plan file."
|
|
889
890
|
|
|
890
|
-
**No items found:** If the plan contains no extractable actionable items, skip with: "Plan file contains no actionable items
|
|
891
|
+
**No items found:** If the plan contains no extractable actionable items, skip with: "Plan file contains no actionable items, skipping completion audit."
|
|
891
892
|
|
|
892
893
|
For each item, note:
|
|
893
894
|
- The item text (verbatim or concise summary)
|
|
@@ -897,10 +898,10 @@ For each item, note:
|
|
|
897
898
|
|
|
898
899
|
Before judging completion, classify HOW each item can be verified. The diff alone cannot prove every kind of work. Items outside the current repo or system are structurally invisible to `git diff`.
|
|
899
900
|
|
|
900
|
-
- **DIFF-VERIFIABLE
|
|
901
|
-
- **CROSS-REPO
|
|
902
|
-
- **EXTERNAL-STATE
|
|
903
|
-
- **CONTENT-SHAPE
|
|
901
|
+
- **DIFF-VERIFIABLE**, A code change in this repo would manifest in `git diff <base>...HEAD`. Examples: "add UserService" (file appears), "validate input X" (validation logic appears), "create users table" (migration file appears).
|
|
902
|
+
- **CROSS-REPO**, Item names a file or change in a sibling repo (e.g., `domain-hq/docs/dashboard.md`, `~/Development/<other-repo>/...`). The current diff CANNOT prove this.
|
|
903
|
+
- **EXTERNAL-STATE**, Item names state in an external system: Supabase config/RLS, Cloudflare DNS, Vercel env vars, OAuth provider allowlists, third-party SaaS, DNS records. The current diff CANNOT prove this.
|
|
904
|
+
- **CONTENT-SHAPE**, Item requires a file to follow a specific convention. If the file is in this repo: diff-verifiable. If in another repo or system: see CROSS-REPO / EXTERNAL-STATE.
|
|
904
905
|
|
|
905
906
|
**Verification dispatch:**
|
|
906
907
|
|
|
@@ -913,7 +914,7 @@ Before judging completion, classify HOW each item can be verified. The diff alon
|
|
|
913
914
|
|
|
914
915
|
**Validator detection.** Before falling back to UNVERIFIABLE on a CONTENT-SHAPE item, scan the target repo's `package.json` for any script matching `validate-*`, `lint-wiki`, `check-docs`, or similar. If found, invoke it with the relevant path argument (e.g., `npm run validate-wiki -- <path>`). For multi-target validators (e.g., `validate-wiki --all`), run once and reconcile per-item from the output. A passing validator promotes the item from UNVERIFIABLE to DONE; a failing one demotes to NOT DONE.
|
|
915
916
|
|
|
916
|
-
**Honesty rule.** Do NOT classify an item as DONE just because related code shipped. Code that *handles* a deliverable is not the deliverable. Shipping a markdown-extraction library is not the same as shipping the markdown file. When in doubt between DONE and UNVERIFIABLE, prefer UNVERIFIABLE
|
|
917
|
+
**Honesty rule.** Do NOT classify an item as DONE just because related code shipped. Code that *handles* a deliverable is not the deliverable. Shipping a markdown-extraction library is not the same as shipping the markdown file. When in doubt between DONE and UNVERIFIABLE, prefer UNVERIFIABLE, better to surface a confirmation prompt than silently miss a deliverable.
|
|
917
918
|
|
|
918
919
|
### Cross-Reference Against Diff
|
|
919
920
|
|
|
@@ -921,15 +922,15 @@ Run `git diff origin/<base>...HEAD` and `git log origin/<base>..HEAD --oneline`
|
|
|
921
922
|
|
|
922
923
|
For each extracted plan item, run the verification dispatch from the previous section, then classify:
|
|
923
924
|
|
|
924
|
-
- **DONE
|
|
925
|
-
- **PARTIAL
|
|
926
|
-
- **NOT DONE
|
|
927
|
-
- **CHANGED
|
|
928
|
-
- **UNVERIFIABLE
|
|
925
|
+
- **DONE**, Clear evidence the item shipped. Cite the specific file(s) changed in the diff for DIFF-VERIFIABLE items, or the verified path that exists for CROSS-REPO items with a reachable sibling repo.
|
|
926
|
+
- **PARTIAL**, Some work toward this item exists but is incomplete (e.g., model created but controller missing, function exists but edge cases not handled).
|
|
927
|
+
- **NOT DONE**, Verification ran and produced negative evidence (file missing, code absent in diff, sibling-repo file confirmed absent).
|
|
928
|
+
- **CHANGED**, The item was implemented using a different approach than the plan described, but the same goal is achieved. Note the difference.
|
|
929
|
+
- **UNVERIFIABLE**, The diff and any reachable sibling-repo checks cannot prove or disprove this. Always applies to EXTERNAL-STATE items and to CROSS-REPO items where the sibling repo isn't reachable. Cite the specific manual verification the user must perform (e.g., "check Cloudflare DNS shows DNS-only mode for dashboard.example.com", "confirm /docs/dashboard.md exists in domain-hq repo").
|
|
929
930
|
|
|
930
|
-
**Be conservative with DONE
|
|
931
|
-
**Be generous with CHANGED
|
|
932
|
-
**Be honest with UNVERIFIABLE
|
|
931
|
+
**Be conservative with DONE**, require clear evidence. A file being touched is not enough; the specific functionality described must be present.
|
|
932
|
+
**Be generous with CHANGED**, if the goal is met by different means, that counts as addressed.
|
|
933
|
+
**Be honest with UNVERIFIABLE**, better to surface 5 items the user must manually confirm than silently classify them DONE.
|
|
933
934
|
|
|
934
935
|
### Output Format
|
|
935
936
|
|
|
@@ -965,28 +966,28 @@ COMPLETION: 5/9 DONE, 1 PARTIAL, 1 NOT DONE, 1 CHANGED, 2 UNVERIFIABLE
|
|
|
965
966
|
|
|
966
967
|
After producing the completion checklist, evaluate in priority order:
|
|
967
968
|
|
|
968
|
-
1. **Any NOT DONE items** (highest priority
|
|
969
|
+
1. **Any NOT DONE items** (highest priority, known missing work). Use AskUserQuestion:
|
|
969
970
|
- Show the completion checklist above
|
|
970
971
|
- "{N} items from the plan are NOT DONE. These were part of the original plan but are missing from the implementation."
|
|
971
972
|
- RECOMMENDATION: depends on item count and severity. If 1-2 minor items (docs, config), recommend B. If core functionality is missing, recommend A.
|
|
972
973
|
- Options:
|
|
973
|
-
A) Stop
|
|
974
|
-
B) Ship anyway
|
|
975
|
-
C) These items were intentionally dropped
|
|
974
|
+
A) Stop, implement the missing items before shipping
|
|
975
|
+
B) Ship anyway, defer these to a follow-up (will create P1 TODOs in Step 5.5)
|
|
976
|
+
C) These items were intentionally dropped, remove from scope
|
|
976
977
|
- If A: STOP. List the missing items for the user to implement.
|
|
977
978
|
- If B: Continue. For each NOT DONE item, create a P1 TODO in Step 5.5 with "Deferred from plan: {plan file path}".
|
|
978
979
|
- If C: Continue. Note in PR body: "Plan items intentionally dropped: {list}."
|
|
979
980
|
|
|
980
|
-
2. **Any UNVERIFIABLE items** (silent gaps
|
|
981
|
+
2. **Any UNVERIFIABLE items** (silent gaps, the diff cannot prove them either way). Only fires after NOT DONE is resolved or absent.
|
|
981
982
|
|
|
982
983
|
**Per-item confirmation is mandatory.** Do NOT use a single AskUserQuestion to blanket-confirm all UNVERIFIABLE items. Blanket confirmation is the failure mode that surfaced in VAS-449 (user clicks A without opening any file). Instead:
|
|
983
984
|
|
|
984
985
|
- Loop through UNVERIFIABLE items one at a time.
|
|
985
986
|
- For each item, use AskUserQuestion with the item's *specific* manual check (e.g., "Confirm: does `~/Development/domain-hq/docs/dashboard.md` exist?", not "Have you checked all items?").
|
|
986
987
|
- Options per item:
|
|
987
|
-
Y) Confirmed done
|
|
988
|
-
N) Not done
|
|
989
|
-
D) Intentionally dropped
|
|
988
|
+
Y) Confirmed done, cite what you verified (free-text, embedded in PR body)
|
|
989
|
+
N) Not done, block ship; treat as NOT DONE and re-enter the priority-1 gate
|
|
990
|
+
D) Intentionally dropped, note in PR body: "Plan item intentionally dropped: {item}"
|
|
990
991
|
- RECOMMENDATION per item: Y if the item is concrete and easily verified; N if it's critical-path (auth, DNS, deliverables to other repos) and the user shows hesitation.
|
|
991
992
|
|
|
992
993
|
**Exit conditions:**
|
|
@@ -997,9 +998,9 @@ After producing the completion checklist, evaluate in priority order:
|
|
|
997
998
|
|
|
998
999
|
3. **Only PARTIAL items (no NOT DONE, no UNVERIFIABLE):** Continue with a note in the PR body. Not blocking.
|
|
999
1000
|
|
|
1000
|
-
4. **All DONE or CHANGED:** Pass. "Plan completion: PASS
|
|
1001
|
+
4. **All DONE or CHANGED:** Pass. "Plan completion: PASS, all items addressed." Continue.
|
|
1001
1002
|
|
|
1002
|
-
**No plan file found:** Skip entirely. "No plan file detected
|
|
1003
|
+
**No plan file found:** Skip entirely. "No plan file detected, skipping plan completion audit."
|
|
1003
1004
|
|
|
1004
1005
|
**Include in PR body (Step 8):** Add a `## Plan Completion` section with the checklist summary.
|
|
1005
1006
|
>
|
|
@@ -1013,7 +1014,7 @@ After producing the completion checklist, evaluate in priority order:
|
|
|
1013
1014
|
3. If `deferred > 0` or `unverifiable > 0` and no user override, present the items via the appropriate AskUserQuestion (see Gate Logic priority order above) before continuing.
|
|
1014
1015
|
4. Embed `summary` in PR body's `## Plan Completion` section (Step 19). If `unverifiable > 0` and the user picked option A in the UNVERIFIABLE gate, also embed `## Plan Completion — Manual Verifications` listing each user-confirmed item.
|
|
1015
1016
|
|
|
1016
|
-
**If the subagent fails or returns invalid JSON:** Fall back to running the audit inline (parent processes the same plan-extraction + classification logic). If the inline fallback also fails (e.g., plan file unreadable, parser error), do NOT silently pass
|
|
1017
|
+
**If the subagent fails or returns invalid JSON:** Fall back to running the audit inline (parent processes the same plan-extraction + classification logic). If the inline fallback also fails (e.g., plan file unreadable, parser error), do NOT silently pass, surface the failure as an explicit AskUserQuestion: "Plan Completion audit could not run ({reason}). Options: (A) Skip audit and ship anyway, record that the audit was skipped in PR body and Step 20 metrics; (B) Stop and fix the audit." Default and recommended option is (B). Silent fail-open is the failure shape that VAS-449 surfaced.
|
|
1017
1018
|
|
|
1018
1019
|
---
|
|
1019
1020
|
|
|
@@ -1025,7 +1026,7 @@ Automatically verify the plan's testing/verification steps using the `/qa-only`
|
|
|
1025
1026
|
|
|
1026
1027
|
Using the plan file already discovered in Step 8, look for a verification section. Match any of these headings: `## Verification`, `## Test plan`, `## Testing`, `## How to test`, `## Manual testing`, or any section with verification-flavored items (URLs to visit, things to check visually, interactions to test).
|
|
1027
1028
|
|
|
1028
|
-
**If no verification section found:** Skip with "No verification steps found in plan
|
|
1029
|
+
**If no verification section found:** Skip with "No verification steps found in plan, skipping auto-verification."
|
|
1029
1030
|
**If no plan file was found in Step 8:** Skip (already handled).
|
|
1030
1031
|
|
|
1031
1032
|
### 2. Check for running dev server
|
|
@@ -1039,7 +1040,7 @@ curl -s -o /dev/null -w '%{http_code}' http://localhost:5173 2>/dev/null || \
|
|
|
1039
1040
|
curl -s -o /dev/null -w '%{http_code}' http://localhost:4000 2>/dev/null || echo "NO_SERVER"
|
|
1040
1041
|
```
|
|
1041
1042
|
|
|
1042
|
-
**If NO_SERVER:** Skip with "No dev server detected
|
|
1043
|
+
**If NO_SERVER:** Skip with "No dev server detected, skipping plan verification. Run /qa separately after deploying."
|
|
1043
1044
|
|
|
1044
1045
|
### 3. Invoke /qa-only inline
|
|
1045
1046
|
|
|
@@ -1049,14 +1050,14 @@ Read the `/qa-only` skill from disk:
|
|
|
1049
1050
|
cat ${CLAUDE_SKILL_DIR}/../qa-only/SKILL.md
|
|
1050
1051
|
```
|
|
1051
1052
|
|
|
1052
|
-
**If unreadable:** Skip with "Could not load /qa-only
|
|
1053
|
+
**If unreadable:** Skip with "Could not load /qa-only, skipping plan verification."
|
|
1053
1054
|
|
|
1054
1055
|
Follow the /qa-only workflow with these modifications:
|
|
1055
1056
|
- **Skip the preamble** (already handled by /ship)
|
|
1056
|
-
- **Use the plan's verification section as the primary test input
|
|
1057
|
+
- **Use the plan's verification section as the primary test input**, treat each verification item as a test case
|
|
1057
1058
|
- **Use the detected dev server URL** as the base URL
|
|
1058
|
-
- **Skip the fix loop
|
|
1059
|
-
- **Cap at the verification items from the plan
|
|
1059
|
+
- **Skip the fix loop**, this is report-only verification during /ship
|
|
1060
|
+
- **Cap at the verification items from the plan**, do not expand into general site QA
|
|
1060
1061
|
|
|
1061
1062
|
### 4. Gate logic
|
|
1062
1063
|
|
|
@@ -1066,7 +1067,7 @@ Follow the /qa-only workflow with these modifications:
|
|
|
1066
1067
|
- RECOMMENDATION: Choose A if failures indicate broken functionality. Choose B if cosmetic only.
|
|
1067
1068
|
- Options:
|
|
1068
1069
|
A) Fix the failures before shipping (recommended for functional issues)
|
|
1069
|
-
B) Ship anyway
|
|
1070
|
+
B) Ship anyway, known issues (acceptable for cosmetic issues)
|
|
1070
1071
|
- **No verification section / no server / unreadable skill:** Skip (non-blocking).
|
|
1071
1072
|
|
|
1072
1073
|
### 5. Include in PR body
|
|
@@ -1115,12 +1116,12 @@ smarter on their codebase over time.
|
|
|
1115
1116
|
|
|
1116
1117
|
## Step 8.2: Scope Drift Detection
|
|
1117
1118
|
|
|
1118
|
-
Before reviewing code quality, check: **did they build what was requested
|
|
1119
|
+
Before reviewing code quality, check: **did they build what was requested, nothing more, nothing less?**
|
|
1119
1120
|
|
|
1120
1121
|
1. Read `TODOS.md` (if it exists). Read PR description (`gh pr view --json body --jq .body 2>/dev/null || true`).
|
|
1121
1122
|
Read commit messages (`git log origin/<base>..HEAD --oneline`).
|
|
1122
|
-
**If no PR exists:** rely on commit messages and TODOS.md for stated intent
|
|
1123
|
-
2. Identify the **stated intent
|
|
1123
|
+
**If no PR exists:** rely on commit messages and TODOS.md for stated intent, this is the common case since /review runs before /ship creates the PR.
|
|
1124
|
+
2. Identify the **stated intent**, what was this branch supposed to accomplish?
|
|
1124
1125
|
3. Run `DIFF_BASE=$(git merge-base origin/<base> HEAD) && git diff "$DIFF_BASE" --stat` and compare the files changed against the stated intent.
|
|
1125
1126
|
|
|
1126
1127
|
4. Evaluate with skepticism (incorporating plan completion results if available from an earlier step or adjacent section):
|
|
@@ -1144,7 +1145,7 @@ Before reviewing code quality, check: **did they build what was requested — no
|
|
|
1144
1145
|
[If missing: list each unaddressed requirement]
|
|
1145
1146
|
\`\`\`
|
|
1146
1147
|
|
|
1147
|
-
6. This is **INFORMATIONAL
|
|
1148
|
+
6. This is **INFORMATIONAL**, does not block the review. Proceed to the next step.
|
|
1148
1149
|
|
|
1149
1150
|
---
|
|
1150
1151
|
|
|
@@ -1195,11 +1196,11 @@ Example:
|
|
|
1195
1196
|
\`[P1] (confidence: 9/10) app/models/user.rb:42 — SQL injection via string interpolation in where clause\`
|
|
1196
1197
|
\`[P2] (confidence: 5/10) app/controllers/api/v1/users_controller.rb:18 — Possible N+1 query, verify with production logs\`
|
|
1197
1198
|
|
|
1198
|
-
### Pre-emit verification gate (#1539
|
|
1199
|
+
### Pre-emit verification gate (#1539, kills the "field doesn't exist" FP class)
|
|
1199
1200
|
|
|
1200
1201
|
Before any finding is promoted to the report, the gate requires:
|
|
1201
1202
|
|
|
1202
|
-
1. **Quote the specific code line that motivates the finding
|
|
1203
|
+
1. **Quote the specific code line that motivates the finding**, file:line plus
|
|
1203
1204
|
the verbatim text of the line(s) that triggered it. If the finding is "field
|
|
1204
1205
|
X doesn't exist on model Y", quote the lines of class Y where the field
|
|
1205
1206
|
would live. If "dict.get() might return None", quote the dict initialization.
|
|
@@ -1209,7 +1210,7 @@ Before any finding is promoted to the report, the gate requires:
|
|
|
1209
1210
|
Force its confidence to 4-5 (suppressed from the main report). It still goes
|
|
1210
1211
|
into the appendix so reviewers can audit calibration, but the user does NOT
|
|
1211
1212
|
see it in the critical-pass output. Do not work around this by inventing
|
|
1212
|
-
speculative confidence 7
|
|
1213
|
+
speculative confidence 7+, that defeats the gate.
|
|
1213
1214
|
|
|
1214
1215
|
**Framework-meta nudge:** When the symbol is generated by a framework
|
|
1215
1216
|
metaclass, descriptor, ORM Meta inner-class, or migration history (Django
|
|
@@ -1220,7 +1221,7 @@ the schema file) instead of expecting the literal name in the class body.
|
|
|
1220
1221
|
The verification is "I read the source that creates this symbol", not "I
|
|
1221
1222
|
grep'd for the name and didn't find it." Deeper framework-aware verification
|
|
1222
1223
|
(model introspection, migration-history-aware checks, ORM dialect detection)
|
|
1223
|
-
is deliberately out of scope for the lighter gate
|
|
1224
|
+
is deliberately out of scope for the lighter gate, see the deferred
|
|
1224
1225
|
`~/.gstack-dev/plans/1539-framework-aware-review.md` design doc.
|
|
1225
1226
|
|
|
1226
1227
|
The FP classes the gate kills (measured against Django Sprint 2.5 #1539):
|
|
@@ -1249,16 +1250,16 @@ source <(~/.claude/skills/gstack/bin/gstack-diff-scope <base> 2>/dev/null)
|
|
|
1249
1250
|
|
|
1250
1251
|
**If `SCOPE_FRONTEND=true`:**
|
|
1251
1252
|
|
|
1252
|
-
1. **Check for DESIGN.md.** If `DESIGN.md` or `design-system.md` exists in the repo root, read it. All design findings are calibrated against it
|
|
1253
|
+
1. **Check for DESIGN.md.** If `DESIGN.md` or `design-system.md` exists in the repo root, read it. All design findings are calibrated against it, patterns blessed in DESIGN.md are not flagged. If not found, use universal design principles.
|
|
1253
1254
|
|
|
1254
|
-
2. **Read `.claude/skills/review/design-checklist.md`.** If the file cannot be read, skip design review with a note: "Design checklist not found
|
|
1255
|
+
2. **Read `.claude/skills/review/design-checklist.md`.** If the file cannot be read, skip design review with a note: "Design checklist not found, skipping design review."
|
|
1255
1256
|
|
|
1256
1257
|
3. **Read each changed frontend file** (full file, not just diff hunks). Frontend files are identified by the patterns listed in the checklist.
|
|
1257
1258
|
|
|
1258
1259
|
4. **Apply the design checklist** against the changed files. For each item:
|
|
1259
1260
|
- **[HIGH] mechanical CSS fix** (`outline: none`, `!important`, `font-size < 16px`): classify as AUTO-FIX
|
|
1260
1261
|
- **[HIGH/MEDIUM] design judgment needed**: classify as ASK
|
|
1261
|
-
- **[LOW] intent-based detection**: present as "Possible
|
|
1262
|
+
- **[LOW] intent-based detection**: present as "Possible, verify visually or run /design-review"
|
|
1262
1263
|
|
|
1263
1264
|
5. **Include findings** in the review output under a "Design Review" header, following the output format in the checklist. Design findings merge with code review findings into the same Fix-First flow.
|
|
1264
1265
|
|
|
@@ -1289,13 +1290,13 @@ Use a 5-minute timeout (`timeout: 300000`). After the command completes, read st
|
|
|
1289
1290
|
cat "$TMPERR_DRL" && rm -f "$TMPERR_DRL"
|
|
1290
1291
|
```
|
|
1291
1292
|
|
|
1292
|
-
**Error handling:** All errors are non-blocking. On auth failure, timeout, or empty response
|
|
1293
|
+
**Error handling:** All errors are non-blocking. On auth failure, timeout, or empty response, skip with a brief note and continue.
|
|
1293
1294
|
|
|
1294
1295
|
Present Codex output under a `CODEX (design):` header, merged with the checklist findings above.
|
|
1295
1296
|
|
|
1296
1297
|
Include any design findings alongside the code review findings. They follow the same Fix-First flow below.
|
|
1297
1298
|
|
|
1298
|
-
## Step 9.1: Review Army
|
|
1299
|
+
## Step 9.1: Review Army, Specialist Dispatch
|
|
1299
1300
|
|
|
1300
1301
|
### Detect stack and scope
|
|
1301
1302
|
|
|
@@ -1335,17 +1336,17 @@ echo "TEST_FW: ${TEST_FW:-unknown}"
|
|
|
1335
1336
|
Based on the scope signals above, select which specialists to dispatch.
|
|
1336
1337
|
|
|
1337
1338
|
**Always-on (dispatch on every review with 50+ changed lines):**
|
|
1338
|
-
1. **Testing
|
|
1339
|
-
2. **Maintainability
|
|
1339
|
+
1. **Testing**, read `~/.claude/skills/gstack/review/specialists/testing.md`
|
|
1340
|
+
2. **Maintainability**, read `~/.claude/skills/gstack/review/specialists/maintainability.md`
|
|
1340
1341
|
|
|
1341
|
-
**If DIFF_LINES < 50:** Skip all specialists. Print: "Small diff ($DIFF_LINES lines)
|
|
1342
|
+
**If DIFF_LINES < 50:** Skip all specialists. Print: "Small diff ($DIFF_LINES lines), specialists skipped." Continue to the Fix-First flow (item 4).
|
|
1342
1343
|
|
|
1343
1344
|
**Conditional (dispatch if the matching scope signal is true):**
|
|
1344
|
-
3. **Security
|
|
1345
|
-
4. **Performance
|
|
1346
|
-
5. **Data Migration
|
|
1347
|
-
6. **API Contract
|
|
1348
|
-
7. **Design
|
|
1345
|
+
3. **Security**, if SCOPE_AUTH=true, OR if SCOPE_BACKEND=true AND DIFF_LINES > 100. Read `~/.claude/skills/gstack/review/specialists/security.md`
|
|
1346
|
+
4. **Performance**, if SCOPE_BACKEND=true OR SCOPE_FRONTEND=true. Read `~/.claude/skills/gstack/review/specialists/performance.md`
|
|
1347
|
+
5. **Data Migration**, if SCOPE_MIGRATIONS=true. Read `~/.claude/skills/gstack/review/specialists/data-migration.md`
|
|
1348
|
+
6. **API Contract**, if SCOPE_API=true. Read `~/.claude/skills/gstack/review/specialists/api-contract.md`
|
|
1349
|
+
7. **Design**, if SCOPE_FRONTEND=true. Use the existing design review checklist at `~/.claude/skills/gstack/review/design-checklist.md`
|
|
1349
1350
|
|
|
1350
1351
|
### Adaptive gating
|
|
1351
1352
|
|
|
@@ -1353,7 +1354,7 @@ After scope-based selection, apply adaptive gating based on specialist hit rates
|
|
|
1353
1354
|
|
|
1354
1355
|
For each conditional specialist that passed scope gating, check the `gstack-specialist-stats` output above:
|
|
1355
1356
|
- If tagged `[GATE_CANDIDATE]` (0 findings in 10+ dispatches): skip it. Print: "[specialist] auto-gated (0 findings in N reviews)."
|
|
1356
|
-
- If tagged `[NEVER_GATE]`: always dispatch regardless of hit rate. Security and data-migration are insurance policy specialists
|
|
1357
|
+
- If tagged `[NEVER_GATE]`: always dispatch regardless of hit rate. Security and data-migration are insurance policy specialists, they should run even when silent.
|
|
1357
1358
|
|
|
1358
1359
|
**Force flags:** If the user's prompt includes `--security`, `--performance`, `--testing`, `--maintainability`, `--data-migration`, `--api-contract`, `--design`, or `--all-specialists`, force-include that specialist regardless of gating.
|
|
1359
1360
|
|
|
@@ -1366,7 +1367,7 @@ Note which specialists were selected, gated, and skipped. Print the selection:
|
|
|
1366
1367
|
|
|
1367
1368
|
For each selected specialist, launch an independent subagent via the Agent tool.
|
|
1368
1369
|
**Launch ALL selected specialists in a single message** (multiple Agent tool calls)
|
|
1369
|
-
so they run in parallel. Each subagent has fresh context
|
|
1370
|
+
so they run in parallel. Each subagent has fresh context, no prior review bias.
|
|
1370
1371
|
|
|
1371
1372
|
**Each specialist subagent prompt:**
|
|
1372
1373
|
|
|
@@ -1394,11 +1395,11 @@ Required fields: severity, confidence, path, category, summary, specialist.
|
|
|
1394
1395
|
Optional: line, fix, fingerprint, evidence, test_stub.
|
|
1395
1396
|
|
|
1396
1397
|
If you can write a test that would catch this issue, include it in the `test_stub` field.
|
|
1397
|
-
Use the detected test framework ({TEST_FW}). Write a minimal skeleton
|
|
1398
|
+
Use the detected test framework ({TEST_FW}). Write a minimal skeleton, describe/it/test
|
|
1398
1399
|
blocks with clear intent. Skip test_stub for architectural or design-only findings.
|
|
1399
1400
|
|
|
1400
1401
|
If no findings: output `NO FINDINGS` and nothing else.
|
|
1401
|
-
Do not output anything else
|
|
1402
|
+
Do not output anything else, no preamble, no summary, no commentary.
|
|
1402
1403
|
|
|
1403
1404
|
Stack context: {STACK}
|
|
1404
1405
|
Past learnings: {learnings or 'none'}
|
|
@@ -1408,8 +1409,8 @@ CHECKLIST:
|
|
|
1408
1409
|
|
|
1409
1410
|
**Subagent configuration:**
|
|
1410
1411
|
- Use `subagent_type: "general-purpose"`
|
|
1411
|
-
- Do NOT use `run_in_background
|
|
1412
|
-
- If any specialist subagent fails or times out, log the failure and continue with results from successful specialists. Specialists are additive
|
|
1412
|
+
- Do NOT use `run_in_background`, all specialists must complete before merge
|
|
1413
|
+
- If any specialist subagent fails or times out, log the failure and continue with results from successful specialists. Specialists are additive, partial results are better than no results.
|
|
1413
1414
|
|
|
1414
1415
|
---
|
|
1415
1416
|
|
|
@@ -1419,7 +1420,7 @@ After all specialist subagents complete, collect their outputs.
|
|
|
1419
1420
|
|
|
1420
1421
|
**Parse findings:**
|
|
1421
1422
|
For each specialist's output:
|
|
1422
|
-
1. If output is "NO FINDINGS"
|
|
1423
|
+
1. If output is "NO FINDINGS", skip, this specialist found nothing
|
|
1423
1424
|
2. Otherwise, parse each line as a JSON object. Skip lines that are not valid JSON.
|
|
1424
1425
|
3. Collect all parsed findings into a single list, tagged with their specialist name.
|
|
1425
1426
|
|
|
@@ -1436,7 +1437,7 @@ Group findings by fingerprint. For findings sharing the same fingerprint:
|
|
|
1436
1437
|
|
|
1437
1438
|
**Apply confidence gates:**
|
|
1438
1439
|
- Confidence 7+: show normally in the findings output
|
|
1439
|
-
- Confidence 5-6: show with caveat "Medium confidence
|
|
1440
|
+
- Confidence 5-6: show with caveat "Medium confidence, verify this is actually an issue"
|
|
1440
1441
|
- Confidence 3-4: move to appendix (suppress from main findings)
|
|
1441
1442
|
- Confidence 1-2: suppress entirely
|
|
1442
1443
|
|
|
@@ -1460,7 +1461,7 @@ PR Quality Score: X/10
|
|
|
1460
1461
|
```
|
|
1461
1462
|
|
|
1462
1463
|
These findings flow into the Fix-First flow (item 4) alongside the checklist pass (Step 9).
|
|
1463
|
-
The Fix-First heuristic applies identically
|
|
1464
|
+
The Fix-First heuristic applies identically, specialist findings follow the same AUTO-FIX vs ASK classification.
|
|
1464
1465
|
|
|
1465
1466
|
**Compile per-specialist stats:**
|
|
1466
1467
|
After merging findings, compile a `specialists` object for the review-log persist.
|
|
@@ -1471,7 +1472,7 @@ For each specialist (testing, maintainability, security, performance, data-migra
|
|
|
1471
1472
|
- If not applicable (e.g., red-team not activated): omit from the object
|
|
1472
1473
|
|
|
1473
1474
|
Include the Design specialist even though it uses `design-checklist.md` instead of the specialist schema files.
|
|
1474
|
-
Remember these stats
|
|
1475
|
+
Remember these stats, you will need them for the review-log entry in Step 5.8.
|
|
1475
1476
|
|
|
1476
1477
|
---
|
|
1477
1478
|
|
|
@@ -1507,7 +1508,7 @@ Before classifying findings, check if any were previously skipped by the user in
|
|
|
1507
1508
|
~/.claude/skills/gstack/bin/gstack-review-read
|
|
1508
1509
|
```
|
|
1509
1510
|
|
|
1510
|
-
Parse the output: only lines BEFORE `---CONFIG---` are JSONL entries (the output also contains `---CONFIG---` and `---HEAD---` footer sections that are not JSONL
|
|
1511
|
+
Parse the output: only lines BEFORE `---CONFIG---` are JSONL entries (the output also contains `---CONFIG---` and `---HEAD---` footer sections that are not JSONL, ignore those).
|
|
1511
1512
|
|
|
1512
1513
|
For each JSONL entry that has a `findings` array:
|
|
1513
1514
|
1. Collect all fingerprints where `action: "skipped"`
|
|
@@ -1527,7 +1528,7 @@ If both conditions are true: suppress the finding. It was intentionally skipped
|
|
|
1527
1528
|
|
|
1528
1529
|
Print: "Suppressed N findings from prior reviews (previously skipped by user)"
|
|
1529
1530
|
|
|
1530
|
-
**Only suppress `skipped` findings
|
|
1531
|
+
**Only suppress `skipped` findings, never `fixed` or `auto-fixed`** (those might regress and should be re-checked).
|
|
1531
1532
|
|
|
1532
1533
|
If no prior reviews exist or none have a `findings` array, skip this step silently.
|
|
1533
1534
|
|
|
@@ -1563,7 +1564,7 @@ and N values from the summary counts above. The `via:"ship"` distinguishes from
|
|
|
1563
1564
|
- `specialists` = the per-specialist stats object compiled in Step 9.2. Each specialist that was considered gets an entry: `{"dispatched":true/false,"findings":N,"critical":N,"informational":N}` if dispatched, or `{"dispatched":false,"reason":"scope|gated"}` if skipped. Example: `{"testing":{"dispatched":true,"findings":2,"critical":0,"informational":2},"security":{"dispatched":false,"reason":"scope"}}`
|
|
1564
1565
|
- `findings` = array of per-finding records. For each finding (from checklist pass and specialists), include: `{"fingerprint":"path:line:category","severity":"CRITICAL|INFORMATIONAL","action":"ACTION"}`. ACTION is `"auto-fixed"`, `"fixed"` (user approved), or `"skipped"` (user chose Skip).
|
|
1565
1566
|
|
|
1566
|
-
Save the review output
|
|
1567
|
+
Save the review output, it goes into the PR body in Step 19.
|
|
1567
1568
|
|
|
1568
1569
|
---
|
|
1569
1570
|
|
|
@@ -1573,7 +1574,7 @@ Save the review output — it goes into the PR body in Step 19.
|
|
|
1573
1574
|
|
|
1574
1575
|
**Subagent prompt:**
|
|
1575
1576
|
|
|
1576
|
-
> You are classifying Greptile review comments for a /ship workflow. Read `.claude/skills/review/greptile-triage.md` and follow the fetch, filter, classify, and **escalation detection** steps. Do NOT fix code, do NOT reply to comments, do NOT commit
|
|
1577
|
+
> You are classifying Greptile review comments for a /ship workflow. Read `.claude/skills/review/greptile-triage.md` and follow the fetch, filter, classify, and **escalation detection** steps. Do NOT fix code, do NOT reply to comments, do NOT commit, report only.
|
|
1577
1578
|
>
|
|
1578
1579
|
> For each comment, assign: `classification` (`valid_actionable`, `already_fixed`, `false_positive`, `suppressed`), `escalation_tier` (1 or 2), the file:line or [top-level] tag, body summary, and permalink URL.
|
|
1579
1580
|
>
|
|
@@ -1599,7 +1600,7 @@ For each comment in `comments`:
|
|
|
1599
1600
|
- If user chooses A: apply the fix, commit the fixed files (`git add <fixed-files> && git commit -m "fix: address Greptile review — <brief description>"`), reply using the **Fix reply template** from greptile-triage.md (include inline diff + explanation), and save to both per-project and global greptile-history (type: fix).
|
|
1600
1601
|
- If user chooses C: reply using the **False Positive reply template** from greptile-triage.md (include evidence + suggested re-rank), save to both per-project and global greptile-history (type: fp).
|
|
1601
1602
|
|
|
1602
|
-
**VALID BUT ALREADY FIXED:** Reply using the **Already Fixed reply template** from greptile-triage.md
|
|
1603
|
+
**VALID BUT ALREADY FIXED:** Reply using the **Already Fixed reply template** from greptile-triage.md, no AskUserQuestion needed:
|
|
1603
1604
|
- Include what was done and the fixing commit SHA
|
|
1604
1605
|
- Save to both per-project and global greptile-history (type: already-fixed)
|
|
1605
1606
|
|
|
@@ -1611,7 +1612,7 @@ For each comment in `comments`:
|
|
|
1611
1612
|
- C) Ignore silently
|
|
1612
1613
|
- If user chooses A: reply using the **False Positive reply template** from greptile-triage.md (include evidence + suggested re-rank), save to both per-project and global greptile-history (type: fp)
|
|
1613
1614
|
|
|
1614
|
-
**SUPPRESSED:** Skip silently
|
|
1615
|
+
**SUPPRESSED:** Skip silently, these are known false positives from previous triage.
|
|
1615
1616
|
|
|
1616
1617
|
**After all comments are resolved:** If any fixes were applied, the tests from Step 5 are now stale. **Re-run tests** (Step 5) before continuing to Step 12. If no fixes were applied, continue to Step 12.
|
|
1617
1618
|
|
|
@@ -1619,7 +1620,7 @@ For each comment in `comments`:
|
|
|
1619
1620
|
|
|
1620
1621
|
## Step 11: Adversarial review (always-on)
|
|
1621
1622
|
|
|
1622
|
-
Every diff gets adversarial review from both Claude and Codex. LOC is not a proxy for risk
|
|
1623
|
+
Every diff gets adversarial review from both Claude and Codex. LOC is not a proxy for risk, a 5-line auth change can be critical.
|
|
1623
1624
|
|
|
1624
1625
|
**Detect diff size and tool availability:**
|
|
1625
1626
|
|
|
@@ -1643,10 +1644,10 @@ If `OLD_CFG` is `disabled`: skip Codex passes only. Claude adversarial subagent
|
|
|
1643
1644
|
|
|
1644
1645
|
### Claude adversarial subagent (always runs)
|
|
1645
1646
|
|
|
1646
|
-
Dispatch via the Agent tool. The subagent has fresh context
|
|
1647
|
+
Dispatch via the Agent tool. The subagent has fresh context, no checklist bias from the structured review. This genuine independence catches things the primary reviewer is blind to.
|
|
1647
1648
|
|
|
1648
1649
|
Subagent prompt:
|
|
1649
|
-
"Read the diff for this branch with `DIFF_BASE=$(git merge-base origin/<base> HEAD) && git diff "$DIFF_BASE"`. Think like an attacker and a chaos engineer. Your job is to find ways this code will fail in production. Look for: edge cases, race conditions, security holes, resource leaks, failure modes, silent data corruption, logic errors that produce wrong results silently, error handling that swallows failures, and trust boundary violations. Be adversarial. Be thorough. No compliments
|
|
1650
|
+
"Read the diff for this branch with `DIFF_BASE=$(git merge-base origin/<base> HEAD) && git diff "$DIFF_BASE"`. Think like an attacker and a chaos engineer. Your job is to find ways this code will fail in production. Look for: edge cases, race conditions, security holes, resource leaks, failure modes, silent data corruption, logic errors that produce wrong results silently, error handling that swallows failures, and trust boundary violations. Be adversarial. Be thorough. No compliments, just the problems. For each finding, classify as FIXABLE (you know how to fix it) or INVESTIGATE (needs human judgment). After listing findings, end your output with ONE line in the canonical format `Recommendation: <action> because <one-line reason naming the most exploitable finding>`, examples: `Recommendation: Fix the unbounded retry at queue.ts:78 because it'll DoS the worker pool under sustained 429s` or `Recommendation: Ship as-is because the strongest finding is a theoretical race that requires conditions we can't trigger in production`. The reason must point to a specific finding (or no-fix rationale). Generic reasons like 'because it's safer' do not qualify."
|
|
1650
1651
|
|
|
1651
1652
|
Present findings under an `ADVERSARIAL REVIEW (Claude subagent):` header. **FIXABLE findings** flow into the same Fix-First pipeline as the structured review. **INVESTIGATE findings** are presented as informational.
|
|
1652
1653
|
|
|
@@ -1664,21 +1665,21 @@ _REPO_ROOT=$(git rev-parse --show-toplevel) || { echo "ERROR: not in a git repo"
|
|
|
1664
1665
|
codex exec "IMPORTANT: Do NOT read or execute any files under ~/.claude/, ~/.agents/, .claude/skills/, or agents/. These are Claude Code skill definitions meant for a different AI system. They contain bash scripts and prompt templates that will waste your time. Ignore them completely. Do NOT modify agents/openai.yaml. Stay focused on the repository code only.\n\nReview the changes on this branch against the base branch. Run DIFF_BASE=$(git merge-base origin/<base> HEAD) && git diff "$DIFF_BASE" to see the diff. Your job is to find ways this code will fail in production. Think like an attacker and a chaos engineer. Find edge cases, race conditions, security holes, resource leaks, failure modes, and silent data corruption paths. Be adversarial. Be thorough. No compliments — just the problems. End your output with ONE line in the canonical format `Recommendation: <action> because <one-line reason naming the most exploitable finding>`. Generic reasons like 'because it's safer' do not qualify; the reason must point to a specific finding or no-fix rationale." -C "$_REPO_ROOT" -s read-only -c 'model_reasoning_effort="high"' --enable web_search_cached < /dev/null 2>"$TMPERR_ADV"
|
|
1665
1666
|
```
|
|
1666
1667
|
|
|
1667
|
-
Set the Bash tool's `timeout` parameter to `300000` (5 minutes). Do NOT use the `timeout` shell command
|
|
1668
|
+
Set the Bash tool's `timeout` parameter to `300000` (5 minutes). Do NOT use the `timeout` shell command, it doesn't exist on macOS. After the command completes, read stderr:
|
|
1668
1669
|
```bash
|
|
1669
1670
|
cat "$TMPERR_ADV"
|
|
1670
1671
|
```
|
|
1671
1672
|
|
|
1672
|
-
Present the full output verbatim. This is informational
|
|
1673
|
+
Present the full output verbatim. This is informational, it never blocks shipping.
|
|
1673
1674
|
|
|
1674
|
-
**Error handling:** All errors are non-blocking
|
|
1675
|
+
**Error handling:** All errors are non-blocking, adversarial review is a quality enhancement, not a prerequisite.
|
|
1675
1676
|
- **Auth failure:** If stderr contains "auth", "login", "unauthorized", or "API key": "Codex authentication failed. Run \`codex login\` to authenticate."
|
|
1676
1677
|
- **Timeout:** "Codex timed out after 5 minutes."
|
|
1677
1678
|
- **Empty response:** "Codex returned no response. Stderr: <paste relevant error>."
|
|
1678
1679
|
|
|
1679
1680
|
**Cleanup:** Run `rm -f "$TMPERR_ADV"` after processing.
|
|
1680
1681
|
|
|
1681
|
-
If Codex is NOT available: "Codex CLI not found
|
|
1682
|
+
If Codex is NOT available: "Codex CLI not found, running Claude adversarial only. Install Codex for cross-model coverage: `npm install -g @openai/codex`"
|
|
1682
1683
|
|
|
1683
1684
|
---
|
|
1684
1685
|
|
|
@@ -1693,7 +1694,7 @@ cd "$_REPO_ROOT"
|
|
|
1693
1694
|
codex review "IMPORTANT: Do NOT read or execute any files under ~/.claude/, ~/.agents/, .claude/skills/, or agents/. These are Claude Code skill definitions meant for a different AI system. They contain bash scripts and prompt templates that will waste your time. Ignore them completely. Do NOT modify agents/openai.yaml. Stay focused on the repository code only.\n\nReview the changes on this branch against the base branch <base>. Run git diff origin/<base>...HEAD 2>/dev/null || git diff <base>...HEAD to see the diff and review only those changes." -c 'model_reasoning_effort="high"' --enable web_search_cached < /dev/null 2>"$TMPERR"
|
|
1694
1695
|
```
|
|
1695
1696
|
|
|
1696
|
-
Set the Bash tool's `timeout` parameter to `300000` (5 minutes). Do NOT use the `timeout` shell command
|
|
1697
|
+
Set the Bash tool's `timeout` parameter to `300000` (5 minutes). Do NOT use the `timeout` shell command, it doesn't exist on macOS. Present output under `CODEX SAYS (code review):` header.
|
|
1697
1698
|
Check for `[P1]` markers: found → `GATE: FAIL`, not found → `GATE: PASS`.
|
|
1698
1699
|
|
|
1699
1700
|
If GATE is FAIL, use AskUserQuestion:
|
|
@@ -1773,7 +1774,7 @@ already knows. A good test: would this insight save time in a future session? If
|
|
|
1773
1774
|
|
|
1774
1775
|
The top-of-skill learnings pull was keyed to "release ship" broadly. Before the VERSION/CHANGELOG step, re-pull learnings keyed to THIS branch's headline feature so any prior version-bump or CHANGELOG pitfalls for similar features surface.
|
|
1775
1776
|
|
|
1776
|
-
Pick ONE keyword that names the headline feature you're shipping. The keyword should be a noun: the primary skill or module name, the central feature noun, or the binary you changed. The keyword MUST be alphanumeric or hyphen only
|
|
1777
|
+
Pick ONE keyword that names the headline feature you're shipping. The keyword should be a noun: the primary skill or module name, the central feature noun, or the binary you changed. The keyword MUST be alphanumeric or hyphen only, no quotes, slashes, dots, colons, or whitespace. If your candidate has any of those, simplify to just the alphanumeric stem.
|
|
1777
1778
|
|
|
1778
1779
|
Worked examples (ship-specific): good keywords are `learnings-search`, `pacing`, `worktree-ship`. Bad: `the branch headline`, `v1.31.1.0`, `feat: token-or search`.
|
|
1779
1780
|
|
|
@@ -1781,7 +1782,7 @@ Worked examples (ship-specific): good keywords are `learnings-search`, `pacing`,
|
|
|
1781
1782
|
~/.claude/skills/gstack/bin/gstack-learnings-search --query "<your-keyword>" --limit 5 2>/dev/null || true
|
|
1782
1783
|
```
|
|
1783
1784
|
|
|
1784
|
-
If any learnings come back, name which one applies to the version bump or CHANGELOG framing in one sentence. If none come back, continue without reference
|
|
1785
|
+
If any learnings come back, name which one applies to the version bump or CHANGELOG framing in one sentence. If none come back, continue without reference, the absence is itself useful information.
|
|
1785
1786
|
|
|
1786
1787
|
## Step 12: Version bump (auto-decide)
|
|
1787
1788
|
|
|
@@ -1838,7 +1839,7 @@ fi
|
|
|
1838
1839
|
Read the `STATE:` line and dispatch:
|
|
1839
1840
|
|
|
1840
1841
|
- **FRESH** → proceed with the bump action below (steps 1–4).
|
|
1841
|
-
- **ALREADY_BUMPED** → skip the bump by default, BUT check for queue drift first: call `bin/gstack-next-version` with the implied bump level (derived from `CURRENT_VERSION` vs `BASE_VERSION`), compare its `.version` against `CURRENT_VERSION`. If they differ (queue moved since last ship), use **AskUserQuestion**: "VERSION drift detected: you claim v<CURRENT> but next available is v<NEW> (queue moved). A) Rebump to v<NEW> and rewrite CHANGELOG header + PR title (recommended), B) Keep v<CURRENT
|
|
1842
|
+
- **ALREADY_BUMPED** → skip the bump by default, BUT check for queue drift first: call `bin/gstack-next-version` with the implied bump level (derived from `CURRENT_VERSION` vs `BASE_VERSION`), compare its `.version` against `CURRENT_VERSION`. If they differ (queue moved since last ship), use **AskUserQuestion**: "VERSION drift detected: you claim v<CURRENT> but next available is v<NEW> (queue moved). A) Rebump to v<NEW> and rewrite CHANGELOG header + PR title (recommended), B) Keep v<CURRENT>, will be rejected by CI version-gate until resolved." If A, treat this as FRESH with `NEW_VERSION=<new>` and run steps 1-4 (which will also trigger Step 13 CHANGELOG header rewrite and Step 19 PR title rewrite). If B, reuse `CURRENT_VERSION` and warn that CI will likely reject. If util is offline, warn and reuse `CURRENT_VERSION`.
|
|
1842
1843
|
- **DRIFT_STALE_PKG** → a prior `/ship` bumped `VERSION` but failed to update `package.json`. Run the sync-only repair block below (after step 4). Do NOT re-bump. Reuse `CURRENT_VERSION` for CHANGELOG and PR body. (Queue check still runs in ALREADY_BUMPED terms after repair.)
|
|
1843
1844
|
- **DRIFT_UNEXPECTED** → `/ship` has halted (exit 1). Resolve manually; /ship cannot tell which file is authoritative.
|
|
1844
1845
|
|
|
@@ -1850,9 +1851,9 @@ Read the `STATE:` line and dispatch:
|
|
|
1850
1851
|
- **MICRO** (4th digit): < 50 lines changed, trivial tweaks, typos, config
|
|
1851
1852
|
- **PATCH** (3rd digit): 50+ lines changed, no feature signals detected
|
|
1852
1853
|
- **MINOR** (2nd digit): **ASK the user** if ANY feature signal is detected, OR 500+ lines changed, OR new modules/packages added
|
|
1853
|
-
- **MAJOR** (1st digit): **ASK the user
|
|
1854
|
+
- **MAJOR** (1st digit): **ASK the user**, only for milestones or breaking changes
|
|
1854
1855
|
|
|
1855
|
-
Save the chosen level as `BUMP_LEVEL` (one of `major`, `minor`, `patch`, `micro`). This is the user-intended level. The next step decides *placement
|
|
1856
|
+
Save the chosen level as `BUMP_LEVEL` (one of `major`, `minor`, `patch`, `micro`). This is the user-intended level. The next step decides *placement*, the level stays the same even if queue-aware allocation has to advance past a claimed slot.
|
|
1856
1857
|
|
|
1857
1858
|
3. **Queue-aware version pick (workspace-aware ship, v1.6.4.0+).** Call `bin/gstack-next-version` to see what's already claimed by open PRs + active sibling Conductor worktrees, then render the queue state to the user:
|
|
1858
1859
|
|
|
@@ -1906,7 +1907,7 @@ if [ -f package.json ]; then
|
|
|
1906
1907
|
fi
|
|
1907
1908
|
```
|
|
1908
1909
|
|
|
1909
|
-
**DRIFT_STALE_PKG repair path
|
|
1910
|
+
**DRIFT_STALE_PKG repair path**, runs when idempotency reports `STATE: DRIFT_STALE_PKG`. No re-bump; sync `package.json.version` to the current `VERSION` and continue. Reuse `CURRENT_VERSION` for CHANGELOG and PR body.
|
|
1910
1911
|
|
|
1911
1912
|
```bash
|
|
1912
1913
|
REPAIR_VERSION=$(cat VERSION | tr -d '\r\n[:space:]')
|
|
@@ -1956,10 +1957,10 @@ echo "Drift repaired: package.json synced to $REPAIR_VERSION. No version bump pe
|
|
|
1956
1957
|
5. **Write the CHANGELOG entry** covering ALL groups:
|
|
1957
1958
|
- If existing CHANGELOG entries on the branch already cover some commits, replace them with one unified entry for the new version
|
|
1958
1959
|
- Categorize changes into applicable sections:
|
|
1959
|
-
- `### Added
|
|
1960
|
-
- `### Changed
|
|
1961
|
-
- `### Fixed
|
|
1962
|
-
- `### Removed
|
|
1960
|
+
- `### Added`, new features
|
|
1961
|
+
- `### Changed`, changes to existing functionality
|
|
1962
|
+
- `### Fixed`, bug fixes
|
|
1963
|
+
- `### Removed`, removed features
|
|
1963
1964
|
- Write concise, descriptive bullet points
|
|
1964
1965
|
- Insert after the file header (line 5), dated today
|
|
1965
1966
|
- Format: `## [X.Y.Z.W] - YYYY-MM-DD`
|
|
@@ -1998,12 +1999,12 @@ Read TODOS.md and verify it follows the recommended structure:
|
|
|
1998
1999
|
**If disorganized** (missing priority fields, no component groupings, no Completed section): Use AskUserQuestion:
|
|
1999
2000
|
- Message: "TODOS.md doesn't follow the recommended structure (skill/component groupings, P0-P4 priority, Completed section). Would you like to reorganize it?"
|
|
2000
2001
|
- Options: A) Reorganize now (recommended), B) Leave as-is
|
|
2001
|
-
- If A: Reorganize in-place following TODOS-format.md. Preserve all content
|
|
2002
|
+
- If A: Reorganize in-place following TODOS-format.md. Preserve all content, only restructure, never delete items.
|
|
2002
2003
|
- If B: Continue to step 3 without restructuring.
|
|
2003
2004
|
|
|
2004
2005
|
**3. Detect completed TODOs:**
|
|
2005
2006
|
|
|
2006
|
-
This step is fully automatic
|
|
2007
|
+
This step is fully automatic, no user interaction.
|
|
2007
2008
|
|
|
2008
2009
|
Use the diff and commit history already gathered in earlier steps:
|
|
2009
2010
|
- `git diff <base>...HEAD` (full diff against the base branch)
|
|
@@ -2025,7 +2026,7 @@ For each TODO item, check if the changes in this PR complete it by:
|
|
|
2025
2026
|
|
|
2026
2027
|
**6. Defensive:** If TODOS.md cannot be written (permission error, disk full), warn the user and continue. Never stop the ship workflow for a TODOS failure.
|
|
2027
2028
|
|
|
2028
|
-
Save this summary
|
|
2029
|
+
Save this summary, it goes into the PR body in Step 19.
|
|
2029
2030
|
|
|
2030
2031
|
---
|
|
2031
2032
|
|
|
@@ -2075,7 +2076,7 @@ git rebase -i $(git merge-base HEAD origin/<base>) \
|
|
|
2075
2076
|
}
|
|
2076
2077
|
```
|
|
2077
2078
|
|
|
2078
|
-
Option 2 (simpler, if the branch is ALL WIP commits so far
|
|
2079
|
+
Option 2 (simpler, if the branch is ALL WIP commits so far, no landed work):
|
|
2079
2080
|
```bash
|
|
2080
2081
|
# Branch contains only WIP commits. Reset-soft is safe here because there's
|
|
2081
2082
|
# nothing non-WIP to preserve. Verify first.
|
|
@@ -2091,7 +2092,7 @@ user via AskUserQuestion rather than destroying non-WIP commits.
|
|
|
2091
2092
|
|
|
2092
2093
|
**Anti-footgun rules:**
|
|
2093
2094
|
- NEVER blind `git reset --soft` if there are non-WIP commits. Codex flagged this
|
|
2094
|
-
as destructive
|
|
2095
|
+
as destructive, it would uncommit real landed work and turn the push step into
|
|
2095
2096
|
a non-fast-forward push for anyone who already pushed.
|
|
2096
2097
|
- Only proceed to Step 15.1 after WIP commits are successfully squashed/absorbed
|
|
2097
2098
|
or the branch has been verified to contain only WIP work.
|
|
@@ -2100,7 +2101,7 @@ user via AskUserQuestion rather than destroying non-WIP commits.
|
|
|
2100
2101
|
|
|
2101
2102
|
**Goal:** Create small, logical commits that work well with `git bisect` and help LLMs understand what changed.
|
|
2102
2103
|
|
|
2103
|
-
1. Analyze the diff and group changes into logical commits. Each commit should represent **one coherent change
|
|
2104
|
+
1. Analyze the diff and group changes into logical commits. Each commit should represent **one coherent change**, not one file, but one logical unit.
|
|
2104
2105
|
|
|
2105
2106
|
2. **Commit ordering** (earlier commits first):
|
|
2106
2107
|
- **Infrastructure:** migrations, config changes, route additions
|
|
@@ -2116,7 +2117,7 @@ user via AskUserQuestion rather than destroying non-WIP commits.
|
|
|
2116
2117
|
- Config/route changes can group with the feature they enable
|
|
2117
2118
|
- If the total diff is small (< 50 lines across < 4 files), a single commit is fine
|
|
2118
2119
|
|
|
2119
|
-
4. **Each commit must be independently valid
|
|
2120
|
+
4. **Each commit must be independently valid**, no broken imports, no references to code that doesn't exist yet. Order commits so dependencies come first.
|
|
2120
2121
|
|
|
2121
2122
|
5. Compose each commit message:
|
|
2122
2123
|
- First line: `<type>: <summary>` (type = feat/fix/chore/refactor/docs)
|
|
@@ -2180,13 +2181,13 @@ git push -u origin <branch-name>
|
|
|
2180
2181
|
|
|
2181
2182
|
## Step 18: Documentation sync (via subagent, before PR creation)
|
|
2182
2183
|
|
|
2183
|
-
**Dispatch /document-release as a subagent** using the Agent tool with `subagent_type: "general-purpose"`. The subagent gets a fresh context window
|
|
2184
|
+
**Dispatch /document-release as a subagent** using the Agent tool with `subagent_type: "general-purpose"`. The subagent gets a fresh context window, zero rot from the preceding 17 steps. It also runs the **full** `/document-release` workflow (with CHANGELOG clobber protection, doc exclusions, risky-change gates, named staging, race-safe PR body editing) rather than a weaker reimplementation.
|
|
2184
2185
|
|
|
2185
2186
|
**Sequencing:** This step runs AFTER Step 17 (Push) and BEFORE Step 19 (Create PR). The PR is created once from final HEAD with the `## Documentation` section baked into the initial body. No create-then-re-edit dance.
|
|
2186
2187
|
|
|
2187
2188
|
**Subagent prompt:**
|
|
2188
2189
|
|
|
2189
|
-
> You are executing the /document-release workflow after a code push. Read the full skill file `${HOME}/.claude/skills/gstack/document-release/SKILL.md` and execute its complete workflow end-to-end, including CHANGELOG clobber protection, doc exclusions, risky-change gates, and named staging. Do NOT attempt to edit the PR body
|
|
2190
|
+
> You are executing the /document-release workflow after a code push. Read the full skill file `${HOME}/.claude/skills/gstack/document-release/SKILL.md` and execute its complete workflow end-to-end, including CHANGELOG clobber protection, doc exclusions, risky-change gates, and named staging. Do NOT attempt to edit the PR body, no PR exists yet. Branch: `<branch>`, base: `<base>`.
|
|
2190
2191
|
>
|
|
2191
2192
|
> After completing the workflow, output a single JSON object on the LAST LINE of your response (no other text after it):
|
|
2192
2193
|
> `{"files_updated":["README.md","CLAUDE.md",...],"commit_sha":"abc1234","pushed":true,"documentation_section":"<markdown block for PR body's ## Documentation section>"}`
|
|
@@ -2197,7 +2198,7 @@ git push -u origin <branch-name>
|
|
|
2197
2198
|
**Parent processing:**
|
|
2198
2199
|
|
|
2199
2200
|
1. Parse the LAST line of the subagent's output as JSON.
|
|
2200
|
-
2. Store `documentation_section
|
|
2201
|
+
2. Store `documentation_section`, Step 19 embeds it in the PR body (or omits the section if null).
|
|
2201
2202
|
3. If `files_updated` is non-empty, print: `Documentation synced: {files_updated.length} files updated, committed as {commit_sha}`.
|
|
2202
2203
|
4. If `files_updated` is empty, print: `Documentation is current — no updates needed.`
|
|
2203
2204
|
|
|
@@ -2221,7 +2222,7 @@ glab mr view -F json 2>/dev/null | jq -r 'if .state == "opened" then "MR_EXISTS"
|
|
|
2221
2222
|
|
|
2222
2223
|
If an **open** PR/MR already exists: **update** the PR body using `gh pr edit --body "..."` (GitHub) or `glab mr update -d "..."` (GitLab). Always regenerate the PR body from scratch using this run's fresh results (test output, coverage audit, review findings, adversarial review, TODOS summary, documentation_section from Step 18). Never reuse stale PR body content from a prior run.
|
|
2223
2224
|
|
|
2224
|
-
**Always update the PR title to start with `v$NEW_VERSION`.** PR titles use the workspace-aware format `v<NEW_VERSION> <type>: <summary
|
|
2225
|
+
**Always update the PR title to start with `v$NEW_VERSION`.** PR titles use the workspace-aware format `v<NEW_VERSION> <type>: <summary>`, version ALWAYS first, no exceptions, no "custom title kept intentionally" escape hatch. The shared helper `bin/gstack-pr-title-rewrite.sh` is the single source of truth for the rule.
|
|
2225
2226
|
|
|
2226
2227
|
1. Read the current title: `CURRENT=$(gh pr view --json title -q .title)` (or `glab mr view -F json | jq -r .title`).
|
|
2227
2228
|
2. Compute the corrected title: `NEW_TITLE=$(~/.claude/skills/gstack/bin/gstack-pr-title-rewrite.sh "$NEW_VERSION" "$CURRENT")`. The helper handles three cases: title already correct (no-op), title has a different `v<X.Y.Z.W>` prefix (replace it), or title has no version prefix (prepend one).
|
|
@@ -2318,9 +2319,9 @@ EOF
|
|
|
2318
2319
|
```
|
|
2319
2320
|
|
|
2320
2321
|
**If neither CLI is available:**
|
|
2321
|
-
Print the branch name, remote URL, and instruct the user to create the PR/MR manually via the web UI. Do not stop
|
|
2322
|
+
Print the branch name, remote URL, and instruct the user to create the PR/MR manually via the web UI. Do not stop, the code is pushed and ready.
|
|
2322
2323
|
|
|
2323
|
-
**Output the PR/MR URL
|
|
2324
|
+
**Output the PR/MR URL**, then proceed to Step 20.
|
|
2324
2325
|
|
|
2325
2326
|
---
|
|
2326
2327
|
|
|
@@ -2346,7 +2347,7 @@ Substitute from earlier steps:
|
|
|
2346
2347
|
- **VERSION**: from the VERSION file
|
|
2347
2348
|
- **BRANCH**: current branch name
|
|
2348
2349
|
|
|
2349
|
-
This step is automatic
|
|
2350
|
+
This step is automatic, never skip it, never ask for confirmation.
|
|
2350
2351
|
|
|
2351
2352
|
---
|
|
2352
2353
|
|
|
@@ -2358,7 +2359,7 @@ This step is automatic — never skip it, never ask for confirmation.
|
|
|
2358
2359
|
- **Never ask for trivial confirmations** (e.g., "ready to push?", "create PR?"). DO stop for: version bumps (MINOR/MAJOR), pre-landing review findings (ASK items), and Codex structured review [P1] findings (large diffs only).
|
|
2359
2360
|
- **Always use the 4-digit version format** from the VERSION file.
|
|
2360
2361
|
- **Date format in CHANGELOG:** `YYYY-MM-DD`
|
|
2361
|
-
- **Split commits for bisectability
|
|
2362
|
+
- **Split commits for bisectability**, each commit = one logical change.
|
|
2362
2363
|
- **TODOS.md completion detection must be conservative.** Only mark items as completed when the diff clearly shows the work is done.
|
|
2363
2364
|
- **Use Greptile reply templates from greptile-triage.md.** Every reply includes evidence (inline diff, code references, re-rank suggestion). Never post vague replies.
|
|
2364
2365
|
- **Never push without fresh verification evidence.** If code changed after Step 5 tests, re-run before pushing.
|