@appsforgood/next-supabase-kit 0.3.0 → 0.4.1
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 +19 -0
- package/README.md +22 -555
- package/UPGRADE.md +18 -73
- package/USER_GUIDE.html +808 -0
- package/USER_GUIDE.md +183 -0
- package/agents/app-engineer/agent.md +34 -0
- package/agents/copy/agent.md +40 -0
- package/agents/design/agent.md +33 -0
- package/agents/optional/deploy/agent.md +18 -0
- package/agents/optional/docs/agent.md +16 -0
- package/agents/optional/lead-architect/agent.md +20 -0
- package/agents/optional/research/agent.md +16 -0
- package/agents/planner/agent.md +37 -0
- package/agents/qa/agent.md +37 -0
- package/agents/security/agent.md +30 -0
- package/assistant-adapters/cursor-agent-kit.mdc +5 -26
- package/catalog.json +21 -0
- package/dist/index.js +931 -8227
- package/dist/index.js.map +1 -1
- package/examples/next-supabase-installed/.agent-kit/config.json +23 -26
- package/examples/next-supabase-installed/.agent-kit/manifest.json +83 -222
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/browser-qa.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/copy.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/frontend.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/plan.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/security.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/ship.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/commands/test.toml +6 -0
- package/examples/next-supabase-installed/.antigravity/agent-kit/plugin.json +12 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/deslop/SKILL.md +62 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/frontend-design/SKILL.md +107 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/product-copy/SKILL.md +54 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/.antigravity/runtime-skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/.claude/agents/app-engineer.md +34 -0
- package/examples/next-supabase-installed/.claude/agents/copy.md +40 -0
- package/examples/next-supabase-installed/.claude/agents/design.md +33 -0
- package/examples/next-supabase-installed/.claude/agents/planner.md +37 -0
- package/examples/next-supabase-installed/.claude/agents/qa.md +37 -0
- package/examples/next-supabase-installed/.claude/agents/security.md +30 -0
- package/examples/next-supabase-installed/.codex/agents/app-engineer.toml +41 -0
- package/examples/next-supabase-installed/.codex/agents/copy.toml +47 -0
- package/examples/next-supabase-installed/.codex/agents/design.toml +40 -0
- package/examples/next-supabase-installed/.codex/agents/planner.toml +44 -0
- package/examples/next-supabase-installed/.codex/agents/qa.toml +44 -0
- package/examples/next-supabase-installed/.codex/agents/security.toml +37 -0
- package/examples/next-supabase-installed/.cursor/agents/app-engineer.md +34 -0
- package/examples/next-supabase-installed/.cursor/agents/copy.md +40 -0
- package/examples/next-supabase-installed/.cursor/agents/design.md +33 -0
- package/examples/next-supabase-installed/.cursor/agents/planner.md +37 -0
- package/examples/next-supabase-installed/.cursor/agents/qa.md +37 -0
- package/examples/next-supabase-installed/.cursor/agents/security.md +30 -0
- package/examples/next-supabase-installed/.cursor/rules/cursor-agent-kit.mdc +12 -0
- package/examples/next-supabase-installed/.cursor/skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/.cursor/skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/.cursor/skills/deslop/SKILL.md +62 -0
- package/examples/next-supabase-installed/.cursor/skills/frontend-design/SKILL.md +107 -0
- package/examples/next-supabase-installed/.cursor/skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/.cursor/skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/.cursor/skills/product-copy/SKILL.md +54 -0
- package/examples/next-supabase-installed/.cursor/skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/.cursor/skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/.cursor/skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/.github/copilot-instructions.md +23 -0
- package/examples/next-supabase-installed/AGENTS.md +30 -0
- package/examples/next-supabase-installed/CLAUDE.md +7 -0
- package/examples/next-supabase-installed/README.md +2 -14
- package/examples/next-supabase-installed/USER_GUIDE.html +808 -0
- package/examples/next-supabase-installed/USER_GUIDE.md +183 -0
- package/examples/next-supabase-installed/skills/accessibility-wcag/SKILL.md +26 -0
- package/examples/next-supabase-installed/skills/browser-qa/SKILL.md +67 -0
- package/examples/next-supabase-installed/skills/deslop/SKILL.md +62 -0
- package/examples/next-supabase-installed/skills/frontend-design/SKILL.md +107 -0
- package/examples/next-supabase-installed/skills/nextjs-app-router/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/owasp-security-review/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/planning/SKILL.md +25 -0
- package/examples/next-supabase-installed/skills/postgres-migrations/SKILL.md +21 -0
- package/examples/next-supabase-installed/skills/product-copy/SKILL.md +54 -0
- package/examples/next-supabase-installed/skills/ship/SKILL.md +22 -0
- package/examples/next-supabase-installed/skills/supabase-auth-rls/SKILL.md +23 -0
- package/examples/next-supabase-installed/skills/testing-qa/SKILL.md +27 -0
- package/examples/next-supabase-installed/tree.txt +60 -42
- package/package.json +20 -46
- package/research/agent-skill-gap-report.md +133 -0
- package/skills/accessibility-wcag/SKILL.md +26 -0
- package/skills/browser-qa/SKILL.md +67 -0
- package/skills/deslop/SKILL.md +62 -0
- package/skills/frontend-design/SKILL.md +107 -0
- package/skills/nextjs-app-router/SKILL.md +23 -0
- package/skills/optional/debug/SKILL.md +11 -0
- package/skills/optional/docs/SKILL.md +10 -0
- package/skills/optional/ui-polish/SKILL.md +10 -0
- package/skills/optional/upgrade/SKILL.md +10 -0
- package/skills/owasp-security-review/SKILL.md +23 -0
- package/skills/planning/SKILL.md +25 -0
- package/skills/postgres-migrations/SKILL.md +21 -0
- package/skills/product-copy/SKILL.md +54 -0
- package/skills/ship/SKILL.md +22 -0
- package/skills/supabase-auth-rls/SKILL.md +23 -0
- package/skills/testing-qa/SKILL.md +27 -0
- package/templates/next-supabase/AGENTS.md +19 -129
- package/templates/next-supabase/CLAUDE.md +4 -36
- package/BEST_PRACTICE_EVIDENCE.md +0 -45
- package/DOGFOOD.md +0 -201
- package/GOVERNANCE.md +0 -45
- package/LOOP_CODING.md +0 -107
- package/MAINTAINER_RELEASE.md +0 -100
- package/REPOSITORY_SETTINGS.md +0 -83
- package/RESEARCH_CITATION_POLICY.md +0 -26
- package/SUPPLY_CHAIN.md +0 -57
- package/agents/deployment-observability-engineer.md +0 -13
- package/agents/docs-maintainer.md +0 -17
- package/agents/frontend-design-lead.md +0 -22
- package/agents/lead-architect.md +0 -25
- package/agents/marketing-copy-lead.md +0 -20
- package/agents/nextjs-engineer.md +0 -20
- package/agents/planner.md +0 -20
- package/agents/qa-engineer.md +0 -19
- package/agents/research-analyst.md +0 -13
- package/agents/security-reviewer.md +0 -16
- package/agents/supabase-postgres-engineer.md +0 -19
- package/antigravity/commands/accessibility-pass.toml +0 -16
- package/antigravity/commands/audit.toml +0 -16
- package/antigravity/commands/browser-qa.toml +0 -18
- package/antigravity/commands/copy.toml +0 -16
- package/antigravity/commands/distinctiveness-pass.toml +0 -16
- package/antigravity/commands/frontend.toml +0 -18
- package/antigravity/commands/handoff.toml +0 -16
- package/antigravity/commands/layout-cleanup.toml +0 -16
- package/antigravity/commands/plan.toml +0 -18
- package/antigravity/commands/responsive-cleanup.toml +0 -16
- package/antigravity/commands/review.toml +0 -16
- package/antigravity/commands/screenshot-critique.toml +0 -16
- package/antigravity/commands/security.toml +0 -16
- package/antigravity/commands/setup.toml +0 -16
- package/antigravity/commands/ship.toml +0 -17
- package/antigravity/commands/spec.toml +0 -17
- package/antigravity/commands/test.toml +0 -17
- package/antigravity/commands/ui-audit.toml +0 -17
- package/antigravity/commands/ui-polish.toml +0 -17
- package/antigravity/commands/upgrade.toml +0 -17
- package/antigravity/plugin.json +0 -70
- package/assistant-adapters/antigravity.md +0 -65
- package/assistant-adapters/claude-code-subagents.md +0 -38
- package/assistant-adapters/codex-agents.md +0 -53
- package/assistant-adapters/cursor-frontend.mdc +0 -16
- package/assistant-adapters/cursor-planner.mdc +0 -14
- package/assistant-adapters/cursor-security.mdc +0 -18
- package/assistant-adapters/github-copilot-instructions.md +0 -35
- package/assistant-adapters/github-next-supabase.instructions.md +0 -28
- package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +0 -32
- package/assistant-adapters/model-selection/codex-config.example.toml +0 -32
- package/assistant-adapters/model-selection/cursor-model-selection.mdc +0 -24
- package/assistant-adapters/model-selection/github-copilot-model-selection.md +0 -20
- package/assistant-adapters/orchestrator-runtime.md +0 -39
- package/checklists/accessibility.md +0 -12
- package/checklists/agent-council.md +0 -13
- package/checklists/brand-content.md +0 -15
- package/checklists/deployment.md +0 -10
- package/checklists/design-critique.md +0 -13
- package/checklists/frontend-distinctiveness.md +0 -12
- package/checklists/frontend-product-quality.md +0 -13
- package/checklists/frontend-quality.md +0 -21
- package/checklists/marketing-copy.md +0 -11
- package/checklists/owasp.md +0 -12
- package/checklists/rls.md +0 -10
- package/checklists/testing.md +0 -12
- package/checklists/ui-acceptance-rubric.md +0 -58
- package/checklists/ui-detectors.md +0 -81
- package/checklists/upgrade.md +0 -13
- package/checklists/visual-regression.md +0 -11
- package/design-adapters/claude-design.prompt.md +0 -27
- package/design-adapters/figma.prompt.md +0 -18
- package/design-adapters/google-stitch.prompt.md +0 -36
- package/design-adapters/human-designer-brief.prompt.md +0 -36
- package/design-briefs/admin-dashboard.md +0 -21
- package/design-briefs/ai-workflow-product.md +0 -25
- package/design-briefs/community-social.md +0 -26
- package/design-briefs/content-app.md +0 -21
- package/design-briefs/ecommerce.md +0 -25
- package/design-briefs/education-course.md +0 -25
- package/design-briefs/marketplace.md +0 -21
- package/design-briefs/portfolio-venue.md +0 -25
- package/design-briefs/saas.md +0 -21
- package/design-briefs/tool.md +0 -21
- package/examples/next-supabase-installed/.agent-kit/agent-roster.json +0 -267
- package/examples/next-supabase-installed/.agent-kit/model-routing.json +0 -171
- package/examples/next-supabase-installed/.agent-kit/overrides.json +0 -3
- package/examples/next-supabase-installed/audit-output.json +0 -405
- package/model-routing/default-model-routing.json +0 -171
- package/profiles/admin-app.md +0 -17
- package/profiles/content-app.md +0 -17
- package/profiles/marketplace.md +0 -17
- package/profiles/saas.md +0 -17
- package/profiles/stack-next-firebase.md +0 -25
- package/profiles/stack-next-postgres.md +0 -24
- package/profiles/stack-remix-supabase.md +0 -24
- package/prompts/audit-project-setup.md +0 -28
- package/prompts/brand-content-intake.md +0 -17
- package/prompts/copy-review.md +0 -15
- package/prompts/council-session-review.md +0 -17
- package/prompts/creative-direction-matrix.md +0 -22
- package/prompts/design-critique-gate.md +0 -28
- package/prompts/docs-update.md +0 -16
- package/prompts/frontend-design-review.md +0 -35
- package/prompts/frontend-distinctiveness-benchmark.md +0 -32
- package/prompts/frontend-product-quality-scorecard.md +0 -35
- package/prompts/implement-feature.md +0 -14
- package/prompts/lifecycle-command-index.md +0 -180
- package/prompts/migration-review.md +0 -14
- package/prompts/screenshot-review.md +0 -28
- package/prompts/security-review.md +0 -17
- package/prompts/ui-command-index.md +0 -124
- package/prompts/upgrade-review.md +0 -18
- package/prompts/visual-qa-plan.md +0 -16
- package/research/proposed-updates.md +0 -70
- package/research/scan-config.json +0 -261
- package/research/scan-plan.md +0 -24
- package/research/summaries/.gitkeep +0 -1
- package/research/summaries/agent-workflow-patterns.md +0 -37
- package/research/summaries/agentic-engineering-maturity-levels.md +0 -54
- package/research/summaries/creative-design-patterns.md +0 -38
- package/research/summaries/design-critique-patterns.md +0 -34
- package/research/summaries/docs-and-agent-patterns.md +0 -64
- package/research/summaries/dogfood-adoption-patterns.md +0 -33
- package/research/summaries/frontend-design-patterns.md +0 -64
- package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +0 -38
- package/research/summaries/frontend-product-quality-rubric-patterns.md +0 -37
- package/research/summaries/maturity-model-patterns.md +0 -29
- package/research/summaries/nextjs-patterns.md +0 -65
- package/research/summaries/repo-health-patterns.md +0 -41
- package/research/summaries/scan-overview.md +0 -46
- package/research/summaries/security-patterns.md +0 -64
- package/research/summaries/supabase-rls-patterns.md +0 -54
- package/research/summaries/supply-chain-patterns.md +0 -38
- package/research/summaries/testing-patterns.md +0 -63
- package/research/summaries/upgrade-lifecycle-patterns.md +0 -26
- package/research/summaries/visual-qa-patterns.md +0 -39
- package/rosters/next-supabase-default-council.json +0 -267
- package/runtime-skills/README.md +0 -7
- package/runtime-skills/accessibility-wcag/SKILL.md +0 -8
- package/runtime-skills/agent-handoff-tracing/SKILL.md +0 -8
- package/runtime-skills/best-practice-maturity-review/SKILL.md +0 -8
- package/runtime-skills/content-first-design/SKILL.md +0 -8
- package/runtime-skills/conversion-copywriting/SKILL.md +0 -8
- package/runtime-skills/deployment-observability/SKILL.md +0 -8
- package/runtime-skills/docs-maintainer/SKILL.md +0 -8
- package/runtime-skills/frontend-design-system/SKILL.md +0 -8
- package/runtime-skills/frontend-distinctiveness-benchmark/SKILL.md +0 -8
- package/runtime-skills/frontend-product-quality-rubric/SKILL.md +0 -8
- package/runtime-skills/landing-page-copy/SKILL.md +0 -8
- package/runtime-skills/nextjs-app-router/SKILL.md +0 -8
- package/runtime-skills/onboarding-empty-state-copy/SKILL.md +0 -8
- package/runtime-skills/owasp-security-review/SKILL.md +0 -8
- package/runtime-skills/planning-council/SKILL.md +0 -8
- package/runtime-skills/positioning-messaging/SKILL.md +0 -8
- package/runtime-skills/postgres-migrations/SKILL.md +0 -8
- package/runtime-skills/product-voice-tone/SKILL.md +0 -8
- package/runtime-skills/reference-led-design-critique/SKILL.md +0 -8
- package/runtime-skills/supabase-auth-rls/SKILL.md +0 -8
- package/runtime-skills/testing-qa/SKILL.md +0 -8
- package/runtime-skills/ui-improvement-harness/SKILL.md +0 -12
- package/runtime-skills/upgrade-maintenance/SKILL.md +0 -8
- package/runtime-skills/visual-regression-qa/SKILL.md +0 -8
- package/schemas/agent-roster.schema.json +0 -54
- package/schemas/agentic-level.schema.json +0 -47
- package/schemas/audit-report-v2.schema.json +0 -71
- package/schemas/audit-report.schema.json +0 -50
- package/schemas/correction-rules.schema.json +0 -32
- package/schemas/council-session.schema.json +0 -65
- package/schemas/model-routing.schema.json +0 -72
- package/schemas/onboarding-state.schema.json +0 -36
- package/schemas/orchestrator.schema.json +0 -167
- package/schemas/project-context.schema.json +0 -94
- package/schemas/runtime-event.schema.json +0 -66
- package/schemas/runtime-run.schema.json +0 -58
- package/schemas/session-event.schema.json +0 -48
- package/schemas/studio-session.schema.json +0 -48
- package/skills/accessibility-wcag.md +0 -15
- package/skills/agent-handoff-tracing.md +0 -44
- package/skills/best-practice-maturity-review.md +0 -26
- package/skills/content-first-design.md +0 -50
- package/skills/conversion-copywriting.md +0 -38
- package/skills/deployment-observability.md +0 -14
- package/skills/docs-maintainer.md +0 -19
- package/skills/frontend-design-system.md +0 -68
- package/skills/frontend-distinctiveness-benchmark.md +0 -40
- package/skills/frontend-product-quality-rubric.md +0 -59
- package/skills/landing-page-copy.md +0 -29
- package/skills/nextjs-app-router.md +0 -18
- package/skills/onboarding-empty-state-copy.md +0 -37
- package/skills/owasp-security-review.md +0 -19
- package/skills/planning-council.md +0 -21
- package/skills/positioning-messaging.md +0 -42
- package/skills/postgres-migrations.md +0 -14
- package/skills/product-voice-tone.md +0 -35
- package/skills/reference-led-design-critique.md +0 -48
- package/skills/supabase-auth-rls.md +0 -20
- package/skills/testing-qa.md +0 -15
- package/skills/ui-improvement-harness.md +0 -96
- package/skills/upgrade-maintenance.md +0 -32
- package/skills/visual-regression-qa.md +0 -42
- package/templates/next-supabase/.agent-kit/orchestrator.json +0 -48
- package/templates/next-supabase/.agent-kit/runtime/gitignore.template +0 -2
- package/templates/next-supabase/.github/workflows/agent-kit-audit.yml +0 -34
- package/templates/next-supabase/AGENT_ROSTER.md +0 -101
- package/templates/next-supabase/ASSISTANT_ADAPTERS.md +0 -146
- package/templates/next-supabase/COUNCIL.md +0 -54
- package/templates/next-supabase/DECISIONS.md +0 -87
- package/templates/next-supabase/DEPLOYMENT.md +0 -51
- package/templates/next-supabase/DESIGN.md +0 -180
- package/templates/next-supabase/DOCS.md +0 -80
- package/templates/next-supabase/LOOP_CODING.md +0 -98
- package/templates/next-supabase/MESSAGING.md +0 -81
- package/templates/next-supabase/MODEL_ROUTING.md +0 -130
- package/templates/next-supabase/QUALITY_GATES.md +0 -98
- package/templates/next-supabase/SKILLS.md +0 -235
- package/templates/next-supabase/SPEC.md +0 -122
- package/templates/next-supabase/STYLE_GUIDE.md +0 -121
- package/templates/next-supabase/TESTING.md +0 -107
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Stack Profile: Next.js And Postgres
|
|
2
|
-
|
|
3
|
-
Use this profile when adapting the kit to projects using Next.js with direct Postgres access through an ORM, query builder, or server-only database client.
|
|
4
|
-
|
|
5
|
-
## Replace Supabase-Specific Checks
|
|
6
|
-
|
|
7
|
-
- Replace Supabase RLS review with explicit application authorization, database constraints, and optional Postgres RLS.
|
|
8
|
-
- Replace Supabase Auth guidance with the project's auth provider and session verification model.
|
|
9
|
-
- Keep migration, schema, index, transaction, OWASP, accessibility, testing, deployment, and living-docs requirements.
|
|
10
|
-
|
|
11
|
-
## Required Evidence
|
|
12
|
-
|
|
13
|
-
- Server-only database access is enforced.
|
|
14
|
-
- User and tenant ownership checks are centralized and tested.
|
|
15
|
-
- Migrations are ordered, reversible where practical, and covered by rollback notes.
|
|
16
|
-
- Constraints and indexes protect integrity and expected access patterns.
|
|
17
|
-
- Integration tests cover auth, ownership, mutations, and failed authorization.
|
|
18
|
-
|
|
19
|
-
## Agent Handoff
|
|
20
|
-
|
|
21
|
-
- Architect owns domain model, tenancy, and service boundaries.
|
|
22
|
-
- Database engineer owns migrations, constraints, indexes, transactions, and query performance.
|
|
23
|
-
- Security reviewer owns IDOR, injection, auth/session checks, secrets, and dependency exposure.
|
|
24
|
-
- Frontend design lead owns task-first UX, states, accessibility, and screenshot review.
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Stack Profile: Remix And Supabase
|
|
2
|
-
|
|
3
|
-
Use this profile when adapting the kit to Remix projects using Supabase Auth, Postgres, Storage, Realtime, or Edge Functions.
|
|
4
|
-
|
|
5
|
-
## Replace Next.js-Specific Checks
|
|
6
|
-
|
|
7
|
-
- Replace App Router checks with Remix loader, action, route module, error boundary, and nested route checks.
|
|
8
|
-
- Keep Supabase Auth, RLS, service-role isolation, Postgres migrations, OWASP, accessibility, testing, deployment, and living-docs requirements.
|
|
9
|
-
- Treat loaders and actions as the main auth, validation, and mutation boundaries.
|
|
10
|
-
|
|
11
|
-
## Required Evidence
|
|
12
|
-
|
|
13
|
-
- Loaders and actions validate input, verify session state, and return safe errors.
|
|
14
|
-
- Supabase clients preserve request auth context.
|
|
15
|
-
- RLS protects user-owned and tenant-owned tables.
|
|
16
|
-
- Service-role access is isolated to trusted server modules.
|
|
17
|
-
- Route-level error boundaries cover loading, empty, failure, and permission-denied states.
|
|
18
|
-
|
|
19
|
-
## Agent Handoff
|
|
20
|
-
|
|
21
|
-
- Architect owns route/data boundaries and auth flow.
|
|
22
|
-
- Remix engineer owns loaders, actions, nested routes, and error boundaries.
|
|
23
|
-
- Supabase/Postgres engineer owns RLS, migrations, storage policies, and service-role access.
|
|
24
|
-
- Security reviewer owns IDOR, SSRF, injection, secrets, and dependency exposure.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Audit Project Setup Prompt
|
|
2
|
-
|
|
3
|
-
Audit this project's agents, skills, and markdown documentation for a best-practice Next.js + Supabase setup.
|
|
4
|
-
|
|
5
|
-
Evaluate:
|
|
6
|
-
|
|
7
|
-
- Agent roles and handoffs
|
|
8
|
-
- `.agent-kit/agent-roster.json` default council routing
|
|
9
|
-
- `.agent-kit/schemas/` roster and council-session contracts
|
|
10
|
-
- `COUNCIL.md` decision, risk, next-handoff, evidence, and verification records
|
|
11
|
-
- `QUALITY_GATES.md` baseline, strong, best-practice, and evidence model
|
|
12
|
-
- `agent-kit audit --min-readiness <level>` threshold appropriate for the project maturity
|
|
13
|
-
- Planner default planning workflow and Lead Architect core-change council workflow
|
|
14
|
-
- Reusable skills
|
|
15
|
-
- Supabase Auth, SSR, RLS, migrations, Storage, and service-role safety
|
|
16
|
-
- Next.js App Router architecture
|
|
17
|
-
- OWASP Top 10 coverage
|
|
18
|
-
- WCAG 2.1 AA frontend standards
|
|
19
|
-
- Testing, deployment, observability, and living docs
|
|
20
|
-
|
|
21
|
-
Output:
|
|
22
|
-
|
|
23
|
-
1. Verdict and readiness level: `needs-setup`, `baseline-setup`, `needs-improvement`, or `best-practice-candidate`.
|
|
24
|
-
2. Strengths.
|
|
25
|
-
3. Gaps and risks.
|
|
26
|
-
4. Phased improvement plan.
|
|
27
|
-
5. Markdown files to create or update.
|
|
28
|
-
6. Implementation notes if changes are needed.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Brand And Content Intake Prompt
|
|
2
|
-
|
|
3
|
-
Use before designing or changing a user-facing surface.
|
|
4
|
-
|
|
5
|
-
Ask for or infer the smallest useful set of inputs needed to avoid generic UI.
|
|
6
|
-
|
|
7
|
-
Return:
|
|
8
|
-
|
|
9
|
-
1. Product category and primary audience.
|
|
10
|
-
2. User needs in the user's language.
|
|
11
|
-
3. Real content inventory: nouns, labels, data fields, records, assets, examples, and domain terms.
|
|
12
|
-
4. Brand personality and visual constraints.
|
|
13
|
-
5. Category references to learn from and patterns to avoid.
|
|
14
|
-
6. First-screen task, object, or workflow that must be visible.
|
|
15
|
-
7. Missing inputs that block high-quality design.
|
|
16
|
-
|
|
17
|
-
Do not write vague value propositions. Use concrete domain language from the product.
|
package/prompts/copy-review.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Copy Review Prompt
|
|
2
|
-
|
|
3
|
-
Use this before accepting marketing, landing-page, onboarding, pricing, CTA, or product voice changes.
|
|
4
|
-
|
|
5
|
-
Review the copy against `MESSAGING.md`, `DESIGN.md`, and the current implementation.
|
|
6
|
-
|
|
7
|
-
Report:
|
|
8
|
-
|
|
9
|
-
- Missing discovery answers: audience, pain, outcome, alternatives, differentiator, proof, objections, voice, and conversion goal.
|
|
10
|
-
- Positioning statement and whether it is specific enough.
|
|
11
|
-
- Unsupported claims, invented proof, vague SaaS language, or risky wording.
|
|
12
|
-
- Headline, subhead, CTA, proof, and objection-handling alignment.
|
|
13
|
-
- Onboarding, empty-state, error, permission, or upgrade copy that lacks a useful next step.
|
|
14
|
-
- Voice/tone consistency and terminology conflicts.
|
|
15
|
-
- Required changes before Frontend Design Lead or QA acceptance.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Council Session Review Prompt
|
|
2
|
-
|
|
3
|
-
Use before completing meaningful planning, core-change, frontend-change, security-review, release, or research work.
|
|
4
|
-
|
|
5
|
-
Review the current work against `.agent-kit/agent-roster.json`, `AGENT_ROSTER.md`, `COUNCIL.md`, and any `.agent-kit/council-sessions/*.json` records.
|
|
6
|
-
|
|
7
|
-
Return:
|
|
8
|
-
|
|
9
|
-
1. Selected workflow and why it applies.
|
|
10
|
-
2. Required agents and whether each participated.
|
|
11
|
-
3. Required outputs and whether each is missing, partial, complete, or not applicable.
|
|
12
|
-
4. Handoff trail: agent, decision, risk, next handoff, and evidence.
|
|
13
|
-
5. Verification evidence: commands, reviews, screenshots, visual diffs, or documented gaps.
|
|
14
|
-
6. Blockers that prevent the session from being marked complete.
|
|
15
|
-
|
|
16
|
-
Do not accept a handoff that lacks decision, risk, next owner, or evidence.
|
|
17
|
-
Run `agent-kit audit` after adding or changing structured council-session JSON records.
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# Creative Direction Matrix Prompt
|
|
2
|
-
|
|
3
|
-
Use after brand/content intake and before implementation.
|
|
4
|
-
|
|
5
|
-
Create 2-3 distinct directions for the same product. Each direction must be meaningfully different in layout, density, typography, imagery, color behavior, and interaction tone.
|
|
6
|
-
|
|
7
|
-
For each direction, return:
|
|
8
|
-
|
|
9
|
-
- Name.
|
|
10
|
-
- Best-fit audience and use case.
|
|
11
|
-
- First-screen composition.
|
|
12
|
-
- Token direction: color, type, spacing, radius, motion, depth.
|
|
13
|
-
- Imagery or asset strategy.
|
|
14
|
-
- Component/state implications.
|
|
15
|
-
- Risks and what could make it look generic.
|
|
16
|
-
- Reference and anti-reference fit, including what must not be copied.
|
|
17
|
-
|
|
18
|
-
Then choose one direction and explain:
|
|
19
|
-
|
|
20
|
-
- Why it fits the product content and user need.
|
|
21
|
-
- Why rejected directions are weaker.
|
|
22
|
-
- What screenshot evidence must prove after implementation.
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Design Critique Gate Prompt
|
|
2
|
-
|
|
3
|
-
Use after creative direction is chosen and before accepting implementation.
|
|
4
|
-
|
|
5
|
-
Inputs:
|
|
6
|
-
|
|
7
|
-
- `DESIGN.md`
|
|
8
|
-
- Selected creative direction
|
|
9
|
-
- Reference set and anti-references
|
|
10
|
-
- Desktop and mobile screenshots or preview links
|
|
11
|
-
- Primary workflow and real content/data examples
|
|
12
|
-
- Accessibility and visual QA evidence
|
|
13
|
-
- Frontend product-quality scorecard, if already drafted
|
|
14
|
-
|
|
15
|
-
Return:
|
|
16
|
-
|
|
17
|
-
- Reference-set summary: what each reference teaches and what must not be copied.
|
|
18
|
-
- Anti-reference summary: patterns, palettes, layouts, copy, or interaction choices to avoid.
|
|
19
|
-
- First-screen critique: whether the actual product, object, task, workflow, or content is immediately visible.
|
|
20
|
-
- Distinctiveness verdict: `weak`, `adequate`, or `strong`.
|
|
21
|
-
- Product-quality scorecard: user/task fit, content specificity, visual identity, information architecture, component states, accessibility and interaction, source safety, and total score.
|
|
22
|
-
- AI-slop risks: generic gradients, vague SaaS copy, card soup, fake metrics, stock-like imagery, one-note palette, or placeholder content.
|
|
23
|
-
- UX risks: unclear primary action, weak information hierarchy, poor density, missing states, or mobile compromise.
|
|
24
|
-
- Accessibility risks: semantic structure, keyboard path, focus, contrast, motion, labels, and error feedback.
|
|
25
|
-
- Required changes before acceptance.
|
|
26
|
-
- Evidence still missing before release.
|
|
27
|
-
|
|
28
|
-
Reject the UI if it could be swapped into another product in the same category without changing the content.
|
package/prompts/docs-update.md
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
# Docs Update Prompt
|
|
2
|
-
|
|
3
|
-
Update living docs after this change.
|
|
4
|
-
|
|
5
|
-
Check:
|
|
6
|
-
|
|
7
|
-
- `SPEC.md` for functional and technical behavior
|
|
8
|
-
- `DECISIONS.md` for important tradeoffs
|
|
9
|
-
- `DOCS.md` for setup, workflows, and integrations
|
|
10
|
-
- `COUNCIL.md` for meaningful handoffs, required outputs, evidence, and verification status
|
|
11
|
-
- `QUALITY_GATES.md` for maturity target and evidence expectations
|
|
12
|
-
- `DESIGN.md` for brand/content, creative direction, and visual-system implications
|
|
13
|
-
- `STYLE_GUIDE.md` for code and design patterns
|
|
14
|
-
- `SECURITY.md` for auth/data boundaries
|
|
15
|
-
- `TESTING.md` for coverage and gaps
|
|
16
|
-
- `DEPLOYMENT.md` for release implications
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Frontend Design Review Prompt
|
|
2
|
-
|
|
3
|
-
Review this UI for product-specific quality and accessibility.
|
|
4
|
-
|
|
5
|
-
Reject:
|
|
6
|
-
|
|
7
|
-
- Missing brand/content intake or `DESIGN.md` context
|
|
8
|
-
- Missing creative-direction rationale
|
|
9
|
-
- Missing frontend product-quality scorecard
|
|
10
|
-
- Missing visual QA or component-state evidence
|
|
11
|
-
- Generic AI-site gradients
|
|
12
|
-
- Accent-border cards, glow rails, neon strokes, gradient borders, oversized glass panels, or ornamental icon walls
|
|
13
|
-
- Vague SaaS copy
|
|
14
|
-
- Fake metrics
|
|
15
|
-
- Decorative credibility badges or unsupported proof
|
|
16
|
-
- Card soup
|
|
17
|
-
- Filler sections that replace the requested app or tool workflow
|
|
18
|
-
- Color-only alerts, low-contrast tints, or vague status panels
|
|
19
|
-
- Missing mobile states
|
|
20
|
-
- Missing loading, empty, error, disabled, or success states
|
|
21
|
-
|
|
22
|
-
Recommend:
|
|
23
|
-
|
|
24
|
-
- Content-first inputs that must be filled before implementation is accepted
|
|
25
|
-
- Which creative direction should be selected or explored next
|
|
26
|
-
- Product-quality scorecard with critical zeroes and total score
|
|
27
|
-
- Which visual QA tier is appropriate for the change
|
|
28
|
-
- Task-first layout
|
|
29
|
-
- Domain-specific hierarchy
|
|
30
|
-
- Restrained 1px full-border surfaces, subtle background tint when needed, clear labels, icons, and semantic state text
|
|
31
|
-
- Concrete product nouns, user actions, constraints, real proof, and honest empty or connected-data states
|
|
32
|
-
- Design tokens
|
|
33
|
-
- Accessible forms and controls
|
|
34
|
-
- WCAG 2.1 AA behavior
|
|
35
|
-
- Stronger visual direction where needed
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# Frontend Distinctiveness Benchmark Prompt
|
|
2
|
-
|
|
3
|
-
Use before accepting significant frontend work.
|
|
4
|
-
|
|
5
|
-
Inputs:
|
|
6
|
-
|
|
7
|
-
- `DESIGN.md`
|
|
8
|
-
- Current screen, screenshots, preview URL, or implementation notes
|
|
9
|
-
- Product category, audience, user needs, content inventory, and primary workflow
|
|
10
|
-
- Reference set, anti-references, and source-safety notes
|
|
11
|
-
- Asset list and provenance notes
|
|
12
|
-
- Product-quality scorecard and visual QA evidence
|
|
13
|
-
|
|
14
|
-
Review:
|
|
15
|
-
|
|
16
|
-
- Does the first viewport prove what this product is and what the user does here?
|
|
17
|
-
- Which product nouns, data shapes, records, actions, and edge cases are visible?
|
|
18
|
-
- Which reference lessons were applied without copying source design, copy, assets, or brand identity?
|
|
19
|
-
- Which anti-references were avoided?
|
|
20
|
-
- Do assets have clear source, generation, license, or placeholder constraints?
|
|
21
|
-
- Which loading, empty, error, disabled, success, permission, and focus states still need proof?
|
|
22
|
-
- Would this screen still look valid for another product in the same category after only changing the logo or headline?
|
|
23
|
-
|
|
24
|
-
Return:
|
|
25
|
-
|
|
26
|
-
- Verdict: `reject`, `adequate`, or `distinctive`.
|
|
27
|
-
- First-screen proof: missing, adequate, or strong.
|
|
28
|
-
- Content fingerprint: missing, adequate, or strong.
|
|
29
|
-
- Reference benchmark: missing, adequate, or strong.
|
|
30
|
-
- Asset/source-safety risks.
|
|
31
|
-
- Generic-AI-site risk.
|
|
32
|
-
- Required changes before acceptance.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Frontend Product Quality Scorecard Prompt
|
|
2
|
-
|
|
3
|
-
Use before accepting significant frontend work.
|
|
4
|
-
|
|
5
|
-
Inputs:
|
|
6
|
-
|
|
7
|
-
- `DESIGN.md`
|
|
8
|
-
- Selected creative direction
|
|
9
|
-
- Reference set, anti-references, and source-safety notes
|
|
10
|
-
- Desktop and mobile screenshots or preview links
|
|
11
|
-
- Primary workflow and real content/data examples
|
|
12
|
-
- Component states, accessibility evidence, and visual QA tier
|
|
13
|
-
- Frontend distinctiveness benchmark verdict
|
|
14
|
-
|
|
15
|
-
Score each dimension from `0` to `2`:
|
|
16
|
-
|
|
17
|
-
- User/task fit
|
|
18
|
-
- Content specificity
|
|
19
|
-
- Visual identity
|
|
20
|
-
- Information architecture
|
|
21
|
-
- Component states
|
|
22
|
-
- Accessibility and interaction
|
|
23
|
-
- Source safety
|
|
24
|
-
|
|
25
|
-
Return:
|
|
26
|
-
|
|
27
|
-
- Score table with one sentence of evidence per dimension.
|
|
28
|
-
- Total score out of `14`.
|
|
29
|
-
- Critical zeroes.
|
|
30
|
-
- Verdict: `reject`, `adequate`, or `strong`.
|
|
31
|
-
- Required changes before acceptance.
|
|
32
|
-
- Evidence still missing before release.
|
|
33
|
-
- Whether distinctiveness benchmark evidence is strong enough for a best-practice frontend claim.
|
|
34
|
-
|
|
35
|
-
Reject when any critical dimension has a zero, total score is below `10`, or the first screen could be reused for another product in the same category without changing meaningful content.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Implement Feature Prompt
|
|
2
|
-
|
|
3
|
-
Implement the requested feature using this workflow:
|
|
4
|
-
|
|
5
|
-
1. Confirm preserved behavior and affected layers.
|
|
6
|
-
2. Select the matching workflow from `.agent-kit/agent-roster.json` and record meaningful council-session evidence in `COUNCIL.md`.
|
|
7
|
-
3. Update Supabase schema/RLS first if data boundaries change.
|
|
8
|
-
4. Implement Next.js behavior with explicit server/client boundaries.
|
|
9
|
-
5. Apply frontend design and accessibility review.
|
|
10
|
-
6. Run OWASP security review.
|
|
11
|
-
7. Add tests proportional to risk.
|
|
12
|
-
8. Update living docs.
|
|
13
|
-
|
|
14
|
-
Return key changes, preserved capabilities, council handoffs, tests run, docs updated, and follow-up tasks.
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
# Lifecycle Command Index
|
|
2
|
-
|
|
3
|
-
Use this index for delivery lifecycle slash commands. These are command-like prompts for any assistant surface and the source of truth for native Antigravity runtime commands.
|
|
4
|
-
|
|
5
|
-
For UI-only workflows, see `.agent-kit/prompts/ui-command-index.md`.
|
|
6
|
-
|
|
7
|
-
Canonical sources:
|
|
8
|
-
|
|
9
|
-
- `AGENTS.md`
|
|
10
|
-
- `AGENT_ROSTER.md`
|
|
11
|
-
- `.agent-kit/agent-roster.json`
|
|
12
|
-
- `MODEL_ROUTING.md`
|
|
13
|
-
- `.agent-kit/model-routing.json`
|
|
14
|
-
- `SPEC.md`
|
|
15
|
-
- `QUALITY_GATES.md`
|
|
16
|
-
- `TESTING.md`
|
|
17
|
-
- `SECURITY.md`
|
|
18
|
-
- `COUNCIL.md`
|
|
19
|
-
- `.agent-kit/council-sessions/`
|
|
20
|
-
|
|
21
|
-
## `/setup`
|
|
22
|
-
|
|
23
|
-
Onboard project context through Agent Office and project-context files.
|
|
24
|
-
|
|
25
|
-
Required steps:
|
|
26
|
-
|
|
27
|
-
1. Run or resume `agent-kit setup --open` when the CLI is available.
|
|
28
|
-
2. Load `.agent-kit/project-context.json`, `.agent-kit/project-context.md`, and active correction rules.
|
|
29
|
-
3. Confirm stack, auth model, deployment target, and maturity target from `QUALITY_GATES.md`.
|
|
30
|
-
4. Record gaps as follow-up context questions or correction rules.
|
|
31
|
-
|
|
32
|
-
Required outputs: context summary, unanswered questions, maturity target, next recommended command.
|
|
33
|
-
|
|
34
|
-
## `/spec`
|
|
35
|
-
|
|
36
|
-
Define what to build in `SPEC.md` before implementation.
|
|
37
|
-
|
|
38
|
-
Required steps:
|
|
39
|
-
|
|
40
|
-
1. Route through Planner and Documentation Maintainer.
|
|
41
|
-
2. Read project context, corrections, and existing `SPEC.md`.
|
|
42
|
-
3. Capture goal, user/workflow, acceptance criteria, preserved behavior, non-goals, and docs impact.
|
|
43
|
-
4. Name affected layers: data, business logic, presentation, auth, deployment, tests.
|
|
44
|
-
5. Record decision and handoff with `agent-kit session ...` when a session is active.
|
|
45
|
-
|
|
46
|
-
Required outputs: spec delta or draft, acceptance criteria, preserved capabilities, non-goals, verification plan, next handoff.
|
|
47
|
-
|
|
48
|
-
## `/plan`
|
|
49
|
-
|
|
50
|
-
Create an implementation-ready plan through Planner and Lead Architect routing.
|
|
51
|
-
|
|
52
|
-
Required steps:
|
|
53
|
-
|
|
54
|
-
1. Start with Planner.
|
|
55
|
-
2. Name the active workflow and maturity target from `QUALITY_GATES.md`.
|
|
56
|
-
3. Map affected layers and preserved behavior.
|
|
57
|
-
4. Route core changes through Lead Architect before implementation.
|
|
58
|
-
5. Record decision, risk, next handoff, and required outputs with `agent-kit session ...` when available.
|
|
59
|
-
|
|
60
|
-
Required outputs: goal, affected layers, preserved capabilities, implementation sequence, risks, tests, docs, handoffs, acceptance criteria.
|
|
61
|
-
|
|
62
|
-
## `/handoff`
|
|
63
|
-
|
|
64
|
-
Route work explicitly between council agents with recorded evidence.
|
|
65
|
-
|
|
66
|
-
Required steps:
|
|
67
|
-
|
|
68
|
-
1. Read `.agent-kit/agent-roster.json` and select the active workflow.
|
|
69
|
-
2. State decision, risk, and required next agent from the roster sequence.
|
|
70
|
-
3. Mark required outputs as missing, partial, complete, or not applicable.
|
|
71
|
-
4. Record the handoff with `agent-kit session handoff` when the CLI is available.
|
|
72
|
-
|
|
73
|
-
Required outputs: from-agent, to-agent, decision, risk, required outputs status, evidence path.
|
|
74
|
-
|
|
75
|
-
## `/frontend`
|
|
76
|
-
|
|
77
|
-
Run the frontend-change workflow with content-first design gates.
|
|
78
|
-
|
|
79
|
-
Required steps:
|
|
80
|
-
|
|
81
|
-
1. Complete brand/content intake and creative-direction rationale.
|
|
82
|
-
2. Load the matching design brief and `DESIGN.md` / `MESSAGING.md` when public-facing.
|
|
83
|
-
3. Require reference-set evidence, distinctiveness benchmark, and product-quality scorecard for significant UI work.
|
|
84
|
-
4. Route implementation through Next.js Engineer after design acceptance.
|
|
85
|
-
5. Use UI commands from `.agent-kit/prompts/ui-command-index.md` when polishing or auditing.
|
|
86
|
-
|
|
87
|
-
Required outputs: creative direction, reference evidence, scorecard, UI rationale, visual QA plan, handoffs.
|
|
88
|
-
|
|
89
|
-
## `/audit`
|
|
90
|
-
|
|
91
|
-
Run the Agent Kit maturity audit and convert findings into follow-up work.
|
|
92
|
-
|
|
93
|
-
Required steps:
|
|
94
|
-
|
|
95
|
-
1. Run `agent-kit audit --json` when the CLI is available.
|
|
96
|
-
2. Classify failures before warnings.
|
|
97
|
-
3. Map each finding to the responsible council role.
|
|
98
|
-
4. Record remediation tasks with `agent-kit session output` when a session is active.
|
|
99
|
-
|
|
100
|
-
Required outputs: readiness level, failures, warnings, owner/council role, remediation order, verification command.
|
|
101
|
-
|
|
102
|
-
## `/test`
|
|
103
|
-
|
|
104
|
-
Add or run tests and produce acceptance evidence.
|
|
105
|
-
|
|
106
|
-
Required steps:
|
|
107
|
-
|
|
108
|
-
1. Route through QA Engineer.
|
|
109
|
-
2. Read `TESTING.md` and the maturity target from `QUALITY_GATES.md`.
|
|
110
|
-
3. Name unit, regression, smoke, and visual QA gaps for the change scope.
|
|
111
|
-
4. Run project test commands and capture results.
|
|
112
|
-
5. Record verification with `agent-kit session verify` when a session is active.
|
|
113
|
-
|
|
114
|
-
Required outputs: test plan, commands run, pass/fail summary, coverage gaps, skipped-test rationale.
|
|
115
|
-
|
|
116
|
-
## `/review`
|
|
117
|
-
|
|
118
|
-
Run pre-merge code health review before `/ship`.
|
|
119
|
-
|
|
120
|
-
Required steps:
|
|
121
|
-
|
|
122
|
-
1. Route through QA Engineer for behavior, regression, and test evidence.
|
|
123
|
-
2. Include Security Reviewer when auth, RLS, data mutation, dependency, secret, or external-call boundaries changed.
|
|
124
|
-
3. Return findings by severity with concrete remediation.
|
|
125
|
-
4. Distinguish this from release GO/NO-GO, which belongs to `/ship`.
|
|
126
|
-
|
|
127
|
-
Required outputs: reviewed scope, findings by severity, required fixes, security notes when applicable, merge recommendation.
|
|
128
|
-
|
|
129
|
-
## `/security`
|
|
130
|
-
|
|
131
|
-
Run OWASP, auth, RLS, dependency, secret, and external-call review.
|
|
132
|
-
|
|
133
|
-
Required steps:
|
|
134
|
-
|
|
135
|
-
1. Route through Security Reviewer.
|
|
136
|
-
2. Check OWASP Top 10, IDOR, SSRF, injection, broken auth, unsafe output rendering, secret leakage, and vulnerable dependencies.
|
|
137
|
-
3. Verify service-role access stays server-only.
|
|
138
|
-
4. Record findings with severity, exploit path, affected behavior, and remediation.
|
|
139
|
-
|
|
140
|
-
Required outputs: reviewed boundaries, findings, severity, exploit path, mitigation, negative authorization tests or skipped rationale.
|
|
141
|
-
|
|
142
|
-
## `/copy`
|
|
143
|
-
|
|
144
|
-
Run marketing and conversion copy discovery and review.
|
|
145
|
-
|
|
146
|
-
Required steps:
|
|
147
|
-
|
|
148
|
-
1. Route through Marketing Copy Lead.
|
|
149
|
-
2. Read or update `MESSAGING.md` for audience, pain, outcome, proof, objections, voice, and CTA.
|
|
150
|
-
3. Reject vague SaaS copy, unsupported claims, and interchangeable headlines.
|
|
151
|
-
4. Hand off public-facing copy to Frontend Design Lead for layout hierarchy review.
|
|
152
|
-
|
|
153
|
-
Required outputs: discovery answers, value proposition, proof status, voice/tone, copy inventory, CTA hierarchy, design handoff notes.
|
|
154
|
-
|
|
155
|
-
## `/ship`
|
|
156
|
-
|
|
157
|
-
Make a GO/NO-GO release call from council, security, QA, docs, deployment, and rollback evidence.
|
|
158
|
-
|
|
159
|
-
Required steps:
|
|
160
|
-
|
|
161
|
-
1. Confirm implementation scope and preserved behavior.
|
|
162
|
-
2. Require code review, Security Reviewer signoff, QA/test evidence, accessibility evidence when UI changed, docs evidence, deployment review, and rollback plan.
|
|
163
|
-
3. Run the project release gate, normally `npm run release:check` for this package or the project-specific equivalent.
|
|
164
|
-
4. Record verification with `agent-kit session verify`.
|
|
165
|
-
5. Return GO only when required outputs are complete or explicitly not applicable.
|
|
166
|
-
|
|
167
|
-
Required outputs: code review, security review, QA/test review, accessibility/doc/deployment checks, rollback plan, release command, GO/NO-GO verdict.
|
|
168
|
-
|
|
169
|
-
## `/upgrade`
|
|
170
|
-
|
|
171
|
-
Upgrade Agent Kit, framework, or dependency versions safely.
|
|
172
|
-
|
|
173
|
-
Required steps:
|
|
174
|
-
|
|
175
|
-
1. Read `UPGRADE.md` before accepting versioned behavior changes.
|
|
176
|
-
2. Run `agent-kit diff` before accepting template changes.
|
|
177
|
-
3. Preserve valid local overrides in `.agent-kit/overrides.json`.
|
|
178
|
-
4. Record package versions, migration order, rollback notes, verification commands, owner, and date.
|
|
179
|
-
|
|
180
|
-
Required outputs: upgrade scope, diff summary, conflict risk, migration order, rollback plan, verification commands.
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Migration Review Prompt
|
|
2
|
-
|
|
3
|
-
Review this Supabase/Postgres migration.
|
|
4
|
-
|
|
5
|
-
Check:
|
|
6
|
-
|
|
7
|
-
- Schema correctness
|
|
8
|
-
- Constraints and indexes
|
|
9
|
-
- RLS enablement
|
|
10
|
-
- Select, insert, update, and delete policies
|
|
11
|
-
- Ownership and tenant boundaries
|
|
12
|
-
- Service-role assumptions
|
|
13
|
-
- Backfill or destructive-change risk
|
|
14
|
-
- Rollback and deployment order
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Screenshot Review Prompt
|
|
2
|
-
|
|
3
|
-
Use after a UI is implemented and screenshots are available across desktop and mobile.
|
|
4
|
-
|
|
5
|
-
Review the screenshots against the product goal, `DESIGN.md`, design brief, and `STYLE_GUIDE.md`.
|
|
6
|
-
|
|
7
|
-
Check:
|
|
8
|
-
|
|
9
|
-
- First screen shows the real product, task, object, or workflow.
|
|
10
|
-
- The selected creative direction is visible in tokens, layout, copy, imagery, density, and interaction tone.
|
|
11
|
-
- Layout is usable on desktop and mobile without overlapping text or controls.
|
|
12
|
-
- Visual direction fits the domain and does not rely on generic AI-site gradients, accent-border cards, glow rails, neon strokes, gradient borders, card soup, oversized glass panels, ornamental icon walls, vague SaaS copy, decorative credibility badges, filler sections, or fake metrics.
|
|
13
|
-
- Cards, callouts, alerts, panels, and status messages use restrained 1px full-border surfaces, subtle background tint when needed, clear labels, icons, semantic state text, and WCAG AA contrast instead of decorative borders or color-only state.
|
|
14
|
-
- Design tokens are visible in color, typography, spacing, radius, state color, and focus treatment.
|
|
15
|
-
- Loading, empty, error, disabled, success, and mobile states are represented or explicitly accounted for.
|
|
16
|
-
- Visual QA tier is appropriate for the risk: screenshot review, Playwright screenshots, Storybook visual tests, or visual-regression service.
|
|
17
|
-
- Controls use familiar patterns: icons for repeated tools, inputs for values, toggles for booleans, tabs for views, and menus for option sets.
|
|
18
|
-
- Text is specific, scannable, and not padded with feature explanations.
|
|
19
|
-
- Accessibility risks are called out: contrast, focus, keyboard order, touch target size, labels, semantics, and motion.
|
|
20
|
-
|
|
21
|
-
Return:
|
|
22
|
-
|
|
23
|
-
1. Critical blockers.
|
|
24
|
-
2. High-value polish fixes.
|
|
25
|
-
3. Evidence that the screen avoids generic AI-site defaults.
|
|
26
|
-
4. Evidence that the screen follows the selected creative direction.
|
|
27
|
-
5. Visual QA tier and baseline-review risks.
|
|
28
|
-
6. Follow-up screenshots or states still required.
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Security Review Prompt
|
|
2
|
-
|
|
3
|
-
Review this change against OWASP Top 10 and the project's Supabase/Auth/RLS boundaries.
|
|
4
|
-
|
|
5
|
-
Prioritize:
|
|
6
|
-
|
|
7
|
-
- Broken access control
|
|
8
|
-
- IDOR
|
|
9
|
-
- Injection
|
|
10
|
-
- SSRF
|
|
11
|
-
- Secret exposure
|
|
12
|
-
- Service-role misuse
|
|
13
|
-
- Missing RLS
|
|
14
|
-
- Unsafe dependencies
|
|
15
|
-
- Misconfiguration
|
|
16
|
-
|
|
17
|
-
Lead with findings ordered by severity. Include exploit path, affected behavior, and remediation.
|