@mr.dj2u/knowledge 0.1.7 → 0.1.8

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.
Files changed (59) hide show
  1. package/dist/content/checklists/push-merge-loop.md +17 -17
  2. package/dist/content/checklists/unified-agent-bundle-validation.md +9 -9
  3. package/dist/content/examples/push-merge-loop.md +14 -14
  4. package/dist/content/examples/unified-agent-bundle-bootstrap.md +8 -8
  5. package/dist/content/guides/post-create-onboarding.md +140 -140
  6. package/dist/content/patterns/api/api-routes.md +313 -313
  7. package/dist/content/patterns/api/error-handling.md +310 -310
  8. package/dist/content/patterns/database/drizzle-schema.md +279 -279
  9. package/dist/content/patterns/database/migrations.md +364 -364
  10. package/dist/content/patterns/database/query-organization.md +536 -536
  11. package/dist/content/patterns/database/relations.md +449 -449
  12. package/dist/content/patterns/deployment/build-configuration.md +440 -440
  13. package/dist/content/patterns/deployment/ci-cd-patterns.md +447 -447
  14. package/dist/content/patterns/deployment/environment-config.md +379 -379
  15. package/dist/content/patterns/deployment/hosting-setup.md +424 -424
  16. package/dist/content/patterns/project/configuration-patterns.md +459 -459
  17. package/dist/content/patterns/project/documentation-org.md +506 -506
  18. package/dist/content/patterns/project/folder-structure.md +397 -397
  19. package/dist/content/patterns/project/library-exports.md +464 -464
  20. package/dist/content/patterns/project/monorepo-structure.md +500 -500
  21. package/dist/content/patterns/routing/dynamic-routes.md +220 -220
  22. package/dist/content/patterns/routing/file-based-routing.md +185 -185
  23. package/dist/content/patterns/routing/route-groups.md +428 -428
  24. package/dist/content/patterns/state/persistence-middleware.md +520 -520
  25. package/dist/content/patterns/state/selector-hooks.md +537 -537
  26. package/dist/content/patterns/state/store-organization.md +538 -538
  27. package/dist/content/patterns/state/zustand-patterns.md +347 -347
  28. package/dist/content/patterns/styling/component-styling.md +467 -467
  29. package/dist/content/patterns/styling/responsive-patterns.md +397 -397
  30. package/dist/content/patterns/styling/theme-configuration.md +425 -425
  31. package/dist/content/patterns/styling/uniwind-setup.md +411 -411
  32. package/dist/content/prompts/continue-development.md +35 -35
  33. package/dist/content/prompts/fix-seo.md +29 -29
  34. package/dist/content/prompts/onboard-new-expo-app.md +11 -11
  35. package/dist/content/prompts/prepare-deploy.md +29 -29
  36. package/dist/content/prompts/project-research-plan.md +29 -29
  37. package/dist/content/prompts/push-merge-loop.md +25 -25
  38. package/dist/content/prompts/review-expo-project.md +29 -29
  39. package/dist/content/prompts/run-doctor.md +38 -38
  40. package/dist/content/prompts/wrap-up.md +67 -67
  41. package/dist/content/reference/create-expo-stack-uniwind.md +29 -29
  42. package/dist/content/reference/mcp-sdk-transport.md +30 -30
  43. package/dist/content/reference/reference-repo-evacuation.md +31 -31
  44. package/dist/content/skills/api-routes.md +33 -33
  45. package/dist/content/skills/continue-development.md +32 -32
  46. package/dist/content/skills/debugging.md +32 -32
  47. package/dist/content/skills/deployment.md +32 -32
  48. package/dist/content/skills/dev-server-management.md +32 -32
  49. package/dist/content/skills/env-vars.md +32 -32
  50. package/dist/content/skills/expo-router-architecture.md +33 -33
  51. package/dist/content/skills/expo-ssr-safety.md +32 -32
  52. package/dist/content/skills/plugin-creation.md +41 -41
  53. package/dist/content/skills/production-server-patterns.md +31 -31
  54. package/dist/content/skills/project-onboarding.md +31 -31
  55. package/dist/content/skills/research-plan-intake.md +32 -32
  56. package/dist/content/skills/seo-metadata.md +31 -31
  57. package/dist/content/skills/super-stack-startup.md +34 -34
  58. package/dist/content/skills/uniwind-theming.md +32 -32
  59. package/package.json +6 -1
@@ -1,32 +1,32 @@
1
- # Skill: Expo SSR Safety
2
-
3
- Use when preparing or debugging Expo Router web/server output paths.
4
-
5
- ## Main rule
6
-
7
- Assume server runtime first: guard browser-only APIs, isolate native-only code, and keep shared modules safe in both client and server contexts.
8
-
9
- ## Checks
10
-
11
- - Guard `window`, `document`, `navigator`, `localStorage`, and `sessionStorage` access.
12
- - Confirm client-only packages are not imported by server/API execution paths.
13
- - Confirm storage/session access happens in client-safe lifecycle points.
14
- - Verify API routes and server modules do not rely on browser globals.
15
- - Validate dynamic imports or adapters for platform-specific behavior.
16
-
17
- ## Preferred structure
18
-
19
- - Use small environment-check helpers for browser-global access.
20
- - Split client-only logic behind platform/runtime-specific modules.
21
- - Keep server-safe defaults and explicit fallbacks in shared utilities.
22
-
23
- ## Example fix
24
-
25
- - Problem: Shared auth helper reads `localStorage` at module load and crashes SSR.
26
- - Fix: Move storage access into guarded runtime functions and provide a server-safe fallback.
27
-
28
- ## Agent behavior
29
-
30
- - Fix crash-risk paths first, then clean up architecture.
31
- - Delegate framework SSR primitives to official Expo docs, then apply MDS-specific guard patterns and Doctor rule compatibility.
32
-
1
+ # Skill: Expo SSR Safety
2
+
3
+ Use when preparing or debugging Expo Router web/server output paths.
4
+
5
+ ## Main rule
6
+
7
+ Assume server runtime first: guard browser-only APIs, isolate native-only code, and keep shared modules safe in both client and server contexts.
8
+
9
+ ## Checks
10
+
11
+ - Guard `window`, `document`, `navigator`, `localStorage`, and `sessionStorage` access.
12
+ - Confirm client-only packages are not imported by server/API execution paths.
13
+ - Confirm storage/session access happens in client-safe lifecycle points.
14
+ - Verify API routes and server modules do not rely on browser globals.
15
+ - Validate dynamic imports or adapters for platform-specific behavior.
16
+
17
+ ## Preferred structure
18
+
19
+ - Use small environment-check helpers for browser-global access.
20
+ - Split client-only logic behind platform/runtime-specific modules.
21
+ - Keep server-safe defaults and explicit fallbacks in shared utilities.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: Shared auth helper reads `localStorage` at module load and crashes SSR.
26
+ - Fix: Move storage access into guarded runtime functions and provide a server-safe fallback.
27
+
28
+ ## Agent behavior
29
+
30
+ - Fix crash-risk paths first, then clean up architecture.
31
+ - Delegate framework SSR primitives to official Expo docs, then apply MDS-specific guard patterns and Doctor rule compatibility.
32
+
@@ -1,41 +1,41 @@
1
- # Skill: MDS Plugin Creation
2
-
3
- Use when building or extending an MDS plugin bundle for any agent client (Claude Code, Codex, Cursor, etc.).
4
-
5
- ## Main rule
6
-
7
- Plugins are thin bundles. `packages/knowledge` is the source of truth for skills, command prompts, checklists, and examples. Do not hand-author plugin skill/command copies in plugin folders.
8
-
9
- ## Structure conventions
10
-
11
- Every MDS plugin lives in `plugins/<client-name>/`:
12
-
13
- ```
14
- plugins/<client-name>/
15
- README.md
16
- CLAUDE.md # Claude-specific merge instructions (if relevant)
17
- .mcp.json
18
- commands/ # generated command markdown from canonical prompt specs
19
- skills/ # generated skill files
20
- ```
21
-
22
- ## Checks
23
-
24
- - Skill markdown lives only in `packages/knowledge/src/content/skills/`.
25
- - Prompt/command markdown lives only in `packages/knowledge/src/content/prompts/`.
26
- - `plugins/<client>/skills/` remains generated output and is not manually edited.
27
- - Commands reference real MCP tool names from `packages/mcp-server`.
28
- - MCP config uses the `mr-djs-dev-suite` server key.
29
-
30
- ## Adding a plugin capability
31
-
32
- 1. Add or update canonical content in `packages/knowledge/src/content/*`.
33
- 2. Update canonical prompt metadata in `packages/knowledge/src/prompts/index.ts`.
34
- 3. Regenerate outputs via `pnpm --filter @mr.dj2u/knowledge build`.
35
- 4. Verify generated plugin assets under `plugins/codex/` and `plugins/claude-code/`.
36
-
37
- ## Agent behavior
38
-
39
- - Prefer extending canonical knowledge specs over patching generated plugin files.
40
- - Keep command prompts action-oriented and generated from canonical prompt specs, with clear fallback paths.
41
- - Delegate framework guidance to Expo-owned skills/docs when available; layer MDS project-memory and workflow guidance on top.
1
+ # Skill: MDS Plugin Creation
2
+
3
+ Use when building or extending an MDS plugin bundle for any agent client (Claude Code, Codex, Cursor, etc.).
4
+
5
+ ## Main rule
6
+
7
+ Plugins are thin bundles. `packages/knowledge` is the source of truth for skills, command prompts, checklists, and examples. Do not hand-author plugin skill/command copies in plugin folders.
8
+
9
+ ## Structure conventions
10
+
11
+ Every MDS plugin lives in `plugins/<client-name>/`:
12
+
13
+ ```
14
+ plugins/<client-name>/
15
+ README.md
16
+ CLAUDE.md # Claude-specific merge instructions (if relevant)
17
+ .mcp.json
18
+ commands/ # generated command markdown from canonical prompt specs
19
+ skills/ # generated skill files
20
+ ```
21
+
22
+ ## Checks
23
+
24
+ - Skill markdown lives only in `packages/knowledge/src/content/skills/`.
25
+ - Prompt/command markdown lives only in `packages/knowledge/src/content/prompts/`.
26
+ - `plugins/<client>/skills/` remains generated output and is not manually edited.
27
+ - Commands reference real MCP tool names from `packages/mcp-server`.
28
+ - MCP config uses the `mr-djs-dev-suite` server key.
29
+
30
+ ## Adding a plugin capability
31
+
32
+ 1. Add or update canonical content in `packages/knowledge/src/content/*`.
33
+ 2. Update canonical prompt metadata in `packages/knowledge/src/prompts/index.ts`.
34
+ 3. Regenerate outputs via `pnpm --filter @mr.dj2u/knowledge build`.
35
+ 4. Verify generated plugin assets under `plugins/codex/` and `plugins/claude-code/`.
36
+
37
+ ## Agent behavior
38
+
39
+ - Prefer extending canonical knowledge specs over patching generated plugin files.
40
+ - Keep command prompts action-oriented and generated from canonical prompt specs, with clear fallback paths.
41
+ - Delegate framework guidance to Expo-owned skills/docs when available; layer MDS project-memory and workflow guidance on top.
@@ -1,31 +1,31 @@
1
- # Skill: Production Server Patterns
2
-
3
- Use when setting up or debugging how an Expo project serves production traffic.
4
-
5
- ## Main rule
6
-
7
- Pick one explicit production serving mode per environment and codify it in scripts; avoid mixed runtime assumptions.
8
-
9
- ## Checks
10
-
11
- - Confirm selected mode is documented: managed Expo/EAS, Express adapter, or dual-server.
12
- - Confirm serving scripts match the selected runtime (`npx expo serve`, `node server.js`, or dual process scripts).
13
- - Confirm routing boundaries are clear when app and API are separate services.
14
- - Confirm env var ownership differs correctly across app server and API server in dual-server mode.
15
- - Confirm “fresh” start scripts exist where server state/caches can cause drift.
16
-
17
- ## Preferred structure
18
-
19
- - Define `serve:prod` and `serve:prod:fresh` scripts for the chosen mode.
20
- - Keep server bootstrap and adapter code in dedicated files/modules.
21
- - Keep deployment notes aligned with runtime mode in project memory.
22
-
23
- ## Example fix
24
-
25
- - Problem: Team mixes Expo serve and custom Express commands, causing inconsistent behavior.
26
- - Fix: Select one primary mode per environment, standardize scripts, and document routing/env boundaries.
27
-
28
- ## Agent behavior
29
-
30
- - Use the project’s declared serving mode unless a migration is explicitly requested.
31
- - Delegate framework runtime primitives to official Expo docs, then enforce MDS conventions for script consistency, environment boundaries, and operational clarity.
1
+ # Skill: Production Server Patterns
2
+
3
+ Use when setting up or debugging how an Expo project serves production traffic.
4
+
5
+ ## Main rule
6
+
7
+ Pick one explicit production serving mode per environment and codify it in scripts; avoid mixed runtime assumptions.
8
+
9
+ ## Checks
10
+
11
+ - Confirm selected mode is documented: managed Expo/EAS, Express adapter, or dual-server.
12
+ - Confirm serving scripts match the selected runtime (`npx expo serve`, `node server.js`, or dual process scripts).
13
+ - Confirm routing boundaries are clear when app and API are separate services.
14
+ - Confirm env var ownership differs correctly across app server and API server in dual-server mode.
15
+ - Confirm “fresh” start scripts exist where server state/caches can cause drift.
16
+
17
+ ## Preferred structure
18
+
19
+ - Define `serve:prod` and `serve:prod:fresh` scripts for the chosen mode.
20
+ - Keep server bootstrap and adapter code in dedicated files/modules.
21
+ - Keep deployment notes aligned with runtime mode in project memory.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: Team mixes Expo serve and custom Express commands, causing inconsistent behavior.
26
+ - Fix: Select one primary mode per environment, standardize scripts, and document routing/env boundaries.
27
+
28
+ ## Agent behavior
29
+
30
+ - Use the project’s declared serving mode unless a migration is explicitly requested.
31
+ - Delegate framework runtime primitives to official Expo docs, then enforce MDS conventions for script consistency, environment boundaries, and operational clarity.
@@ -1,31 +1,31 @@
1
- # Skill: Project Onboarding
2
-
3
- Use when onboarding an existing Expo app into the MDS workflow after project creation.
4
-
5
- ## Main rule
6
-
7
- Establish project memory and workflow defaults first, then scaffold only the selected technical additions.
8
-
9
- ## Checks
10
-
11
- - Confirm onboarding target is the existing app folder (not a parent directory).
12
- - Confirm project memory files exist or are generated: `project/info.md`, `project/todo.md`, `project/style.md`, `project/guidelines.md`.
13
- - Confirm unresolved context markers are cleared before deep implementation work.
14
- - Confirm selected defaults (styling, state, data, CI, route placement) are documented in project memory.
15
- - Run Doctor after onboarding changes to validate baseline health.
16
-
17
- ## Preferred structure
18
-
19
- - Use conversational intake to capture audience, flows, data needs, platform targets, and deployment intent.
20
- - Keep visual guidance in `project/style.md`; keep technical/agent rules in `project/guidelines.md`.
21
- - Keep onboarding outputs phase-based so follow-up work can continue from `project/todo.md`.
22
-
23
- ## Example fix
24
-
25
- - Problem: Team starts coding before onboarding, causing missing docs and conflicting architecture assumptions.
26
- - Fix: Run onboarding flow, generate canonical project memory, reconcile open context markers, then resume implementation using phase order.
27
-
28
- ## Agent behavior
29
-
30
- - Ask one focused onboarding question at a time when required by the flow.
31
- - Delegate framework primitive setup guidance to official Expo resources, then layer MDS project-memory and workflow automation rules.
1
+ # Skill: Project Onboarding
2
+
3
+ Use when onboarding an existing Expo app into the MDS workflow after project creation.
4
+
5
+ ## Main rule
6
+
7
+ Establish project memory and workflow defaults first, then scaffold only the selected technical additions.
8
+
9
+ ## Checks
10
+
11
+ - Confirm onboarding target is the existing app folder (not a parent directory).
12
+ - Confirm project memory files exist or are generated: `project/info.md`, `project/todo.md`, `project/style.md`, `project/guidelines.md`.
13
+ - Confirm unresolved context markers are cleared before deep implementation work.
14
+ - Confirm selected defaults (styling, state, data, CI, route placement) are documented in project memory.
15
+ - Run Doctor after onboarding changes to validate baseline health.
16
+
17
+ ## Preferred structure
18
+
19
+ - Use conversational intake to capture audience, flows, data needs, platform targets, and deployment intent.
20
+ - Keep visual guidance in `project/style.md`; keep technical/agent rules in `project/guidelines.md`.
21
+ - Keep onboarding outputs phase-based so follow-up work can continue from `project/todo.md`.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: Team starts coding before onboarding, causing missing docs and conflicting architecture assumptions.
26
+ - Fix: Run onboarding flow, generate canonical project memory, reconcile open context markers, then resume implementation using phase order.
27
+
28
+ ## Agent behavior
29
+
30
+ - Ask one focused onboarding question at a time when required by the flow.
31
+ - Delegate framework primitive setup guidance to official Expo resources, then layer MDS project-memory and workflow automation rules.
@@ -1,32 +1,32 @@
1
- # Skill: Research Plan Intake
2
-
3
- Use when a user has partial product context (notes, research docs, or incomplete project memory) and needs it transformed into canonical MDS project memory.
4
-
5
- ## Main rule
6
-
7
- Normalize fragmented input into decision-ready `project/info.md` and `project/style.md` structure without inventing missing product facts.
8
-
9
- ## Checks
10
-
11
- - Parse provided artifacts and classify each required section as clear, ambiguous, or unknown.
12
- - Reuse clear sections directly; ask focused follow-up only for ambiguous or missing high-impact decisions.
13
- - Keep visual guidance in style memory and technical/process guidance in guidelines memory.
14
- - Confirm resulting project memory aligns with current roadmap phase and target platforms.
15
- - Record unresolved unknowns explicitly instead of guessing.
16
-
17
- ## Preferred structure
18
-
19
- - Accept inputs from pasted markdown, notes, and prior project memory files.
20
- - Map extracted content into canonical sections with concise normalization.
21
- - Produce follow-up questions only where answers materially change implementation direction.
22
-
23
- ## Example fix
24
-
25
- - Problem: User provides a long brainstorm doc with no clear MVP flow or audience.
26
- - Fix: Extract known context, mark missing decision points, ask targeted follow-up, then generate canonical project memory sections.
27
-
28
- ## Agent behavior
29
-
30
- - Preserve user intent and wording where it is already clear.
31
- - Keep uncertainty visible and collaborative; do not fill strategic gaps with assumptions that can misdirect implementation.
32
- - Treat this as an MDS-only project-memory skill: use official framework guidance only after product intent is clear, then record the MDS workflow context agents need.
1
+ # Skill: Research Plan Intake
2
+
3
+ Use when a user has partial product context (notes, research docs, or incomplete project memory) and needs it transformed into canonical MDS project memory.
4
+
5
+ ## Main rule
6
+
7
+ Normalize fragmented input into decision-ready `project/info.md` and `project/style.md` structure without inventing missing product facts.
8
+
9
+ ## Checks
10
+
11
+ - Parse provided artifacts and classify each required section as clear, ambiguous, or unknown.
12
+ - Reuse clear sections directly; ask focused follow-up only for ambiguous or missing high-impact decisions.
13
+ - Keep visual guidance in style memory and technical/process guidance in guidelines memory.
14
+ - Confirm resulting project memory aligns with current roadmap phase and target platforms.
15
+ - Record unresolved unknowns explicitly instead of guessing.
16
+
17
+ ## Preferred structure
18
+
19
+ - Accept inputs from pasted markdown, notes, and prior project memory files.
20
+ - Map extracted content into canonical sections with concise normalization.
21
+ - Produce follow-up questions only where answers materially change implementation direction.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: User provides a long brainstorm doc with no clear MVP flow or audience.
26
+ - Fix: Extract known context, mark missing decision points, ask targeted follow-up, then generate canonical project memory sections.
27
+
28
+ ## Agent behavior
29
+
30
+ - Preserve user intent and wording where it is already clear.
31
+ - Keep uncertainty visible and collaborative; do not fill strategic gaps with assumptions that can misdirect implementation.
32
+ - Treat this as an MDS-only project-memory skill: use official framework guidance only after product intent is clear, then record the MDS workflow context agents need.
@@ -1,31 +1,31 @@
1
- # Skill: SEO Metadata
2
-
3
- Use when preparing Expo web routes for crawlability, sharing previews, and production indexing behavior.
4
-
5
- ## Main rule
6
-
7
- Define metadata intentionally per route group and ensure canonical/indexing strategy is explicit before release.
8
-
9
- ## Checks
10
-
11
- - Confirm title, description, and canonical strategy are defined for production web routes.
12
- - Confirm Open Graph and social preview metadata exist for key entry routes.
13
- - Confirm dynamic routes have deterministic metadata sources.
14
- - Confirm sitemap and robots strategy is documented for the chosen web output mode.
15
- - Confirm duplicate or conflicting titles/canonicals are resolved.
16
-
17
- ## Preferred structure
18
-
19
- - Keep shared metadata defaults centralized and route-level overrides explicit.
20
- - Keep metadata source-of-truth close to route ownership boundaries.
21
- - Keep SEO rules documented in project memory so onboarding and Doctor checks align.
22
-
23
- ## Example fix
24
-
25
- - Problem: Dynamic content routes ship with repeated title/description and no canonical mapping.
26
- - Fix: Add route-level metadata builder, include canonical generation logic, and update sitemap coverage.
27
-
28
- ## Agent behavior
29
-
30
- - Prioritize production routes and highest-traffic entry points first.
31
- - Delegate framework metadata primitives to official Expo guidance, then enforce MDS standards for canonical/indexing completeness.
1
+ # Skill: SEO Metadata
2
+
3
+ Use when preparing Expo web routes for crawlability, sharing previews, and production indexing behavior.
4
+
5
+ ## Main rule
6
+
7
+ Define metadata intentionally per route group and ensure canonical/indexing strategy is explicit before release.
8
+
9
+ ## Checks
10
+
11
+ - Confirm title, description, and canonical strategy are defined for production web routes.
12
+ - Confirm Open Graph and social preview metadata exist for key entry routes.
13
+ - Confirm dynamic routes have deterministic metadata sources.
14
+ - Confirm sitemap and robots strategy is documented for the chosen web output mode.
15
+ - Confirm duplicate or conflicting titles/canonicals are resolved.
16
+
17
+ ## Preferred structure
18
+
19
+ - Keep shared metadata defaults centralized and route-level overrides explicit.
20
+ - Keep metadata source-of-truth close to route ownership boundaries.
21
+ - Keep SEO rules documented in project memory so onboarding and Doctor checks align.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: Dynamic content routes ship with repeated title/description and no canonical mapping.
26
+ - Fix: Add route-level metadata builder, include canonical generation logic, and update sitemap coverage.
27
+
28
+ ## Agent behavior
29
+
30
+ - Prioritize production routes and highest-traffic entry points first.
31
+ - Delegate framework metadata primitives to official Expo guidance, then enforce MDS standards for canonical/indexing completeness.
@@ -1,34 +1,34 @@
1
- # Skill: Super Stack Startup
2
-
3
- Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
4
-
5
- ## Main rule
6
-
7
- Run generator + onboarding as one guided flow, keep agent-facing wording sourced from `packages/knowledge`, and let the current CLI implementation remain the execution source of truth.
8
-
9
- ## Checks
10
-
11
- - Confirm command runs from a parent directory where the app folder does not already exist.
12
- - Confirm stack choices and MDS intake values are captured before generation.
13
- - Confirm generated app includes project memory and onboarding next-step output.
14
- - Confirm prompt and skill text stay thin and defer detailed behavior to the canonical knowledge package.
15
- - Confirm unresolved context markers are resolved before coding begins.
16
- - Confirm follow-up uses `mds continue` from inside the generated app folder.
17
-
18
- ## Preferred structure
19
-
20
- - Keep startup conversation in plain language and summarize choices before execution.
21
- - Keep generation details in scripts/flags, but keep user-facing flow conversational.
22
- - Keep post-generation workflow phase-based using the generated `project/todo.md`, and derive that roadmap from normalized `project/info.md` before handoff.
23
- - Prefer shared knowledge content over duplicating long onboarding prose in plugin or MCP wrappers.
24
-
25
- ## Example fix
26
-
27
- - Problem: User runs generation inside an existing app folder and gets mixed state artifacts.
28
- - Fix: Restart from parent directory, regenerate cleanly, then continue in a new app-folder session.
29
-
30
- ## Agent behavior
31
-
32
- - Prevent ambiguous execution context and confirm folder target before running generation.
33
- - Delegate framework/template primitives to upstream Expo tooling, then apply MDS memory shaping, defaults, and continue-workflow conventions.
34
- - Update `packages/knowledge` first when the wording or flow changes, then regenerate downstream surfaces from it.
1
+ # Skill: Super Stack Startup
2
+
3
+ Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
4
+
5
+ ## Main rule
6
+
7
+ Run generator + onboarding as one guided flow, keep agent-facing wording sourced from `packages/knowledge`, and let the current CLI implementation remain the execution source of truth.
8
+
9
+ ## Checks
10
+
11
+ - Confirm command runs from a parent directory where the app folder does not already exist.
12
+ - Confirm stack choices and MDS intake values are captured before generation.
13
+ - Confirm generated app includes project memory and onboarding next-step output.
14
+ - Confirm prompt and skill text stay thin and defer detailed behavior to the canonical knowledge package.
15
+ - Confirm unresolved context markers are resolved before coding begins.
16
+ - Confirm follow-up uses `mds continue` from inside the generated app folder.
17
+
18
+ ## Preferred structure
19
+
20
+ - Keep startup conversation in plain language and summarize choices before execution.
21
+ - Keep generation details in scripts/flags, but keep user-facing flow conversational.
22
+ - Keep post-generation workflow phase-based using the generated `project/todo.md`, and derive that roadmap from normalized `project/info.md` before handoff.
23
+ - Prefer shared knowledge content over duplicating long onboarding prose in plugin or MCP wrappers.
24
+
25
+ ## Example fix
26
+
27
+ - Problem: User runs generation inside an existing app folder and gets mixed state artifacts.
28
+ - Fix: Restart from parent directory, regenerate cleanly, then continue in a new app-folder session.
29
+
30
+ ## Agent behavior
31
+
32
+ - Prevent ambiguous execution context and confirm folder target before running generation.
33
+ - Delegate framework/template primitives to upstream Expo tooling, then apply MDS memory shaping, defaults, and continue-workflow conventions.
34
+ - Update `packages/knowledge` first when the wording or flow changes, then regenerate downstream surfaces from it.
@@ -1,32 +1,32 @@
1
- # Skill: Uniwind Theming
2
-
3
- Use when setting up or maintaining Tailwind v4 + Uniwind styling in Expo projects.
4
-
5
- ## Main rule
6
-
7
- Prefer Uniwind with Tailwind v4 defaults, keep theme tokens centralized, and ensure bundler/style wiring is consistent across environments.
8
-
9
- ## Checks
10
-
11
- - Confirm Tailwind v4 and Uniwind dependencies/config are aligned with project SDK.
12
- - Confirm `global.css` import order loads Tailwind before Uniwind layers.
13
- - Confirm Metro/bundler integration uses `withUniwindConfig` (or project-equivalent wiring).
14
- - Confirm design tokens are centralized and reused instead of ad-hoc values.
15
- - Confirm platform-specific style behavior is intentional and documented.
16
-
17
- ## Preferred structure
18
-
19
- - Keep token definitions in one source module/file.
20
- - Keep style-system setup in project bootstrap/config files, not scattered across screens.
21
- - Keep shared class patterns in reusable UI components.
22
-
23
- ## Example fix
24
-
25
- - Problem: Global styles load in the wrong order, causing token classes to fail on web.
26
- - Fix: Reorder style imports, verify Metro integration, and move duplicate token literals into shared theme config.
27
-
28
- ## Agent behavior
29
-
30
- - Preserve existing design intent while fixing setup drift.
31
- - Delegate framework styling primitives to official Expo/Uniwind docs, then apply MDS conventions for token consistency and onboarding readiness.
32
-
1
+ # Skill: Uniwind Theming
2
+
3
+ Use when setting up or maintaining Tailwind v4 + Uniwind styling in Expo projects.
4
+
5
+ ## Main rule
6
+
7
+ Prefer Uniwind with Tailwind v4 defaults, keep theme tokens centralized, and ensure bundler/style wiring is consistent across environments.
8
+
9
+ ## Checks
10
+
11
+ - Confirm Tailwind v4 and Uniwind dependencies/config are aligned with project SDK.
12
+ - Confirm `global.css` import order loads Tailwind before Uniwind layers.
13
+ - Confirm Metro/bundler integration uses `withUniwindConfig` (or project-equivalent wiring).
14
+ - Confirm design tokens are centralized and reused instead of ad-hoc values.
15
+ - Confirm platform-specific style behavior is intentional and documented.
16
+
17
+ ## Preferred structure
18
+
19
+ - Keep token definitions in one source module/file.
20
+ - Keep style-system setup in project bootstrap/config files, not scattered across screens.
21
+ - Keep shared class patterns in reusable UI components.
22
+
23
+ ## Example fix
24
+
25
+ - Problem: Global styles load in the wrong order, causing token classes to fail on web.
26
+ - Fix: Reorder style imports, verify Metro integration, and move duplicate token literals into shared theme config.
27
+
28
+ ## Agent behavior
29
+
30
+ - Preserve existing design intent while fixing setup drift.
31
+ - Delegate framework styling primitives to official Expo/Uniwind docs, then apply MDS conventions for token consistency and onboarding readiness.
32
+
package/package.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "name": "@mr.dj2u/knowledge",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Skills, patterns, guides, and rules for Expo development (MCP resources)",
5
5
  "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/DavidJGrimsley/mrdj-dev-suite.git",
9
+ "directory": "packages/knowledge"
10
+ },
6
11
  "files": [
7
12
  "dist"
8
13
  ],