@appsforgood/next-supabase-kit 0.1.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/BEST_PRACTICE_EVIDENCE.md +45 -0
- package/CHANGELOG.md +44 -0
- package/CODE_OF_CONDUCT.md +26 -0
- package/CONTRIBUTING.md +48 -0
- package/DOGFOOD.md +121 -0
- package/GOVERNANCE.md +45 -0
- package/LICENSE +21 -0
- package/README.md +251 -0
- package/REPOSITORY_SETTINGS.md +70 -0
- package/RESEARCH_CITATION_POLICY.md +26 -0
- package/SECURITY.md +29 -0
- package/SUPPLY_CHAIN.md +55 -0
- package/SUPPORT.md +28 -0
- package/UPGRADE.md +77 -0
- package/agents/deployment-observability-engineer.md +13 -0
- package/agents/docs-maintainer.md +17 -0
- package/agents/frontend-design-lead.md +22 -0
- package/agents/lead-architect.md +25 -0
- package/agents/marketing-copy-lead.md +20 -0
- package/agents/nextjs-engineer.md +20 -0
- package/agents/planner.md +20 -0
- package/agents/qa-engineer.md +19 -0
- package/agents/research-analyst.md +13 -0
- package/agents/security-reviewer.md +16 -0
- package/agents/supabase-postgres-engineer.md +19 -0
- package/assistant-adapters/README.md +28 -0
- package/assistant-adapters/claude-code-subagents.md +37 -0
- package/assistant-adapters/codex-agents.md +35 -0
- package/assistant-adapters/cursor-agent-kit.mdc +30 -0
- package/assistant-adapters/github-copilot-instructions.md +35 -0
- package/assistant-adapters/github-next-supabase.instructions.md +28 -0
- package/assistant-adapters/model-selection/claude-code-subagents-with-models.md +32 -0
- package/assistant-adapters/model-selection/codex-config.example.toml +29 -0
- package/assistant-adapters/model-selection/cursor-model-selection.mdc +24 -0
- package/assistant-adapters/model-selection/github-copilot-model-selection.md +20 -0
- package/checklists/accessibility.md +12 -0
- package/checklists/agent-council.md +13 -0
- package/checklists/brand-content.md +15 -0
- package/checklists/deployment.md +10 -0
- package/checklists/design-critique.md +13 -0
- package/checklists/frontend-distinctiveness.md +12 -0
- package/checklists/frontend-product-quality.md +13 -0
- package/checklists/frontend-quality.md +20 -0
- package/checklists/marketing-copy.md +11 -0
- package/checklists/owasp.md +12 -0
- package/checklists/rls.md +10 -0
- package/checklists/testing.md +12 -0
- package/checklists/upgrade.md +13 -0
- package/checklists/visual-regression.md +11 -0
- package/design-adapters/claude-design.prompt.md +27 -0
- package/design-adapters/figma.prompt.md +18 -0
- package/design-adapters/google-stitch.prompt.md +36 -0
- package/design-adapters/human-designer-brief.prompt.md +36 -0
- package/design-briefs/admin-dashboard.md +21 -0
- package/design-briefs/ai-workflow-product.md +25 -0
- package/design-briefs/community-social.md +26 -0
- package/design-briefs/content-app.md +21 -0
- package/design-briefs/ecommerce.md +25 -0
- package/design-briefs/education-course.md +25 -0
- package/design-briefs/marketplace.md +21 -0
- package/design-briefs/portfolio-venue.md +25 -0
- package/design-briefs/saas.md +21 -0
- package/design-briefs/tool.md +21 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3521 -0
- package/dist/index.js.map +1 -0
- package/examples/next-supabase-installed/.agent-kit/agent-roster.json +228 -0
- package/examples/next-supabase-installed/.agent-kit/manifest.json +58 -0
- package/examples/next-supabase-installed/.agent-kit/model-routing.json +164 -0
- package/examples/next-supabase-installed/.agent-kit/overrides.json +9 -0
- package/examples/next-supabase-installed/README.md +15 -0
- package/examples/next-supabase-installed/audit-output.json +336 -0
- package/examples/next-supabase-installed/tree.txt +38 -0
- package/model-routing/default-model-routing.json +164 -0
- package/package.json +98 -0
- package/profiles/admin-app.md +17 -0
- package/profiles/content-app.md +17 -0
- package/profiles/marketplace.md +17 -0
- package/profiles/saas.md +17 -0
- package/profiles/stack-next-firebase.md +25 -0
- package/profiles/stack-next-postgres.md +24 -0
- package/profiles/stack-remix-supabase.md +24 -0
- package/prompts/audit-project-setup.md +28 -0
- package/prompts/brand-content-intake.md +17 -0
- package/prompts/copy-review.md +15 -0
- package/prompts/council-session-review.md +17 -0
- package/prompts/creative-direction-matrix.md +22 -0
- package/prompts/design-critique-gate.md +28 -0
- package/prompts/docs-update.md +16 -0
- package/prompts/frontend-design-review.md +29 -0
- package/prompts/frontend-distinctiveness-benchmark.md +32 -0
- package/prompts/frontend-product-quality-scorecard.md +35 -0
- package/prompts/implement-feature.md +14 -0
- package/prompts/migration-review.md +14 -0
- package/prompts/screenshot-review.md +27 -0
- package/prompts/security-review.md +17 -0
- package/prompts/upgrade-review.md +18 -0
- package/prompts/visual-qa-plan.md +16 -0
- package/research/proposed-updates.md +70 -0
- package/research/scan-config.json +261 -0
- package/research/scan-plan.md +24 -0
- package/research/summaries/.gitkeep +1 -0
- package/research/summaries/agent-workflow-patterns.md +37 -0
- package/research/summaries/creative-design-patterns.md +38 -0
- package/research/summaries/design-critique-patterns.md +34 -0
- package/research/summaries/docs-and-agent-patterns.md +64 -0
- package/research/summaries/dogfood-adoption-patterns.md +33 -0
- package/research/summaries/frontend-design-patterns.md +64 -0
- package/research/summaries/frontend-distinctiveness-benchmark-patterns.md +38 -0
- package/research/summaries/frontend-product-quality-rubric-patterns.md +37 -0
- package/research/summaries/maturity-model-patterns.md +29 -0
- package/research/summaries/nextjs-patterns.md +65 -0
- package/research/summaries/repo-health-patterns.md +41 -0
- package/research/summaries/scan-overview.md +46 -0
- package/research/summaries/security-patterns.md +64 -0
- package/research/summaries/supabase-rls-patterns.md +54 -0
- package/research/summaries/supply-chain-patterns.md +38 -0
- package/research/summaries/testing-patterns.md +63 -0
- package/research/summaries/upgrade-lifecycle-patterns.md +26 -0
- package/research/summaries/visual-qa-patterns.md +39 -0
- package/rosters/next-supabase-default-council.json +228 -0
- package/schemas/agent-roster.schema.json +54 -0
- package/schemas/audit-report.schema.json +50 -0
- package/schemas/correction-rules.schema.json +32 -0
- package/schemas/council-session.schema.json +65 -0
- package/schemas/model-routing.schema.json +72 -0
- package/schemas/project-context.schema.json +94 -0
- package/schemas/session-event.schema.json +46 -0
- package/schemas/studio-session.schema.json +48 -0
- package/skills/accessibility-wcag.md +15 -0
- package/skills/agent-handoff-tracing.md +44 -0
- package/skills/best-practice-maturity-review.md +26 -0
- package/skills/content-first-design.md +50 -0
- package/skills/conversion-copywriting.md +38 -0
- package/skills/deployment-observability.md +14 -0
- package/skills/docs-maintainer.md +19 -0
- package/skills/frontend-design-system.md +68 -0
- package/skills/frontend-distinctiveness-benchmark.md +40 -0
- package/skills/frontend-product-quality-rubric.md +59 -0
- package/skills/landing-page-copy.md +29 -0
- package/skills/nextjs-app-router.md +18 -0
- package/skills/onboarding-empty-state-copy.md +37 -0
- package/skills/owasp-security-review.md +19 -0
- package/skills/planning-council.md +21 -0
- package/skills/positioning-messaging.md +42 -0
- package/skills/postgres-migrations.md +14 -0
- package/skills/product-voice-tone.md +35 -0
- package/skills/reference-led-design-critique.md +48 -0
- package/skills/supabase-auth-rls.md +20 -0
- package/skills/testing-qa.md +15 -0
- package/skills/upgrade-maintenance.md +32 -0
- package/skills/visual-regression-qa.md +42 -0
- package/templates/next-supabase/AGENTS.md +138 -0
- package/templates/next-supabase/AGENT_ROSTER.md +98 -0
- package/templates/next-supabase/ASSISTANT_ADAPTERS.md +82 -0
- package/templates/next-supabase/COUNCIL.md +54 -0
- package/templates/next-supabase/DECISIONS.md +45 -0
- package/templates/next-supabase/DEPLOYMENT.md +45 -0
- package/templates/next-supabase/DESIGN.md +171 -0
- package/templates/next-supabase/DOCS.md +62 -0
- package/templates/next-supabase/MESSAGING.md +81 -0
- package/templates/next-supabase/MODEL_ROUTING.md +109 -0
- package/templates/next-supabase/QUALITY_GATES.md +87 -0
- package/templates/next-supabase/SECURITY.md +54 -0
- package/templates/next-supabase/SKILLS.md +221 -0
- package/templates/next-supabase/SPEC.md +114 -0
- package/templates/next-supabase/STYLE_GUIDE.md +104 -0
- package/templates/next-supabase/TESTING.md +68 -0
- package/templates/next-supabase/UPGRADE.md +59 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Maturity Model Patterns
|
|
2
|
+
|
|
3
|
+
Generated from a focused follow-up pass after the 100-repo scan showed that popularity and broad research volume do not prove best-practice readiness.
|
|
4
|
+
|
|
5
|
+
## Why This Pass Was Needed
|
|
6
|
+
|
|
7
|
+
The initial scan identified repeated gaps in Supabase/Auth/RLS discoverability, AI-agent handoff maturity, accessibility evidence, and explicit security expectations. Follow-up review of public production, repository-health, supply-chain, and visual-testing guidance showed that mature projects make quality evidence durable across docs, automation, release, and review settings.
|
|
8
|
+
|
|
9
|
+
## Generalized Practices
|
|
10
|
+
|
|
11
|
+
- Use an explicit maturity model instead of treating any green build as best-practice readiness.
|
|
12
|
+
- Separate baseline setup, strong team/agent delivery, and best-practice release evidence.
|
|
13
|
+
- Require evidence for council routing, architecture decisions, security boundaries, Supabase/RLS, frontend quality, accessibility, testing, deployment, and repository health.
|
|
14
|
+
- Treat research findings as inputs only; promote them into installed assets, audit checks, tests, release gates, or documented decisions before counting them as kit behavior.
|
|
15
|
+
- Keep production-readiness expectations broad enough to cover framework behavior, data access, user experience, security, observability, and release integrity.
|
|
16
|
+
- Keep repository operations visible through issue/PR templates, CODEOWNERS, dependency update automation, code scanning, dependency review, provenance expectations, support, conduct, and governance.
|
|
17
|
+
|
|
18
|
+
## Promoted Updates
|
|
19
|
+
|
|
20
|
+
- Added `templates/next-supabase/QUALITY_GATES.md`.
|
|
21
|
+
- Added `QUALITY_GATES.md` to installed root docs and manifest hashing.
|
|
22
|
+
- Added audit coverage for baseline, strong, best-practice, evidence, and multi-area maturity expectations.
|
|
23
|
+
- Added tests that warn when the maturity model is hollowed out.
|
|
24
|
+
- Added audit warnings when starter placeholders remain in evidence docs, so clean installation is not confused with completed project evidence.
|
|
25
|
+
- Added a minimum-readiness CLI gate so downstream projects can enforce baseline or best-practice thresholds in CI.
|
|
26
|
+
- Added an audit-report JSON Schema so downstream CI, dashboards, and repo-health tools can validate audit output shape.
|
|
27
|
+
- Updated public docs and roadmap to make best-practice readiness evidence-based rather than research-volume-based.
|
|
28
|
+
|
|
29
|
+
Do not copy source, policy wording, or brand systems from reviewed repositories or documentation. Adopt only generalized practices with clear rationale.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Next.js Patterns
|
|
2
|
+
|
|
3
|
+
Generated from 39 relevant repository findings.
|
|
4
|
+
|
|
5
|
+
## Focus Areas
|
|
6
|
+
- architecture
|
|
7
|
+
- ciDeployment
|
|
8
|
+
- documentation
|
|
9
|
+
|
|
10
|
+
## Aggregate Evidence
|
|
11
|
+
- Average normalized focus score: 0.39
|
|
12
|
+
- Repositories considered: 39
|
|
13
|
+
|
|
14
|
+
## Strongest Repositories For This Topic
|
|
15
|
+
- vercel/next-forge (official-nextjs) - focus score 10, total 23/45
|
|
16
|
+
- triggerdotdev/trigger.dev (production-saas) - focus score 9, total 32/45
|
|
17
|
+
- keyshade-xyz/keyshade (production-saas) - focus score 9, total 25/45
|
|
18
|
+
- cossistantcom/cossistant (production-saas) - focus score 9, total 24/45
|
|
19
|
+
- vercel/chatbot (official-nextjs) - focus score 9, total 23/45
|
|
20
|
+
- vercel/next.js (official-nextjs) - focus score 8, total 30/45
|
|
21
|
+
- vercel/ai (official-nextjs) - focus score 8, total 29/45
|
|
22
|
+
- formbricks/formbricks (production-saas) - focus score 8, total 29/45
|
|
23
|
+
- boxyhq/saas-starter-kit (production-saas) - focus score 8, total 25/45
|
|
24
|
+
- nextacular/nextacular (production-saas) - focus score 8, total 23/45
|
|
25
|
+
- nextify-limited/saasfly (production-saas) - focus score 8, total 20/45
|
|
26
|
+
- dubinc/dub (production-saas) - focus score 7, total 27/45
|
|
27
|
+
|
|
28
|
+
## Repeated Strengths
|
|
29
|
+
- Frontend implementation shows reusable components, states, and design-system signals. (20)
|
|
30
|
+
- Security posture is explicit through docs, validation, CI, or review tooling. (12)
|
|
31
|
+
- Test setup includes meaningful automated and browser-level coverage. (11)
|
|
32
|
+
- Documentation is strong enough for external contributors or agents to onboard. (8)
|
|
33
|
+
|
|
34
|
+
## Repeated Gaps
|
|
35
|
+
- Supabase RLS/Auth practices are not clearly discoverable. (39)
|
|
36
|
+
- Agent handoff and AI-workflow instructions are not mature. (30)
|
|
37
|
+
- Accessibility signals are weak or absent. (26)
|
|
38
|
+
- Security expectations are implicit or incomplete. (23)
|
|
39
|
+
|
|
40
|
+
## Source Findings
|
|
41
|
+
- research/findings/vercel__next-forge.md
|
|
42
|
+
- research/findings/cossistantcom__cossistant.md
|
|
43
|
+
- research/findings/keyshade-xyz__keyshade.md
|
|
44
|
+
- research/findings/triggerdotdev__trigger.dev.md
|
|
45
|
+
- research/findings/vercel__chatbot.md
|
|
46
|
+
- research/findings/boxyhq__saas-starter-kit.md
|
|
47
|
+
- research/findings/formbricks__formbricks.md
|
|
48
|
+
- research/findings/nextacular__nextacular.md
|
|
49
|
+
- research/findings/nextify-limited__saasfly.md
|
|
50
|
+
- research/findings/vercel__ai.md
|
|
51
|
+
- research/findings/vercel__next.js.md
|
|
52
|
+
- research/findings/documenso__documenso.md
|
|
53
|
+
- research/findings/dodopayments__billingsdk.md
|
|
54
|
+
- research/findings/dubinc__dub.md
|
|
55
|
+
- research/findings/vercel__examples.md
|
|
56
|
+
- research/findings/zenstackhq__zenstack.md
|
|
57
|
+
- research/findings/Blazity__next-saas-starter.md
|
|
58
|
+
- research/findings/cruip__open-react-template.md
|
|
59
|
+
- research/findings/ixartz__SaaS-Boilerplate.md
|
|
60
|
+
- research/findings/michaelshimeles__nextjs-starter-kit.md
|
|
61
|
+
- research/findings/nextjs__saas-starter.md
|
|
62
|
+
- research/findings/revokslab__ShipFree.md
|
|
63
|
+
- research/findings/vercel__nextjs-postgres-nextauth-tailwindcss-template.md
|
|
64
|
+
- research/findings/vercel__platforms.md
|
|
65
|
+
- research/findings/vercel__swr.md
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Repo Health Patterns
|
|
2
|
+
|
|
3
|
+
Generated from a focused public OSS repository-health pass.
|
|
4
|
+
|
|
5
|
+
## Focused Sources Reviewed
|
|
6
|
+
|
|
7
|
+
- GitHub issue and pull request template documentation: issue forms belong in `.github/ISSUE_TEMPLATE`, and PR templates can live in `.github/pull_request_template.md`.
|
|
8
|
+
- GitHub CODEOWNERS documentation: `.github/CODEOWNERS` is the first location GitHub checks and supports automatic owner review requests.
|
|
9
|
+
- GitHub Dependabot documentation: `.github/dependabot.yml` configures npm and GitHub Actions update PRs.
|
|
10
|
+
- GitHub CodeQL documentation: JavaScript and TypeScript projects can run CodeQL through GitHub Actions.
|
|
11
|
+
- GitHub branch protection and environment documentation: required status checks, required reviews, environment reviewers, and deployment branch restrictions are repository settings that must be reviewed outside git.
|
|
12
|
+
- GitHub private vulnerability reporting documentation: public repositories can expose private vulnerability reporting through Security Advisories.
|
|
13
|
+
- High-signal OSS repos commonly expose structured contribution, security, release, and review workflows rather than relying on maintainer memory.
|
|
14
|
+
|
|
15
|
+
## Repeated Patterns To Adopt
|
|
16
|
+
|
|
17
|
+
- Use issue forms to collect enough evidence for maintainers to reproduce bugs and evaluate reusable feature proposals.
|
|
18
|
+
- Use a PR template that ties changes to scope, tests, docs, security, and release impact.
|
|
19
|
+
- Use CODEOWNERS for review ownership of source, templates, schemas, and workflows.
|
|
20
|
+
- Use Dependabot for npm and GitHub Actions updates.
|
|
21
|
+
- Use CodeQL or equivalent code scanning for JavaScript/TypeScript repositories.
|
|
22
|
+
- Publish support, conduct, and governance docs so contributor expectations are explicit.
|
|
23
|
+
- Keep required labels and PR labeler rules in the repo.
|
|
24
|
+
- Document branch protection, environment protection, security advisory, private vulnerability reporting, and label setup because those settings are not fully represented by package files.
|
|
25
|
+
|
|
26
|
+
## Promoted Updates
|
|
27
|
+
|
|
28
|
+
- Added `.github/ISSUE_TEMPLATE/config.yml`.
|
|
29
|
+
- Added bug, feature-request, and research-promotion issue forms.
|
|
30
|
+
- Added `.github/pull_request_template.md`.
|
|
31
|
+
- Added `.github/CODEOWNERS`.
|
|
32
|
+
- Added `.github/dependabot.yml`.
|
|
33
|
+
- Added `.github/labels.yml`.
|
|
34
|
+
- Added `.github/labeler.yml` and PR labeler workflow.
|
|
35
|
+
- Added `.github/workflows/codeql.yml`.
|
|
36
|
+
- Added `CODE_OF_CONDUCT.md`, `SUPPORT.md`, and `GOVERNANCE.md`.
|
|
37
|
+
- Added `REPOSITORY_SETTINGS.md`.
|
|
38
|
+
- Added repo-health public-readiness tests.
|
|
39
|
+
- Added repo-health scoring and discovery signals to the research scanner.
|
|
40
|
+
|
|
41
|
+
Research and repo examples are used only for generalized practices. Do not copy third-party source or project-specific policy wording.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Research Scan Overview
|
|
2
|
+
|
|
3
|
+
Generated from 100 parsed repository findings.
|
|
4
|
+
|
|
5
|
+
## Category Coverage
|
|
6
|
+
- production-saas: 24
|
|
7
|
+
- design-systems: 17
|
|
8
|
+
- testing-docs-agents: 16
|
|
9
|
+
- official-nextjs: 15
|
|
10
|
+
- supabase-nextjs: 15
|
|
11
|
+
- security-quality: 13
|
|
12
|
+
|
|
13
|
+
## Highest Total Scores
|
|
14
|
+
- supabase/supabase (supabase-nextjs) - 35/45
|
|
15
|
+
- trycompai/comp (security-quality) - 33/45
|
|
16
|
+
- triggerdotdev/trigger.dev (production-saas) - 32/45
|
|
17
|
+
- onlook-dev/onlook (supabase-nextjs) - 31/45
|
|
18
|
+
- thedaviddias/llms-txt-hub (supabase-nextjs) - 31/45
|
|
19
|
+
- vercel/next.js (official-nextjs) - 30/45
|
|
20
|
+
- better-auth/better-auth (security-quality) - 30/45
|
|
21
|
+
- vercel/ai (official-nextjs) - 29/45
|
|
22
|
+
- formbricks/formbricks (production-saas) - 29/45
|
|
23
|
+
- thedaviddias/souls-directory (testing-docs-agents) - 29/45
|
|
24
|
+
- mui/base-ui (design-systems) - 28/45
|
|
25
|
+
- shadcn-ui/ui (design-systems) - 27/45
|
|
26
|
+
- dubinc/dub (production-saas) - 27/45
|
|
27
|
+
- documenso/documenso (production-saas) - 27/45
|
|
28
|
+
- carbon-design-system/carbon (design-systems) - 27/45
|
|
29
|
+
- unkeyed/unkey (security-quality) - 27/45
|
|
30
|
+
- nextauthjs/next-auth (security-quality) - 26/45
|
|
31
|
+
- midday-ai/midday (supabase-nextjs) - 26/45
|
|
32
|
+
- chakra-ui/zag (design-systems) - 26/45
|
|
33
|
+
- vercel/examples (official-nextjs) - 26/45
|
|
34
|
+
|
|
35
|
+
## Most Repeated Strengths
|
|
36
|
+
- Frontend implementation shows reusable components, states, and design-system signals. (42)
|
|
37
|
+
- Documentation is strong enough for external contributors or agents to onboard. (36)
|
|
38
|
+
- Security posture is explicit through docs, validation, CI, or review tooling. (29)
|
|
39
|
+
- Test setup includes meaningful automated and browser-level coverage. (27)
|
|
40
|
+
- Supabase authorization appears to be handled close to the data boundary. (6)
|
|
41
|
+
|
|
42
|
+
## Most Repeated Gaps
|
|
43
|
+
- Supabase RLS/Auth practices are not clearly discoverable. (88)
|
|
44
|
+
- Agent handoff and AI-workflow instructions are not mature. (66)
|
|
45
|
+
- Accessibility signals are weak or absent. (57)
|
|
46
|
+
- Security expectations are implicit or incomplete. (54)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Security Patterns
|
|
2
|
+
|
|
3
|
+
Generated from 52 relevant repository findings.
|
|
4
|
+
|
|
5
|
+
## Focus Areas
|
|
6
|
+
- security
|
|
7
|
+
|
|
8
|
+
## Aggregate Evidence
|
|
9
|
+
- Average normalized focus score: 0.53
|
|
10
|
+
- Repositories considered: 52
|
|
11
|
+
|
|
12
|
+
## Strongest Repositories For This Topic
|
|
13
|
+
- trycompai/comp (security-quality) - focus score 5, total 33/45
|
|
14
|
+
- onlook-dev/onlook (supabase-nextjs) - focus score 5, total 31/45
|
|
15
|
+
- thedaviddias/llms-txt-hub (supabase-nextjs) - focus score 5, total 31/45
|
|
16
|
+
- better-auth/better-auth (security-quality) - focus score 5, total 30/45
|
|
17
|
+
- formbricks/formbricks (production-saas) - focus score 5, total 29/45
|
|
18
|
+
- dubinc/dub (production-saas) - focus score 5, total 27/45
|
|
19
|
+
- midday-ai/midday (supabase-nextjs) - focus score 5, total 26/45
|
|
20
|
+
- keyshade-xyz/keyshade (production-saas) - focus score 5, total 25/45
|
|
21
|
+
- cossistantcom/cossistant (production-saas) - focus score 5, total 24/45
|
|
22
|
+
- supabase/supabase (supabase-nextjs) - focus score 4, total 35/45
|
|
23
|
+
- triggerdotdev/trigger.dev (production-saas) - focus score 4, total 32/45
|
|
24
|
+
- documenso/documenso (production-saas) - focus score 4, total 27/45
|
|
25
|
+
|
|
26
|
+
## Repeated Strengths
|
|
27
|
+
- Frontend implementation shows reusable components, states, and design-system signals. (32)
|
|
28
|
+
- Security posture is explicit through docs, validation, CI, or review tooling. (20)
|
|
29
|
+
- Documentation is strong enough for external contributors or agents to onboard. (18)
|
|
30
|
+
- Test setup includes meaningful automated and browser-level coverage. (12)
|
|
31
|
+
- Supabase authorization appears to be handled close to the data boundary. (6)
|
|
32
|
+
|
|
33
|
+
## Repeated Gaps
|
|
34
|
+
- Supabase RLS/Auth practices are not clearly discoverable. (40)
|
|
35
|
+
- Agent handoff and AI-workflow instructions are not mature. (38)
|
|
36
|
+
- Accessibility signals are weak or absent. (31)
|
|
37
|
+
- Security expectations are implicit or incomplete. (25)
|
|
38
|
+
|
|
39
|
+
## Source Findings
|
|
40
|
+
- research/findings/better-auth__better-auth.md
|
|
41
|
+
- research/findings/cossistantcom__cossistant.md
|
|
42
|
+
- research/findings/dubinc__dub.md
|
|
43
|
+
- research/findings/formbricks__formbricks.md
|
|
44
|
+
- research/findings/keyshade-xyz__keyshade.md
|
|
45
|
+
- research/findings/midday-ai__midday.md
|
|
46
|
+
- research/findings/onlook-dev__onlook.md
|
|
47
|
+
- research/findings/thedaviddias__llms-txt-hub.md
|
|
48
|
+
- research/findings/trycompai__comp.md
|
|
49
|
+
- research/findings/403errors__repomind.md
|
|
50
|
+
- research/findings/arcjet__arcjet-js.md
|
|
51
|
+
- research/findings/aspen-cloud__triplit.md
|
|
52
|
+
- research/findings/documenso__documenso.md
|
|
53
|
+
- research/findings/jakejarvis__domainstack.io.md
|
|
54
|
+
- research/findings/nextacular__nextacular.md
|
|
55
|
+
- research/findings/nextauthjs__next-auth.md
|
|
56
|
+
- research/findings/supabase__supabase.md
|
|
57
|
+
- research/findings/triggerdotdev__trigger.dev.md
|
|
58
|
+
- research/findings/unkeyed__unkey.md
|
|
59
|
+
- research/findings/zenstackhq__zenstack.md
|
|
60
|
+
- research/findings/LubomirGeorgiev__cloudflare-workers-nextjs-saas-template.md
|
|
61
|
+
- research/findings/boxyhq__saas-starter-kit.md
|
|
62
|
+
- research/findings/dodopayments__billingsdk.md
|
|
63
|
+
- research/findings/ibelick__zola.md
|
|
64
|
+
- research/findings/nextify-limited__saasfly.md
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Supabase RLS Patterns
|
|
2
|
+
|
|
3
|
+
Generated from 15 relevant repository findings.
|
|
4
|
+
|
|
5
|
+
## Focus Areas
|
|
6
|
+
- supabaseAuthRls
|
|
7
|
+
|
|
8
|
+
## Aggregate Evidence
|
|
9
|
+
- Average normalized focus score: 0.65
|
|
10
|
+
- Repositories considered: 15
|
|
11
|
+
|
|
12
|
+
## Strongest Repositories For This Topic
|
|
13
|
+
- supabase/supabase (supabase-nextjs) - focus score 5, total 35/45
|
|
14
|
+
- srizzon/git-city (supabase-nextjs) - focus score 5, total 23/45
|
|
15
|
+
- firecrawl/open-scouts (supabase-nextjs) - focus score 5, total 23/45
|
|
16
|
+
- devtodollars/mvp-boilerplate (supabase-nextjs) - focus score 5, total 20/45
|
|
17
|
+
- supabase-community/nextjs-openai-doc-search (supabase-nextjs) - focus score 5, total 18/45
|
|
18
|
+
- onlook-dev/onlook (supabase-nextjs) - focus score 3, total 31/45
|
|
19
|
+
- ibelick/zola (supabase-nextjs) - focus score 3, total 21/45
|
|
20
|
+
- gokulkrishh/expense.fyi (supabase-nextjs) - focus score 3, total 19/45
|
|
21
|
+
- ShenSeanChen/launch-mvp-stripe-nextjs-supabase (supabase-nextjs) - focus score 3, total 18/45
|
|
22
|
+
- braydoncoyer/braydoncoyer.dev (supabase-nextjs) - focus score 3, total 16/45
|
|
23
|
+
- midday-ai/midday (supabase-nextjs) - focus score 2, total 26/45
|
|
24
|
+
- aspen-cloud/triplit (supabase-nextjs) - focus score 2, total 25/45
|
|
25
|
+
|
|
26
|
+
## Repeated Strengths
|
|
27
|
+
- Frontend implementation shows reusable components, states, and design-system signals. (10)
|
|
28
|
+
- Documentation is strong enough for external contributors or agents to onboard. (7)
|
|
29
|
+
- Security posture is explicit through docs, validation, CI, or review tooling. (5)
|
|
30
|
+
- Supabase authorization appears to be handled close to the data boundary. (5)
|
|
31
|
+
- Test setup includes meaningful automated and browser-level coverage. (3)
|
|
32
|
+
|
|
33
|
+
## Repeated Gaps
|
|
34
|
+
- Agent handoff and AI-workflow instructions are not mature. (11)
|
|
35
|
+
- Accessibility signals are weak or absent. (8)
|
|
36
|
+
- Security expectations are implicit or incomplete. (8)
|
|
37
|
+
- Supabase RLS/Auth practices are not clearly discoverable. (5)
|
|
38
|
+
|
|
39
|
+
## Source Findings
|
|
40
|
+
- research/findings/devtodollars__mvp-boilerplate.md
|
|
41
|
+
- research/findings/firecrawl__open-scouts.md
|
|
42
|
+
- research/findings/srizzon__git-city.md
|
|
43
|
+
- research/findings/supabase-community__nextjs-openai-doc-search.md
|
|
44
|
+
- research/findings/supabase__supabase.md
|
|
45
|
+
- research/findings/ShenSeanChen__launch-mvp-stripe-nextjs-supabase.md
|
|
46
|
+
- research/findings/braydoncoyer__braydoncoyer.dev.md
|
|
47
|
+
- research/findings/gokulkrishh__expense.fyi.md
|
|
48
|
+
- research/findings/ibelick__zola.md
|
|
49
|
+
- research/findings/onlook-dev__onlook.md
|
|
50
|
+
- research/findings/aspen-cloud__triplit.md
|
|
51
|
+
- research/findings/imbhargav5__nextbase-nextjs-supabase-starter.md
|
|
52
|
+
- research/findings/midday-ai__midday.md
|
|
53
|
+
- research/findings/supabase__auth-helpers.md
|
|
54
|
+
- research/findings/thedaviddias__llms-txt-hub.md
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Supply Chain Patterns
|
|
2
|
+
|
|
3
|
+
Generated from a focused public package supply-chain pass.
|
|
4
|
+
|
|
5
|
+
## Focused Sources Reviewed
|
|
6
|
+
|
|
7
|
+
- npm Trusted Publishing documentation: GitHub Actions OIDC can publish without long-lived automation tokens, and public trusted publishes generate provenance attestations automatically.
|
|
8
|
+
- npm provenance documentation: provenance links package artifacts to source and build instructions so consumers can verify origin.
|
|
9
|
+
- GitHub Dependency Review action documentation: pull requests that change dependencies can be checked for vulnerabilities and policy issues.
|
|
10
|
+
- OpenSSF Scorecard action documentation: repository security posture can be measured and published as code-scanning evidence.
|
|
11
|
+
- GitHub artifact attestation documentation: release evidence can bind an SBOM to a specific package artifact.
|
|
12
|
+
- GitHub workflow security patterns: least-privilege permissions, explicit concurrency, and non-persistent checkout credentials reduce accidental workflow risk.
|
|
13
|
+
|
|
14
|
+
## Repeated Patterns To Adopt
|
|
15
|
+
|
|
16
|
+
- Prefer OIDC Trusted Publishing over long-lived npm publish tokens.
|
|
17
|
+
- Document provenance expectations in package release docs.
|
|
18
|
+
- Add dependency review for pull requests that change dependency graphs.
|
|
19
|
+
- Add Scorecard or equivalent repository security posture checks.
|
|
20
|
+
- Keep CodeQL and dependency update automation active.
|
|
21
|
+
- Generate an SBOM for release artifacts and attest it against the exact artifact being published.
|
|
22
|
+
- Treat workflow edits as release-risk changes.
|
|
23
|
+
- Validate manual publish paths so accidental non-main publishes are not accepted.
|
|
24
|
+
|
|
25
|
+
## Promoted Updates
|
|
26
|
+
|
|
27
|
+
- Added `SUPPLY_CHAIN.md`.
|
|
28
|
+
- Added `.github/workflows/dependency-review.yml`.
|
|
29
|
+
- Added `.github/workflows/scorecard.yml`.
|
|
30
|
+
- Hardened workflow checkout with `persist-credentials: false`.
|
|
31
|
+
- Added workflow concurrency.
|
|
32
|
+
- Added manual publish ref validation for release workflow dispatches.
|
|
33
|
+
- Added lockfile-derived CycloneDX SBOM validation.
|
|
34
|
+
- Added release-workflow SBOM attestation for the exact npm tarball being published.
|
|
35
|
+
- Added supply-chain scanner score and research category.
|
|
36
|
+
- Added public-readiness tests for supply-chain files and release controls.
|
|
37
|
+
|
|
38
|
+
Do not treat provenance as a complete guarantee of safety. Provenance proves origin and workflow context; maintainers still need dependency review, workflow review, branch/environment controls, and post-publish verification.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Testing Patterns
|
|
2
|
+
|
|
3
|
+
Generated from 55 relevant repository findings.
|
|
4
|
+
|
|
5
|
+
## Focus Areas
|
|
6
|
+
- testing
|
|
7
|
+
|
|
8
|
+
## Aggregate Evidence
|
|
9
|
+
- Average normalized focus score: 0.44
|
|
10
|
+
- Repositories considered: 55
|
|
11
|
+
|
|
12
|
+
## Strongest Repositories For This Topic
|
|
13
|
+
- triggerdotdev/trigger.dev (production-saas) - focus score 5, total 32/45
|
|
14
|
+
- vercel/next.js (official-nextjs) - focus score 5, total 30/45
|
|
15
|
+
- vercel/ai (official-nextjs) - focus score 5, total 29/45
|
|
16
|
+
- thedaviddias/souls-directory (testing-docs-agents) - focus score 5, total 29/45
|
|
17
|
+
- dubinc/dub (production-saas) - focus score 5, total 27/45
|
|
18
|
+
- documenso/documenso (production-saas) - focus score 5, total 27/45
|
|
19
|
+
- vercel/examples (official-nextjs) - focus score 5, total 26/45
|
|
20
|
+
- microsoft/skills (testing-docs-agents) - focus score 5, total 26/45
|
|
21
|
+
- boxyhq/saas-starter-kit (production-saas) - focus score 5, total 25/45
|
|
22
|
+
- zero-one-group/monorepo (testing-docs-agents) - focus score 5, total 22/45
|
|
23
|
+
- ixartz/Next-js-Boilerplate (testing-docs-agents) - focus score 5, total 21/45
|
|
24
|
+
- ixartz/SaaS-Boilerplate (production-saas) - focus score 5, total 19/45
|
|
25
|
+
|
|
26
|
+
## Repeated Strengths
|
|
27
|
+
- Frontend implementation shows reusable components, states, and design-system signals. (22)
|
|
28
|
+
- Test setup includes meaningful automated and browser-level coverage. (18)
|
|
29
|
+
- Documentation is strong enough for external contributors or agents to onboard. (15)
|
|
30
|
+
- Security posture is explicit through docs, validation, CI, or review tooling. (14)
|
|
31
|
+
|
|
32
|
+
## Repeated Gaps
|
|
33
|
+
- Supabase RLS/Auth practices are not clearly discoverable. (55)
|
|
34
|
+
- Agent handoff and AI-workflow instructions are not mature. (38)
|
|
35
|
+
- Accessibility signals are weak or absent. (37)
|
|
36
|
+
- Security expectations are implicit or incomplete. (31)
|
|
37
|
+
|
|
38
|
+
## Source Findings
|
|
39
|
+
- research/findings/boxyhq__saas-starter-kit.md
|
|
40
|
+
- research/findings/connectrpc__examples-es.md
|
|
41
|
+
- research/findings/documenso__documenso.md
|
|
42
|
+
- research/findings/dubinc__dub.md
|
|
43
|
+
- research/findings/ixartz__Next-js-Boilerplate.md
|
|
44
|
+
- research/findings/ixartz__SaaS-Boilerplate.md
|
|
45
|
+
- research/findings/microsoft__skills.md
|
|
46
|
+
- research/findings/thedaviddias__souls-directory.md
|
|
47
|
+
- research/findings/triggerdotdev__trigger.dev.md
|
|
48
|
+
- research/findings/vercel__ai.md
|
|
49
|
+
- research/findings/vercel__examples.md
|
|
50
|
+
- research/findings/vercel__next.js.md
|
|
51
|
+
- research/findings/vercel__swr.md
|
|
52
|
+
- research/findings/zero-one-group__monorepo.md
|
|
53
|
+
- research/findings/formbricks__formbricks.md
|
|
54
|
+
- research/findings/kaje94__menufic.md
|
|
55
|
+
- research/findings/vercel__chatbot.md
|
|
56
|
+
- research/findings/wasp-lang__open-saas.md
|
|
57
|
+
- research/findings/Piebald-AI__tweakcc.md
|
|
58
|
+
- research/findings/antiwork__shortest.md
|
|
59
|
+
- research/findings/brocoders__extensive-react-boilerplate.md
|
|
60
|
+
- research/findings/keyshade-xyz__keyshade.md
|
|
61
|
+
- research/findings/vercel__next-devtools-mcp.md
|
|
62
|
+
- research/findings/zenstackhq__zenstack.md
|
|
63
|
+
- research/findings/LubomirGeorgiev__cloudflare-workers-nextjs-saas-template.md
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Upgrade Lifecycle Patterns
|
|
2
|
+
|
|
3
|
+
Generated from a focused follow-up pass on upgrade and migration practices in high-signal framework and tooling projects.
|
|
4
|
+
|
|
5
|
+
## Why This Pass Was Needed
|
|
6
|
+
|
|
7
|
+
The kit is intended to be reused like an installable package. Initial install, audit, and release gates are not enough unless existing projects can safely adopt future template, agent, schema, and workflow updates.
|
|
8
|
+
|
|
9
|
+
## Generalized Practices
|
|
10
|
+
|
|
11
|
+
- Keep a visible upgrade guide with preflight, diff, update, verification, and rollback steps.
|
|
12
|
+
- Separate initial installation from upgrade review.
|
|
13
|
+
- Provide dry-run or diff flows before changing project-owned files.
|
|
14
|
+
- Treat framework upgrades, codemods, schema migrations, and generated types as explicit review items.
|
|
15
|
+
- Require rollback notes and owner/date evidence before claiming an upgrade is complete.
|
|
16
|
+
- Keep local overrides documented so a package update does not silently erase project-specific decisions.
|
|
17
|
+
|
|
18
|
+
## Promoted Updates
|
|
19
|
+
|
|
20
|
+
- Added root `UPGRADE.md` for package maintainers.
|
|
21
|
+
- Added installed `templates/next-supabase/UPGRADE.md` for downstream projects.
|
|
22
|
+
- Added `skills/upgrade-maintenance.md`, `checklists/upgrade.md`, and `prompts/upgrade-review.md`.
|
|
23
|
+
- Added audit coverage for upgrade lifecycle evidence.
|
|
24
|
+
- Added tests so upgrade guidance cannot be removed from public package readiness.
|
|
25
|
+
|
|
26
|
+
Do not copy source, policy wording, or brand systems from reviewed repositories or documentation. Adopt only generalized practices with clear rationale.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Visual QA And Regression Patterns
|
|
2
|
+
|
|
3
|
+
Generated from a focused follow-up review of visual testing and component-state practices after the content-first design hardening pass.
|
|
4
|
+
|
|
5
|
+
## Why This Pass Was Needed
|
|
6
|
+
|
|
7
|
+
The kit required desktop/mobile screenshots and screenshot review, but a best-practice repo also needs a repeatable strategy for visual state coverage, baseline approval, and visual regression when UI risk is high.
|
|
8
|
+
|
|
9
|
+
## Focused Sources Reviewed
|
|
10
|
+
|
|
11
|
+
- `storybookjs/storybook`: stories act as reusable UI state cases for render, interaction, accessibility, and visual tests.
|
|
12
|
+
- `storybookjs/test-runner`: turns stories into executable tests and supports CI execution against built Storybooks.
|
|
13
|
+
- `storybookjs/design-system`: uses Storybook for component docs and visual QA infrastructure for a shared design system.
|
|
14
|
+
- `chromaui/chromatic-cli` and Chromatic docs: visual testing for Storybook, responsive viewports, PR checks, and baseline review.
|
|
15
|
+
- `argos-ci/argos`: open-source visual testing platform with Playwright, Cypress, and Storybook integrations.
|
|
16
|
+
- `oblador/loki`: open-source visual regression testing for Storybook.
|
|
17
|
+
- Playwright visual comparison docs: `toHaveScreenshot()` and committed baselines, with cautions about deterministic environments.
|
|
18
|
+
|
|
19
|
+
## Repeated Patterns To Adopt
|
|
20
|
+
|
|
21
|
+
- Treat stories or screenshot cases as visual state specifications.
|
|
22
|
+
- Capture both reusable component states and critical workflow screens.
|
|
23
|
+
- Cover at least one mobile/narrow viewport and one desktop viewport.
|
|
24
|
+
- Stabilize dynamic content before comparing pixels.
|
|
25
|
+
- Review baseline updates as intentional product changes.
|
|
26
|
+
- Keep semantic, accessibility, keyboard, auth, and data tests separate from visual comparisons.
|
|
27
|
+
- Choose the smallest reliable visual QA tier instead of forcing heavy tooling onto every project.
|
|
28
|
+
|
|
29
|
+
## Promoted Updates
|
|
30
|
+
|
|
31
|
+
- Add Visual Regression QA skill.
|
|
32
|
+
- Add visual-regression checklist.
|
|
33
|
+
- Add visual QA planning prompt.
|
|
34
|
+
- Update `TESTING.md` with baseline, strong, and mature visual QA tiers.
|
|
35
|
+
- Require visual QA evidence in frontend workflow outputs.
|
|
36
|
+
- Add audit warnings when testing docs omit visual QA or visual-regression evidence.
|
|
37
|
+
- Update research scanner terms to look for Storybook, `toHaveScreenshot`, Chromatic, Argos, Loki, and visual-regression signals.
|
|
38
|
+
|
|
39
|
+
Do not adopt a third-party SaaS as a required default. The kit should stay provider-neutral and support manual screenshots, Playwright, Storybook, Chromatic, Argos, Loki, or equivalent evidence depending on project risk.
|