@mr.dj2u/knowledge 0.1.7 → 0.1.9
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/dist/content/checklists/push-merge-loop.md +17 -17
- package/dist/content/checklists/unified-agent-bundle-validation.md +9 -9
- package/dist/content/examples/push-merge-loop.md +14 -14
- package/dist/content/examples/unified-agent-bundle-bootstrap.md +8 -8
- package/dist/content/guides/post-create-onboarding.md +150 -140
- package/dist/content/patterns/api/api-routes.md +313 -313
- package/dist/content/patterns/api/error-handling.md +310 -310
- package/dist/content/patterns/database/drizzle-schema.md +279 -279
- package/dist/content/patterns/database/migrations.md +364 -364
- package/dist/content/patterns/database/query-organization.md +536 -536
- package/dist/content/patterns/database/relations.md +449 -449
- package/dist/content/patterns/deployment/build-configuration.md +440 -440
- package/dist/content/patterns/deployment/ci-cd-patterns.md +447 -447
- package/dist/content/patterns/deployment/environment-config.md +379 -379
- package/dist/content/patterns/deployment/hosting-setup.md +424 -424
- package/dist/content/patterns/project/configuration-patterns.md +459 -459
- package/dist/content/patterns/project/documentation-org.md +506 -506
- package/dist/content/patterns/project/folder-structure.md +397 -397
- package/dist/content/patterns/project/library-exports.md +464 -464
- package/dist/content/patterns/project/monorepo-structure.md +500 -500
- package/dist/content/patterns/routing/dynamic-routes.md +220 -220
- package/dist/content/patterns/routing/file-based-routing.md +185 -185
- package/dist/content/patterns/routing/route-groups.md +428 -428
- package/dist/content/patterns/state/persistence-middleware.md +520 -520
- package/dist/content/patterns/state/selector-hooks.md +537 -537
- package/dist/content/patterns/state/store-organization.md +538 -538
- package/dist/content/patterns/state/zustand-patterns.md +347 -347
- package/dist/content/patterns/styling/component-styling.md +467 -467
- package/dist/content/patterns/styling/responsive-patterns.md +397 -397
- package/dist/content/patterns/styling/theme-configuration.md +425 -425
- package/dist/content/patterns/styling/uniwind-setup.md +411 -411
- package/dist/content/prompts/continue-development.md +41 -35
- package/dist/content/prompts/create-expo-super-stack.md +4 -1
- package/dist/content/prompts/fix-seo.md +29 -29
- package/dist/content/prompts/onboard-new-expo-app.md +11 -11
- package/dist/content/prompts/prepare-deploy.md +29 -29
- package/dist/content/prompts/project-research-plan.md +29 -29
- package/dist/content/prompts/push-merge-loop.md +25 -25
- package/dist/content/prompts/retrospective-project-onboarding.md +23 -0
- package/dist/content/prompts/review-expo-project.md +29 -29
- package/dist/content/prompts/run-doctor.md +38 -38
- package/dist/content/prompts/wrap-up.md +70 -67
- package/dist/content/reference/create-expo-stack-uniwind.md +29 -29
- package/dist/content/reference/doctor-dogfood.md +1 -1
- package/dist/content/reference/mcp-sdk-transport.md +30 -30
- package/dist/content/reference/reference-repo-evacuation.md +31 -31
- package/dist/content/resource-index.json +1 -0
- package/dist/content/rules/env-hygiene.md +10 -0
- package/dist/content/rules/ssr-safety.md +7 -0
- package/dist/content/skills/api-routes.md +34 -33
- package/dist/content/skills/continue-development.md +49 -32
- package/dist/content/skills/debugging.md +32 -32
- package/dist/content/skills/deployment.md +32 -32
- package/dist/content/skills/dev-server-management.md +32 -32
- package/dist/content/skills/env-vars.md +32 -32
- package/dist/content/skills/expo-router-architecture.md +34 -33
- package/dist/content/skills/expo-ssr-safety.md +32 -32
- package/dist/content/skills/plugin-creation.md +41 -41
- package/dist/content/skills/production-server-patterns.md +31 -31
- package/dist/content/skills/project-onboarding.md +35 -31
- package/dist/content/skills/research-plan-intake.md +32 -32
- package/dist/content/skills/seo-metadata.md +31 -31
- package/dist/content/skills/super-stack-startup.md +38 -34
- package/dist/content/skills/uniwind-theming.md +32 -32
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +11 -0
- package/dist/prompts/index.js.map +1 -1
- package/package.json +7 -1
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
# /continue-development
|
|
2
|
-
|
|
3
|
-
Resume work on an onboarded project by
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
-
|
|
35
|
-
|
|
1
|
+
# /continue-development
|
|
2
|
+
|
|
3
|
+
Resume work on an onboarded project by using the phase roadmap and explicit
|
|
4
|
+
dependencies in `project/todo.md`.
|
|
5
|
+
|
|
6
|
+
## Arguments
|
|
7
|
+
|
|
8
|
+
- `projectPath`: onboarded app path (default: current directory).
|
|
9
|
+
|
|
10
|
+
## MCP-First Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
+
2. Call `continue_project` first to get the active-phase brief.
|
|
14
|
+
3. Pull `get_skill` for `continue-development` to select a dependency-ready
|
|
15
|
+
task without treating phases as a global gate.
|
|
16
|
+
4. If `continue_project` returns `recommendation.priority: expo-sdk-upgrade`, load the official Expo skill `upgrading-expo`. Do not call MDS `get_skill` for an upgrade skill. Do not implement the next todo or run `generate_project_roadmap` for feature work until the user declines or the upgrade is done.
|
|
17
|
+
5. If blockers appear, use `doctor_scan_project` and `doctor_explain_result` for targeted remediation before feature work.
|
|
18
|
+
|
|
19
|
+
## MDS Routing Guardrails
|
|
20
|
+
|
|
21
|
+
- Treat a request to continue development with MDS as a request for the MDS MCP tool and phase rules first.
|
|
22
|
+
- Do not jump directly into app edits until `continue_project` or the CLI
|
|
23
|
+
fallback has identified the relevant phase, explicit dependencies, and
|
|
24
|
+
blockers.
|
|
25
|
+
- When continue reports Expo SDK attention from project state, follow official `upgrading-expo` instead of the next unchecked todo.
|
|
26
|
+
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
27
|
+
|
|
28
|
+
## CLI / Manual Fallback
|
|
29
|
+
|
|
30
|
+
1. If MCP is not configured, install it manually:
|
|
31
|
+
- `mds mcp install --client <client> --scope project`
|
|
32
|
+
2. Direct CLI flow:
|
|
33
|
+
- `mds continue <projectPath>`
|
|
34
|
+
- `mds doctor <projectPath>` when blockers are unclear.
|
|
35
|
+
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
36
|
+
- `npx -y -p @mr.dj2u/cli@latest mds continue <projectPath>`
|
|
37
|
+
|
|
38
|
+
## Verification And Output
|
|
39
|
+
|
|
40
|
+
- Confirm the chosen task belongs to the active phase or has an explicit deferral note.
|
|
41
|
+
- Output: selected next task, blockers, and validation commands to run after implementation.
|
|
@@ -54,6 +54,9 @@ Do not describe the normal published install path as a fallback, and do not ment
|
|
|
54
54
|
## Verification And Output
|
|
55
55
|
|
|
56
56
|
- Confirm generated app has `project/info.md`, `project/todo.md`, `project/style.md`, and `project/guidelines.md`.
|
|
57
|
-
- Confirm `project/todo.md` includes
|
|
57
|
+
- Confirm a new project's `project/todo.md` includes its Phase 0+ roadmap
|
|
58
|
+
and `## Bug Fixes & Regressions` queue; preserve existing TODO items and
|
|
59
|
+
use `mds roadmap --append --phase N` only for approved additions to that
|
|
60
|
+
phase.
|
|
58
61
|
- If those Super Stack artifacts are missing, treat generation as a failure or partial scaffold and say so clearly instead of presenting it as a normal success.
|
|
59
62
|
- Output: generated app path, onboarding status, and the handoff to open a fresh agent session inside the new app folder and run `mds continue`.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# /fix-seo
|
|
2
|
-
|
|
3
|
-
Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: Expo project path (default: current directory).
|
|
8
|
-
- `routeOrFile`: optional route/file focus for targeted checks.
|
|
9
|
-
|
|
10
|
-
## MCP-First Workflow
|
|
11
|
-
|
|
12
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
-
2. Pull `get_skill` for `seo-metadata`.
|
|
14
|
-
3. Optionally run `doctor_scan_file` for focused route files, then `doctor_scan_project` for full checks.
|
|
15
|
-
4. Use `knowledge_list_resources` (`kind: "rule"`) to ensure canonical/indexing strategy is complete.
|
|
16
|
-
5. Implement metadata, canonical, robots, and sitemap corrections in route ownership boundaries.
|
|
17
|
-
|
|
18
|
-
## CLI / Manual Fallback
|
|
19
|
-
|
|
20
|
-
1. If MCP is not configured, install it manually:
|
|
21
|
-
- `mds mcp install --client <client> --scope project`
|
|
22
|
-
2. Direct CLI checks:
|
|
23
|
-
- `mds doctor <projectPath> --ci`
|
|
24
|
-
- Run project-specific web build/preview commands to verify metadata output.
|
|
25
|
-
|
|
26
|
-
## Verification And Output
|
|
27
|
-
|
|
28
|
-
- Confirm canonical tags, social metadata, and sitemap/robots behavior on affected routes.
|
|
29
|
-
- Output: changed files, resolved SEO gaps, and any remaining manual verification steps.
|
|
1
|
+
# /fix-seo
|
|
2
|
+
|
|
3
|
+
Apply SEO metadata fixes for Expo web routes with MCP guidance and post-fix verification.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: Expo project path (default: current directory).
|
|
8
|
+
- `routeOrFile`: optional route/file focus for targeted checks.
|
|
9
|
+
|
|
10
|
+
## MCP-First Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
+
2. Pull `get_skill` for `seo-metadata`.
|
|
14
|
+
3. Optionally run `doctor_scan_file` for focused route files, then `doctor_scan_project` for full checks.
|
|
15
|
+
4. Use `knowledge_list_resources` (`kind: "rule"`) to ensure canonical/indexing strategy is complete.
|
|
16
|
+
5. Implement metadata, canonical, robots, and sitemap corrections in route ownership boundaries.
|
|
17
|
+
|
|
18
|
+
## CLI / Manual Fallback
|
|
19
|
+
|
|
20
|
+
1. If MCP is not configured, install it manually:
|
|
21
|
+
- `mds mcp install --client <client> --scope project`
|
|
22
|
+
2. Direct CLI checks:
|
|
23
|
+
- `mds doctor <projectPath> --ci`
|
|
24
|
+
- Run project-specific web build/preview commands to verify metadata output.
|
|
25
|
+
|
|
26
|
+
## Verification And Output
|
|
27
|
+
|
|
28
|
+
- Confirm canonical tags, social metadata, and sitemap/robots behavior on affected routes.
|
|
29
|
+
- Output: changed files, resolved SEO gaps, and any remaining manual verification steps.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# /onboard-new-expo-app
|
|
2
|
-
|
|
3
|
-
Run onboarding intake for an existing Expo app folder.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: existing Expo app path (default: current directory).
|
|
8
|
-
|
|
9
|
-
## MCP Prompt Notes
|
|
10
|
-
|
|
11
|
-
This canonical spec backs the `onboard_new_expo_app` MCP prompt metadata. The runtime onboarding prompt text is generated from the server-side onboarding template so it can include current context and path-dependent instructions.
|
|
1
|
+
# /onboard-new-expo-app
|
|
2
|
+
|
|
3
|
+
Run onboarding intake for an existing Expo app folder.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: existing Expo app path (default: current directory).
|
|
8
|
+
|
|
9
|
+
## MCP Prompt Notes
|
|
10
|
+
|
|
11
|
+
This canonical spec backs the `onboard_new_expo_app` MCP prompt metadata. The runtime onboarding prompt text is generated from the server-side onboarding template so it can include current context and path-dependent instructions.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# /prepare-deploy
|
|
2
|
-
|
|
3
|
-
Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: release candidate project path (default: current directory).
|
|
8
|
-
- `includeSeo`: whether to include web metadata/indexing checks (default: `true` when web is targeted).
|
|
9
|
-
|
|
10
|
-
## MCP-First Workflow
|
|
11
|
-
|
|
12
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
-
2. Run `doctor_scan_project` in `ci` mode for release parity.
|
|
14
|
-
3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
|
|
15
|
-
4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
|
|
16
|
-
5. Produce a release checklist mapped to current failing checks.
|
|
17
|
-
|
|
18
|
-
## CLI / Manual Fallback
|
|
19
|
-
|
|
20
|
-
1. If MCP is not configured, install it manually:
|
|
21
|
-
- `mds mcp install --client <client> --scope project`
|
|
22
|
-
2. Direct CLI path:
|
|
23
|
-
- `mds doctor <projectPath> --ci`
|
|
24
|
-
- Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
|
|
25
|
-
|
|
26
|
-
## Verification And Output
|
|
27
|
-
|
|
28
|
-
- Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
|
|
29
|
-
- Output: release readiness status, unresolved blockers, and rollback/readiness notes.
|
|
1
|
+
# /prepare-deploy
|
|
2
|
+
|
|
3
|
+
Prepare an Expo project for release using deployment-focused skills plus Doctor parity checks.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: release candidate project path (default: current directory).
|
|
8
|
+
- `includeSeo`: whether to include web metadata/indexing checks (default: `true` when web is targeted).
|
|
9
|
+
|
|
10
|
+
## MCP-First Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
+
2. Run `doctor_scan_project` in `ci` mode for release parity.
|
|
14
|
+
3. Pull `get_skill` for `deployment`; if web is involved also pull `seo-metadata`.
|
|
15
|
+
4. Use `knowledge_list_resources` (`kind: "rule"`) to confirm env hygiene, SSR safety, and metadata requirements.
|
|
16
|
+
5. Produce a release checklist mapped to current failing checks.
|
|
17
|
+
|
|
18
|
+
## CLI / Manual Fallback
|
|
19
|
+
|
|
20
|
+
1. If MCP is not configured, install it manually:
|
|
21
|
+
- `mds mcp install --client <client> --scope project`
|
|
22
|
+
2. Direct CLI path:
|
|
23
|
+
- `mds doctor <projectPath> --ci`
|
|
24
|
+
- Run project scripts: `lint`, `type-check`, `test`, and production build/profile scripts.
|
|
25
|
+
|
|
26
|
+
## Verification And Output
|
|
27
|
+
|
|
28
|
+
- Re-run `doctor_scan_project` (or CLI equivalent) until blockers are cleared.
|
|
29
|
+
- Output: release readiness status, unresolved blockers, and rollback/readiness notes.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# /project-research-plan
|
|
2
|
-
|
|
3
|
-
Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: target project path (default: current directory).
|
|
8
|
-
- `inputs`: attached notes/docs to normalize into canonical memory files.
|
|
9
|
-
|
|
10
|
-
## MCP-First Workflow
|
|
11
|
-
|
|
12
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
-
2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
|
|
14
|
-
3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
|
|
15
|
-
4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
|
|
16
|
-
5. Update project memory files and produce an implementation-ready next-phase plan.
|
|
17
|
-
|
|
18
|
-
## CLI / Manual Fallback
|
|
19
|
-
|
|
20
|
-
1. If MCP is not configured, install it manually:
|
|
21
|
-
- `mds mcp install --client <client> --scope project`
|
|
22
|
-
2. Direct CLI fallback:
|
|
23
|
-
- Use `mds onboard <projectPath>` for structured intake when memory files are missing.
|
|
24
|
-
- Use `mds continue <projectPath>` after memory normalization to select the next task.
|
|
25
|
-
|
|
26
|
-
## Verification And Output
|
|
27
|
-
|
|
28
|
-
- Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
|
|
29
|
-
- Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
|
|
1
|
+
# /project-research-plan
|
|
2
|
+
|
|
3
|
+
Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: target project path (default: current directory).
|
|
8
|
+
- `inputs`: attached notes/docs to normalize into canonical memory files.
|
|
9
|
+
|
|
10
|
+
## MCP-First Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
+
2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
|
|
14
|
+
3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
|
|
15
|
+
4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
|
|
16
|
+
5. Update project memory files and produce an implementation-ready next-phase plan.
|
|
17
|
+
|
|
18
|
+
## CLI / Manual Fallback
|
|
19
|
+
|
|
20
|
+
1. If MCP is not configured, install it manually:
|
|
21
|
+
- `mds mcp install --client <client> --scope project`
|
|
22
|
+
2. Direct CLI fallback:
|
|
23
|
+
- Use `mds onboard <projectPath>` for structured intake when memory files are missing.
|
|
24
|
+
- Use `mds continue <projectPath>` after memory normalization to select the next task.
|
|
25
|
+
|
|
26
|
+
## Verification And Output
|
|
27
|
+
|
|
28
|
+
- Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
|
|
29
|
+
- Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
# /push-merge-loop
|
|
2
|
-
|
|
3
|
-
Execute the short PR iteration loop for the test branch with strict quality gates.
|
|
4
|
-
|
|
5
|
-
## Goal
|
|
6
|
-
|
|
7
|
-
Push intentional changes with a meaningful commit message, open/update a PR to `test`, poll for feedback and failed checks, fix issues, and merge to `test` once all checks are green.
|
|
8
|
-
|
|
9
|
-
## Loop Rules
|
|
10
|
-
|
|
11
|
-
1. Run `mds doctor --ci` before any git mutation.
|
|
12
|
-
2. Stage only intentional files and create a meaningful commit message.
|
|
13
|
-
3. Push branch and open or update a PR targeting `test`.
|
|
14
|
-
4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
|
|
15
|
-
5. Fix issues locally, rerun Doctor, push updates, and poll again.
|
|
16
|
-
6. Repeat polling/fix cycles up to 5 total iterations.
|
|
17
|
-
7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
|
|
18
|
-
|
|
19
|
-
## Guardrails
|
|
20
|
-
|
|
21
|
-
- Do not merge when required checks are failing.
|
|
22
|
-
- Do not skip Doctor between fix cycles.
|
|
23
|
-
- Keep a concise changelog per iteration: what failed, what was changed, what passed.
|
|
24
|
-
- If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
|
|
25
|
-
|
|
1
|
+
# /push-merge-loop
|
|
2
|
+
|
|
3
|
+
Execute the short PR iteration loop for the test branch with strict quality gates.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Push intentional changes with a meaningful commit message, open/update a PR to `test`, poll for feedback and failed checks, fix issues, and merge to `test` once all checks are green.
|
|
8
|
+
|
|
9
|
+
## Loop Rules
|
|
10
|
+
|
|
11
|
+
1. Run `mds doctor --ci` before any git mutation.
|
|
12
|
+
2. Stage only intentional files and create a meaningful commit message.
|
|
13
|
+
3. Push branch and open or update a PR targeting `test`.
|
|
14
|
+
4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
|
|
15
|
+
5. Fix issues locally, rerun Doctor, push updates, and poll again.
|
|
16
|
+
6. Repeat polling/fix cycles up to 5 total iterations.
|
|
17
|
+
7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
|
|
18
|
+
|
|
19
|
+
## Guardrails
|
|
20
|
+
|
|
21
|
+
- Do not merge when required checks are failing.
|
|
22
|
+
- Do not skip Doctor between fix cycles.
|
|
23
|
+
- Keep a concise changelog per iteration: what failed, what was changed, what passed.
|
|
24
|
+
- If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
|
|
25
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# /retrospective-project-onboarding
|
|
2
|
+
|
|
3
|
+
Finish onboarding an existing migrated project after `mds workspace init` generated draft project memory.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: initialized app checkout path, usually `<app>-i2Workspace/<app>-main`.
|
|
8
|
+
|
|
9
|
+
## Workflow
|
|
10
|
+
|
|
11
|
+
1. Read `temp/onboarding/retrospective-review.md` plus `project/info.md`, `project/style.md`, `project/guidelines.md`, and `project/todo.md` from the workspace control repository.
|
|
12
|
+
2. Verify generated claims against the app checkout before treating them as project truth.
|
|
13
|
+
3. Find every unresolved `# TodoForContext(optional):` marker and ask the UD focused questions, one at a time.
|
|
14
|
+
4. Write confirmed answers into the relevant project memory section and remove the marker line.
|
|
15
|
+
5. Do not invent mission, target audience, product goals, monetization, release intent, or component strategy from code alone.
|
|
16
|
+
6. After all markers are gone, run `mds roadmap`, then `mds continue`, and propose the next implementation slice.
|
|
17
|
+
|
|
18
|
+
## Guardrails
|
|
19
|
+
|
|
20
|
+
- Project memory is authoritative only after UD confirmation.
|
|
21
|
+
- The review packet is temporary local evidence; keep durable, confirmed information only in canonical `project/` memory.
|
|
22
|
+
- Keep this workflow project-only unless the UD explicitly asks for app-source changes.
|
|
23
|
+
- Do not run full `mds onboard` scaffolding from this workflow.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# /review-expo-project
|
|
2
|
-
|
|
3
|
-
Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: absolute or relative project path (default: current directory).
|
|
8
|
-
- `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
|
|
9
|
-
|
|
10
|
-
## MCP-First Workflow
|
|
11
|
-
|
|
12
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
-
2. Call `continue_project` to summarize current project state and blockers.
|
|
14
|
-
3. Call `doctor_scan_project` with `projectPath` and `mode`.
|
|
15
|
-
4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
|
|
16
|
-
5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
|
|
17
|
-
|
|
18
|
-
## CLI / Manual Fallback
|
|
19
|
-
|
|
20
|
-
1. If MCP is not configured, install it manually:
|
|
21
|
-
- `mds mcp install --client <client> --scope project`
|
|
22
|
-
2. If MCP still cannot run, use direct CLI flows:
|
|
23
|
-
- `mds continue <projectPath>`
|
|
24
|
-
- `mds doctor <projectPath> --ci`
|
|
25
|
-
|
|
26
|
-
## Verification And Output
|
|
27
|
-
|
|
28
|
-
- Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
|
|
29
|
-
- Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
|
|
1
|
+
# /review-expo-project
|
|
2
|
+
|
|
3
|
+
Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: absolute or relative project path (default: current directory).
|
|
8
|
+
- `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
|
|
9
|
+
|
|
10
|
+
## MCP-First Workflow
|
|
11
|
+
|
|
12
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
13
|
+
2. Call `continue_project` to summarize current project state and blockers.
|
|
14
|
+
3. Call `doctor_scan_project` with `projectPath` and `mode`.
|
|
15
|
+
4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
|
|
16
|
+
5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
|
|
17
|
+
|
|
18
|
+
## CLI / Manual Fallback
|
|
19
|
+
|
|
20
|
+
1. If MCP is not configured, install it manually:
|
|
21
|
+
- `mds mcp install --client <client> --scope project`
|
|
22
|
+
2. If MCP still cannot run, use direct CLI flows:
|
|
23
|
+
- `mds continue <projectPath>`
|
|
24
|
+
- `mds doctor <projectPath> --ci`
|
|
25
|
+
|
|
26
|
+
## Verification And Output
|
|
27
|
+
|
|
28
|
+
- Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
|
|
29
|
+
- Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
# /run-doctor
|
|
2
|
-
|
|
3
|
-
Run MDS Doctor as the primary health check for an Expo project.
|
|
4
|
-
|
|
5
|
-
## Arguments
|
|
6
|
-
|
|
7
|
-
- `projectPath`: project root path (default: current directory).
|
|
8
|
-
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
9
|
-
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
10
|
-
|
|
11
|
-
## MCP-First Workflow
|
|
12
|
-
|
|
13
|
-
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
14
|
-
2. Call `doctor_scan_project` with selected arguments.
|
|
15
|
-
3. For each non-pass result, call `doctor_explain_result`.
|
|
16
|
-
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
17
|
-
|
|
18
|
-
## MDS Routing Guardrails
|
|
19
|
-
|
|
20
|
-
- Treat a request to run MDS Doctor as a request for the MDS MCP tool, not as a request to run app-local npm scripts.
|
|
21
|
-
- Do not run `npm run mds:doctor`, `npm run doctor`, or other project package scripts as the MDS Doctor path unless the user explicitly asks for app scripts.
|
|
22
|
-
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
23
|
-
|
|
24
|
-
## CLI / Manual Fallback
|
|
25
|
-
|
|
26
|
-
1. If MCP is not configured, install it manually:
|
|
27
|
-
- `mds mcp install --client <client> --scope project`
|
|
28
|
-
2. Direct CLI alternatives:
|
|
29
|
-
- `mds doctor <projectPath>`
|
|
30
|
-
- `mds doctor <projectPath> --ci`
|
|
31
|
-
- `mds doctor <projectPath> --json`
|
|
32
|
-
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
33
|
-
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
34
|
-
|
|
35
|
-
## Verification And Output
|
|
36
|
-
|
|
37
|
-
- Re-run Doctor after each fix batch.
|
|
38
|
-
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
1
|
+
# /run-doctor
|
|
2
|
+
|
|
3
|
+
Run MDS Doctor as the primary health check for an Expo project.
|
|
4
|
+
|
|
5
|
+
## Arguments
|
|
6
|
+
|
|
7
|
+
- `projectPath`: project root path (default: current directory).
|
|
8
|
+
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
9
|
+
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
10
|
+
|
|
11
|
+
## MCP-First Workflow
|
|
12
|
+
|
|
13
|
+
1. Confirm the `mr-djs-dev-suite` MCP server is available.
|
|
14
|
+
2. Call `doctor_scan_project` with selected arguments.
|
|
15
|
+
3. For each non-pass result, call `doctor_explain_result`.
|
|
16
|
+
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
17
|
+
|
|
18
|
+
## MDS Routing Guardrails
|
|
19
|
+
|
|
20
|
+
- Treat a request to run MDS Doctor as a request for the MDS MCP tool, not as a request to run app-local npm scripts.
|
|
21
|
+
- Do not run `npm run mds:doctor`, `npm run doctor`, or other project package scripts as the MDS Doctor path unless the user explicitly asks for app scripts.
|
|
22
|
+
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
23
|
+
|
|
24
|
+
## CLI / Manual Fallback
|
|
25
|
+
|
|
26
|
+
1. If MCP is not configured, install it manually:
|
|
27
|
+
- `mds mcp install --client <client> --scope project`
|
|
28
|
+
2. Direct CLI alternatives:
|
|
29
|
+
- `mds doctor <projectPath>`
|
|
30
|
+
- `mds doctor <projectPath> --ci`
|
|
31
|
+
- `mds doctor <projectPath> --json`
|
|
32
|
+
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
33
|
+
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
34
|
+
|
|
35
|
+
## Verification And Output
|
|
36
|
+
|
|
37
|
+
- Re-run Doctor after each fix batch.
|
|
38
|
+
- Output: check summary, blocking errors first, and the exact command used for re-check.
|