@mr.dj2u/cli 0.1.12 → 0.1.14
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/bundles/claude-code/.claude-plugin/plugin.json +20 -20
- package/bundles/claude-code/.mcp.json +11 -11
- package/bundles/claude-code/agents/mds.md +36 -36
- package/bundles/claude-code/commands/create-expo-super-stack.md +34 -32
- package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +9 -7
- package/bundles/claude-code/skills/super-stack-startup/SKILL.md +4 -4
- package/bundles/codex/.codex-plugin/plugin.json +42 -42
- package/bundles/codex/.mcp.json +11 -11
- package/bundles/codex/README.md +51 -51
- package/bundles/codex/commands/create-expo-super-stack.md +34 -32
- package/bundles/codex/skills/super-stack-startup/SKILL.md +34 -34
- package/bundles/codex/skills/workflow-continue-development/SKILL.md +48 -48
- package/bundles/codex/skills/workflow-create-expo-super-stack/SKILL.md +47 -45
- package/bundles/codex/skills/workflow-fix-seo/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-prepare-deploy/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-project-research-plan/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-push-merge-loop/SKILL.md +37 -37
- package/bundles/codex/skills/workflow-review-expo-project/SKILL.md +42 -42
- package/bundles/codex/skills/workflow-run-doctor/SKILL.md +51 -51
- package/bundles/codex/skills/workflow-wrap-up/SKILL.md +80 -80
- package/bundles/vscode-copilot/.github/agents/mds.agent.md +22 -22
- package/bundles/vscode-copilot/.github/copilot-instructions.md +8 -8
- package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +40 -40
- package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +39 -37
- package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/push-merge-loop.prompt.md +30 -30
- package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +34 -34
- package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +43 -43
- package/bundles/vscode-copilot/.github/prompts/wrap-up.prompt.md +72 -72
- package/bundles/vscode-copilot/.github/skills/super-stack-startup/SKILL.md +39 -39
- package/bundles/vscode-copilot/.vscode/mcp.json +11 -11
- package/bundles/vscode-copilot/user/.copilot/agents/mds.agent.md +22 -22
- package/bundles/vscode-copilot/user/.copilot/instructions.md +8 -8
- package/bundles/vscode-copilot/user/.copilot/skills/super-stack-startup/SKILL.md +39 -39
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +39 -37
- package/dist/cess-intake.d.ts +16 -0
- package/dist/cess-intake.d.ts.map +1 -1
- package/dist/cess-intake.js +677 -15
- package/dist/cess-intake.js.map +1 -1
- package/dist/commands/mcp-install.d.ts +2 -2
- package/dist/commands/mcp-install.js +1 -1
- package/dist/commands/onboard.d.ts +8 -0
- package/dist/commands/onboard.d.ts.map +1 -1
- package/dist/commands/onboard.js +8 -0
- package/dist/commands/onboard.js.map +1 -1
- package/dist/commands/stylist.d.ts.map +1 -1
- package/dist/commands/stylist.js +5 -1
- package/dist/commands/stylist.js.map +1 -1
- package/dist/project-memory.d.ts +8 -0
- package/dist/project-memory.d.ts.map +1 -1
- package/dist/project-memory.js +89 -5
- package/dist/project-memory.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Project Research Plan workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /project-research-plan
|
|
7
|
-
|
|
8
|
-
Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: target project path (default: current directory).
|
|
13
|
-
- `inputs`: attached notes/docs to normalize into canonical memory files.
|
|
14
|
-
|
|
15
|
-
## MCP-First Workflow
|
|
16
|
-
|
|
17
|
-
1. Confirm the `mds` MCP server is available.
|
|
18
|
-
2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
|
|
19
|
-
3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
|
|
20
|
-
4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
|
|
21
|
-
5. Update project memory files and produce an implementation-ready next-phase plan.
|
|
22
|
-
|
|
23
|
-
## CLI / Manual Fallback
|
|
24
|
-
|
|
25
|
-
1. If MCP is not configured, install it manually:
|
|
26
|
-
- `mds mcp install --client <client> --scope project`
|
|
27
|
-
2. Direct CLI fallback:
|
|
28
|
-
- Use `mds onboard <projectPath>` for structured intake when memory files are missing.
|
|
29
|
-
- Use `mds continue <projectPath>` after memory normalization to select the next task.
|
|
30
|
-
|
|
31
|
-
## Verification And Output
|
|
32
|
-
|
|
33
|
-
- Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
|
|
34
|
-
- Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Project Research Plan workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /project-research-plan
|
|
7
|
+
|
|
8
|
+
Turn rough product notes/research into actionable MDS project memory and next-phase plan.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: target project path (default: current directory).
|
|
13
|
+
- `inputs`: attached notes/docs to normalize into canonical memory files.
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mds` MCP server is available.
|
|
18
|
+
2. Pull `get_skill` for `research-plan-intake` (and `project-onboarding` when onboarding context is mixed in).
|
|
19
|
+
3. Call `knowledge_list_resources` for `guide` and `reference` resources as needed for structure and validation.
|
|
20
|
+
4. Normalize clear context directly; ask focused follow-up only where ambiguity changes implementation direction.
|
|
21
|
+
5. Update project memory files and produce an implementation-ready next-phase plan.
|
|
22
|
+
|
|
23
|
+
## CLI / Manual Fallback
|
|
24
|
+
|
|
25
|
+
1. If MCP is not configured, install it manually:
|
|
26
|
+
- `mds mcp install --client <client> --scope project`
|
|
27
|
+
2. Direct CLI fallback:
|
|
28
|
+
- Use `mds onboard <projectPath>` for structured intake when memory files are missing.
|
|
29
|
+
- Use `mds continue <projectPath>` after memory normalization to select the next task.
|
|
30
|
+
|
|
31
|
+
## Verification And Output
|
|
32
|
+
|
|
33
|
+
- Confirm `project/info.md`, `project/style.md`, and `project/todo.md` align with extracted research context.
|
|
34
|
+
- Output: resolved unknowns, outstanding questions, and the recommended next implementation slice.
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Push Merge Loop workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /push-merge-loop
|
|
7
|
-
|
|
8
|
-
Execute the short PR iteration loop for the test branch with strict quality gates.
|
|
9
|
-
|
|
10
|
-
## Goal
|
|
11
|
-
|
|
12
|
-
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.
|
|
13
|
-
|
|
14
|
-
## Loop Rules
|
|
15
|
-
|
|
16
|
-
1. Run `mds doctor --ci` before any git mutation.
|
|
17
|
-
2. Stage only intentional files and create a meaningful commit message.
|
|
18
|
-
3. Push branch and open or update a PR targeting `test`.
|
|
19
|
-
4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
|
|
20
|
-
5. Fix issues locally, rerun Doctor, push updates, and poll again.
|
|
21
|
-
6. Repeat polling/fix cycles up to 5 total iterations.
|
|
22
|
-
7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
|
|
23
|
-
|
|
24
|
-
## Guardrails
|
|
25
|
-
|
|
26
|
-
- Do not merge when required checks are failing.
|
|
27
|
-
- Do not skip Doctor between fix cycles.
|
|
28
|
-
- Keep a concise changelog per iteration: what failed, what was changed, what passed.
|
|
29
|
-
- If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
|
|
30
|
-
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Push Merge Loop workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /push-merge-loop
|
|
7
|
+
|
|
8
|
+
Execute the short PR iteration loop for the test branch with strict quality gates.
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
## Loop Rules
|
|
15
|
+
|
|
16
|
+
1. Run `mds doctor --ci` before any git mutation.
|
|
17
|
+
2. Stage only intentional files and create a meaningful commit message.
|
|
18
|
+
3. Push branch and open or update a PR targeting `test`.
|
|
19
|
+
4. Wait about 2 minutes, then poll PR comments, review threads, and failed checks.
|
|
20
|
+
5. Fix issues locally, rerun Doctor, push updates, and poll again.
|
|
21
|
+
6. Repeat polling/fix cycles up to 5 total iterations.
|
|
22
|
+
7. Merge to `test` only when all required checks are green and no unresolved blocking feedback remains.
|
|
23
|
+
|
|
24
|
+
## Guardrails
|
|
25
|
+
|
|
26
|
+
- Do not merge when required checks are failing.
|
|
27
|
+
- Do not skip Doctor between fix cycles.
|
|
28
|
+
- Keep a concise changelog per iteration: what failed, what was changed, what passed.
|
|
29
|
+
- If still failing after 5 cycles, stop and summarize remaining blockers with concrete next actions.
|
|
30
|
+
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Review Expo Project workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /review-expo-project
|
|
7
|
-
|
|
8
|
-
Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: absolute or relative project path (default: current directory).
|
|
13
|
-
- `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
|
|
14
|
-
|
|
15
|
-
## MCP-First Workflow
|
|
16
|
-
|
|
17
|
-
1. Confirm the `mds` MCP server is available.
|
|
18
|
-
2. Call `continue_project` to summarize current project state and blockers.
|
|
19
|
-
3. Call `doctor_scan_project` with `projectPath` and `mode`.
|
|
20
|
-
4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
|
|
21
|
-
5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
|
|
22
|
-
|
|
23
|
-
## CLI / Manual Fallback
|
|
24
|
-
|
|
25
|
-
1. If MCP is not configured, install it manually:
|
|
26
|
-
- `mds mcp install --client <client> --scope project`
|
|
27
|
-
2. If MCP still cannot run, use direct CLI flows:
|
|
28
|
-
- `mds continue <projectPath>`
|
|
29
|
-
- `mds doctor <projectPath> --ci`
|
|
30
|
-
|
|
31
|
-
## Verification And Output
|
|
32
|
-
|
|
33
|
-
- Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
|
|
34
|
-
- Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Review Expo Project workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /review-expo-project
|
|
7
|
+
|
|
8
|
+
Review an Expo project with MCP-first diagnostics and skill-guided remediation.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: absolute or relative project path (default: current directory).
|
|
13
|
+
- `mode`: Doctor mode (`fast`, `ci`, or `full`; default: `ci`).
|
|
14
|
+
|
|
15
|
+
## MCP-First Workflow
|
|
16
|
+
|
|
17
|
+
1. Confirm the `mds` MCP server is available.
|
|
18
|
+
2. Call `continue_project` to summarize current project state and blockers.
|
|
19
|
+
3. Call `doctor_scan_project` with `projectPath` and `mode`.
|
|
20
|
+
4. For each warning/error, call `doctor_explain_result`, then pull targeted guidance with `get_skill` (for example: `project-onboarding`, `debugging`, `deployment`).
|
|
21
|
+
5. Call `knowledge_list_resources` with `kind: "guide"` if extra reference context is needed.
|
|
22
|
+
|
|
23
|
+
## CLI / Manual Fallback
|
|
24
|
+
|
|
25
|
+
1. If MCP is not configured, install it manually:
|
|
26
|
+
- `mds mcp install --client <client> --scope project`
|
|
27
|
+
2. If MCP still cannot run, use direct CLI flows:
|
|
28
|
+
- `mds continue <projectPath>`
|
|
29
|
+
- `mds doctor <projectPath> --ci`
|
|
30
|
+
|
|
31
|
+
## Verification And Output
|
|
32
|
+
|
|
33
|
+
- Re-run `doctor_scan_project` (or `mds doctor --ci`) after fixes.
|
|
34
|
+
- Output: blocker summary, failing checks, recommended next task, and concrete follow-up commands.
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Run Doctor workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /run-doctor
|
|
7
|
-
|
|
8
|
-
Run MDS Doctor as the primary health check for an Expo project.
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
- `projectPath`: project root path (default: current directory).
|
|
13
|
-
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
14
|
-
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
15
|
-
|
|
16
|
-
## MCP-First Workflow
|
|
17
|
-
|
|
18
|
-
1. Confirm the `mds` MCP server is available.
|
|
19
|
-
2. Call `doctor_scan_project` with selected arguments.
|
|
20
|
-
3. For each non-pass result, call `doctor_explain_result`.
|
|
21
|
-
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
22
|
-
|
|
23
|
-
## MDS Routing Guardrails
|
|
24
|
-
|
|
25
|
-
- 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.
|
|
26
|
-
- 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.
|
|
27
|
-
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
28
|
-
|
|
29
|
-
## CLI / Manual Fallback
|
|
30
|
-
|
|
31
|
-
1. If MCP is not configured, install it manually:
|
|
32
|
-
- `mds mcp install --client <client> --scope project`
|
|
33
|
-
2. Direct CLI alternatives:
|
|
34
|
-
- `mds doctor <projectPath>`
|
|
35
|
-
- `mds doctor <projectPath> --ci`
|
|
36
|
-
- `mds doctor <projectPath> --json`
|
|
37
|
-
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
38
|
-
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
39
|
-
|
|
40
|
-
## Verification And Output
|
|
41
|
-
|
|
42
|
-
- Re-run Doctor after each fix batch.
|
|
43
|
-
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Run Doctor workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /run-doctor
|
|
7
|
+
|
|
8
|
+
Run MDS Doctor as the primary health check for an Expo project.
|
|
9
|
+
|
|
10
|
+
## Arguments
|
|
11
|
+
|
|
12
|
+
- `projectPath`: project root path (default: current directory).
|
|
13
|
+
- `mode`: `fast`, `ci`, or `full` (default: `ci`).
|
|
14
|
+
- `runScripts`: whether Doctor should execute project scripts (default: `true` for `ci` mode).
|
|
15
|
+
|
|
16
|
+
## MCP-First Workflow
|
|
17
|
+
|
|
18
|
+
1. Confirm the `mds` MCP server is available.
|
|
19
|
+
2. Call `doctor_scan_project` with selected arguments.
|
|
20
|
+
3. For each non-pass result, call `doctor_explain_result`.
|
|
21
|
+
4. Pull targeted implementation guidance with `get_skill` (typically `deployment`, `debugging`, or `dev-server-management`).
|
|
22
|
+
|
|
23
|
+
## MDS Routing Guardrails
|
|
24
|
+
|
|
25
|
+
- 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.
|
|
26
|
+
- 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.
|
|
27
|
+
- Never invoke `@mrdj/cli`; that package name is wrong. The published CLI package is `@mr.dj2u/cli` and its executable is `mds`.
|
|
28
|
+
|
|
29
|
+
## CLI / Manual Fallback
|
|
30
|
+
|
|
31
|
+
1. If MCP is not configured, install it manually:
|
|
32
|
+
- `mds mcp install --client <client> --scope project`
|
|
33
|
+
2. Direct CLI alternatives:
|
|
34
|
+
- `mds doctor <projectPath>`
|
|
35
|
+
- `mds doctor <projectPath> --ci`
|
|
36
|
+
- `mds doctor <projectPath> --json`
|
|
37
|
+
3. If `mds` is not on PATH, invoke the published CLI by binary name:
|
|
38
|
+
- `npx -y -p @mr.dj2u/cli@latest mds doctor <projectPath> --ci`
|
|
39
|
+
|
|
40
|
+
## Verification And Output
|
|
41
|
+
|
|
42
|
+
- Re-run Doctor after each fix batch.
|
|
43
|
+
- Output: check summary, blocking errors first, and the exact command used for re-check.
|
|
@@ -1,72 +1,72 @@
|
|
|
1
|
-
---
|
|
2
|
-
mode: "agent"
|
|
3
|
-
description: "Run the MDS Wrap Up workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /wrap-up
|
|
7
|
-
|
|
8
|
-
Run the post-testing release wrap-up flow: final local checks, git inclusion confirmation, PR loop, and merge handling.
|
|
9
|
-
|
|
10
|
-
## Goal
|
|
11
|
-
|
|
12
|
-
When the developer says testing is complete, finish the handoff safely by:
|
|
13
|
-
|
|
14
|
-
1. Marking completed todo items.
|
|
15
|
-
2. Running `mds doctor --ci`.
|
|
16
|
-
3. Reviewing `git status` and confirming intentionally excluded files.
|
|
17
|
-
4. Running the publish/PR/check loop.
|
|
18
|
-
5. Handling merge according to policy defaults and repo overrides.
|
|
19
|
-
|
|
20
|
-
## Required Flow Order
|
|
21
|
-
|
|
22
|
-
1. Update `project/todo.md` only for tasks clearly completed in this session.
|
|
23
|
-
2. Run `mds doctor --ci` before any git mutation.
|
|
24
|
-
3. Review `git status --short` and list changed files.
|
|
25
|
-
4. Confirm any intentionally omitted files with the developer before staging.
|
|
26
|
-
5. Publish through GitHub flow (branch push + PR).
|
|
27
|
-
6. Poll checks and unresolved feedback.
|
|
28
|
-
7. Fix failures locally, rerun Doctor, push updates, and poll again.
|
|
29
|
-
8. Repeat up to 5 cycles total.
|
|
30
|
-
|
|
31
|
-
## GitHub Skill Routing
|
|
32
|
-
|
|
33
|
-
Use GitHub workflows in this order when available:
|
|
34
|
-
|
|
35
|
-
1. `github` for repo/PR context and routing.
|
|
36
|
-
2. `yeet` for commit/push/open-or-update PR flow.
|
|
37
|
-
3. `gh-fix-ci` for failed checks/log inspection and CI-driven fix loops.
|
|
38
|
-
4. `gh-address-comments` when unresolved review threads are blocking merge.
|
|
39
|
-
|
|
40
|
-
## Merge Policy
|
|
41
|
-
|
|
42
|
-
Evaluate policy in this order:
|
|
43
|
-
|
|
44
|
-
1. Explicit user instruction in the current session.
|
|
45
|
-
2. Optional repo config at `project/release-policy.json`.
|
|
46
|
-
3. Defaults if config is absent.
|
|
47
|
-
|
|
48
|
-
Supported repo config shape:
|
|
49
|
-
|
|
50
|
-
```json
|
|
51
|
-
{
|
|
52
|
-
"wrapUp": {
|
|
53
|
-
"autoMergeTest": true,
|
|
54
|
-
"autoMergeMain": false
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
Default behavior:
|
|
60
|
-
|
|
61
|
-
- Auto-merge to `test`: enabled.
|
|
62
|
-
- Per-repo override: allowed.
|
|
63
|
-
- Auto-merge to `main`: never allowed.
|
|
64
|
-
|
|
65
|
-
If the workflow targets `main` directly (no `test` branch flow), stop before merge and tell the developer to merge manually.
|
|
66
|
-
|
|
67
|
-
## Guardrails
|
|
68
|
-
|
|
69
|
-
- Never auto-merge to `main`.
|
|
70
|
-
- Do not skip `mds doctor --ci` between fix cycles.
|
|
71
|
-
- Do not assume omitted files are intentional; confirm them.
|
|
72
|
-
- If checks or blocking threads still fail after 5 cycles, stop and request human help with a concise blocker summary.
|
|
1
|
+
---
|
|
2
|
+
mode: "agent"
|
|
3
|
+
description: "Run the MDS Wrap Up workflow with callable MDS MCP diagnostics and explicit fallback rules."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /wrap-up
|
|
7
|
+
|
|
8
|
+
Run the post-testing release wrap-up flow: final local checks, git inclusion confirmation, PR loop, and merge handling.
|
|
9
|
+
|
|
10
|
+
## Goal
|
|
11
|
+
|
|
12
|
+
When the developer says testing is complete, finish the handoff safely by:
|
|
13
|
+
|
|
14
|
+
1. Marking completed todo items.
|
|
15
|
+
2. Running `mds doctor --ci`.
|
|
16
|
+
3. Reviewing `git status` and confirming intentionally excluded files.
|
|
17
|
+
4. Running the publish/PR/check loop.
|
|
18
|
+
5. Handling merge according to policy defaults and repo overrides.
|
|
19
|
+
|
|
20
|
+
## Required Flow Order
|
|
21
|
+
|
|
22
|
+
1. Update `project/todo.md` only for tasks clearly completed in this session.
|
|
23
|
+
2. Run `mds doctor --ci` before any git mutation.
|
|
24
|
+
3. Review `git status --short` and list changed files.
|
|
25
|
+
4. Confirm any intentionally omitted files with the developer before staging.
|
|
26
|
+
5. Publish through GitHub flow (branch push + PR).
|
|
27
|
+
6. Poll checks and unresolved feedback.
|
|
28
|
+
7. Fix failures locally, rerun Doctor, push updates, and poll again.
|
|
29
|
+
8. Repeat up to 5 cycles total.
|
|
30
|
+
|
|
31
|
+
## GitHub Skill Routing
|
|
32
|
+
|
|
33
|
+
Use GitHub workflows in this order when available:
|
|
34
|
+
|
|
35
|
+
1. `github` for repo/PR context and routing.
|
|
36
|
+
2. `yeet` for commit/push/open-or-update PR flow.
|
|
37
|
+
3. `gh-fix-ci` for failed checks/log inspection and CI-driven fix loops.
|
|
38
|
+
4. `gh-address-comments` when unresolved review threads are blocking merge.
|
|
39
|
+
|
|
40
|
+
## Merge Policy
|
|
41
|
+
|
|
42
|
+
Evaluate policy in this order:
|
|
43
|
+
|
|
44
|
+
1. Explicit user instruction in the current session.
|
|
45
|
+
2. Optional repo config at `project/release-policy.json`.
|
|
46
|
+
3. Defaults if config is absent.
|
|
47
|
+
|
|
48
|
+
Supported repo config shape:
|
|
49
|
+
|
|
50
|
+
```json
|
|
51
|
+
{
|
|
52
|
+
"wrapUp": {
|
|
53
|
+
"autoMergeTest": true,
|
|
54
|
+
"autoMergeMain": false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Default behavior:
|
|
60
|
+
|
|
61
|
+
- Auto-merge to `test`: enabled.
|
|
62
|
+
- Per-repo override: allowed.
|
|
63
|
+
- Auto-merge to `main`: never allowed.
|
|
64
|
+
|
|
65
|
+
If the workflow targets `main` directly (no `test` branch flow), stop before merge and tell the developer to merge manually.
|
|
66
|
+
|
|
67
|
+
## Guardrails
|
|
68
|
+
|
|
69
|
+
- Never auto-merge to `main`.
|
|
70
|
+
- Do not skip `mds doctor --ci` between fix cycles.
|
|
71
|
+
- Do not assume omitted files are intentional; confirm them.
|
|
72
|
+
- If checks or blocking threads still fail after 5 cycles, stop and request human help with a concise blocker summary.
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "Super Stack Startup Skill"
|
|
3
|
-
description: "Instructions for running create-expo-super-stack while keeping packages/knowledge as the source of truth and handing off to phase-based app development."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Skill: Super Stack Startup
|
|
7
|
-
|
|
8
|
-
Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
|
|
9
|
-
|
|
10
|
-
## Main rule
|
|
11
|
-
|
|
12
|
-
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.
|
|
13
|
-
|
|
14
|
-
## Checks
|
|
15
|
-
|
|
16
|
-
- Confirm command runs from a parent directory where the app folder does not already exist.
|
|
17
|
-
- Confirm stack choices and MDS intake values are captured before generation.
|
|
18
|
-
- Confirm generated app includes project memory and onboarding next-step output.
|
|
19
|
-
- Confirm prompt and skill text stay thin and defer detailed behavior to the canonical knowledge package.
|
|
20
|
-
- Confirm unresolved context markers are resolved before coding begins.
|
|
21
|
-
- Confirm follow-up uses `mds continue` from inside the generated app folder.
|
|
22
|
-
|
|
23
|
-
## Preferred structure
|
|
24
|
-
|
|
25
|
-
- Keep startup conversation in plain language and summarize choices before execution.
|
|
26
|
-
- Keep generation details in scripts/flags, but keep user-facing flow conversational.
|
|
27
|
-
- Keep post-generation workflow phase-based using the generated `project/todo.md`, and derive that roadmap from normalized `project/info.md` before handoff.
|
|
28
|
-
- Prefer shared knowledge content over duplicating long onboarding prose in plugin or MCP wrappers.
|
|
29
|
-
|
|
30
|
-
## Example fix
|
|
31
|
-
|
|
32
|
-
- Problem: User runs generation inside an existing app folder and gets mixed state artifacts.
|
|
33
|
-
- Fix: Restart from parent directory, regenerate cleanly, then continue in a new app-folder session.
|
|
34
|
-
|
|
35
|
-
## Agent behavior
|
|
36
|
-
|
|
37
|
-
- Prevent ambiguous execution context and confirm folder target before running generation.
|
|
38
|
-
- Delegate framework/template primitives to upstream Expo tooling, then apply MDS memory shaping, defaults, and continue-workflow conventions.
|
|
39
|
-
- Update `packages/knowledge` first when the wording or flow changes, then regenerate downstream surfaces from it.
|
|
1
|
+
---
|
|
2
|
+
name: "Super Stack Startup Skill"
|
|
3
|
+
description: "Instructions for running create-expo-super-stack while keeping packages/knowledge as the source of truth and handing off to phase-based app development."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skill: Super Stack Startup
|
|
7
|
+
|
|
8
|
+
Use when kicking off a new app with `create-expo-super-stack` and transitioning into phase-based MDS development.
|
|
9
|
+
|
|
10
|
+
## Main rule
|
|
11
|
+
|
|
12
|
+
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.
|
|
13
|
+
|
|
14
|
+
## Checks
|
|
15
|
+
|
|
16
|
+
- Confirm command runs from a parent directory where the app folder does not already exist.
|
|
17
|
+
- Confirm stack choices and MDS intake values are captured before generation.
|
|
18
|
+
- Confirm generated app includes project memory and onboarding next-step output.
|
|
19
|
+
- Confirm prompt and skill text stay thin and defer detailed behavior to the canonical knowledge package.
|
|
20
|
+
- Confirm unresolved context markers are resolved before coding begins.
|
|
21
|
+
- Confirm follow-up uses `mds continue` from inside the generated app folder.
|
|
22
|
+
|
|
23
|
+
## Preferred structure
|
|
24
|
+
|
|
25
|
+
- Keep startup conversation in plain language and summarize choices before execution.
|
|
26
|
+
- Keep generation details in scripts/flags, but keep user-facing flow conversational.
|
|
27
|
+
- Keep post-generation workflow phase-based using the generated `project/todo.md`, and derive that roadmap from normalized `project/info.md` before handoff.
|
|
28
|
+
- Prefer shared knowledge content over duplicating long onboarding prose in plugin or MCP wrappers.
|
|
29
|
+
|
|
30
|
+
## Example fix
|
|
31
|
+
|
|
32
|
+
- Problem: User runs generation inside an existing app folder and gets mixed state artifacts.
|
|
33
|
+
- Fix: Restart from parent directory, regenerate cleanly, then continue in a new app-folder session.
|
|
34
|
+
|
|
35
|
+
## Agent behavior
|
|
36
|
+
|
|
37
|
+
- Prevent ambiguous execution context and confirm folder target before running generation.
|
|
38
|
+
- Delegate framework/template primitives to upstream Expo tooling, then apply MDS memory shaping, defaults, and continue-workflow conventions.
|
|
39
|
+
- Update `packages/knowledge` first when the wording or flow changes, then regenerate downstream surfaces from it.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"servers": {
|
|
3
|
-
"mds": {
|
|
4
|
-
"command": "npx",
|
|
5
|
-
"args": [
|
|
6
|
-
"-y",
|
|
7
|
-
"@mr.dj2u/mcp-server@0.1.
|
|
8
|
-
]
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"servers": {
|
|
3
|
+
"mds": {
|
|
4
|
+
"command": "npx",
|
|
5
|
+
"args": [
|
|
6
|
+
"-y",
|
|
7
|
+
"@mr.dj2u/mcp-server@0.1.7"
|
|
8
|
+
]
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "MDS"
|
|
3
|
-
description: "MDS Expo project intelligence agent for Doctor, onboarding, deploy checks, and phase continuation."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# MDS Agent
|
|
7
|
-
|
|
8
|
-
You are the Mr. DJ's Dev Suite agent for Expo projects. Treat callable MDS MCP tools as the runtime behavior surface and prompt markdown as guidance only.
|
|
9
|
-
|
|
10
|
-
## Tool Routing
|
|
11
|
-
|
|
12
|
-
- Use `doctor_scan_project` before release or broad refactors.
|
|
13
|
-
- Use `doctor_scan_file` for focused route, env, SSR, or API changes.
|
|
14
|
-
- Use `generate_refactor_plan` before moving architecture across folders.
|
|
15
|
-
- Use `generate_deploy_checklist` before release or client handoff.
|
|
16
|
-
- Use `list_skills`, `get_skill`, and `get_guide` before giving framework-specific guidance.
|
|
17
|
-
|
|
18
|
-
## Guardrails
|
|
19
|
-
|
|
20
|
-
- Keep project intent in `project/info.md` and technical rules in `project/guidelines.md`.
|
|
21
|
-
- Prefer Expo-owned guidance for framework mechanics; MDS adds project memory, checks, defaults, and workflows.
|
|
22
|
-
- Do not skip unresolved `# TodoForContext(optional):` markers before implementation.
|
|
1
|
+
---
|
|
2
|
+
name: "MDS"
|
|
3
|
+
description: "MDS Expo project intelligence agent for Doctor, onboarding, deploy checks, and phase continuation."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# MDS Agent
|
|
7
|
+
|
|
8
|
+
You are the Mr. DJ's Dev Suite agent for Expo projects. Treat callable MDS MCP tools as the runtime behavior surface and prompt markdown as guidance only.
|
|
9
|
+
|
|
10
|
+
## Tool Routing
|
|
11
|
+
|
|
12
|
+
- Use `doctor_scan_project` before release or broad refactors.
|
|
13
|
+
- Use `doctor_scan_file` for focused route, env, SSR, or API changes.
|
|
14
|
+
- Use `generate_refactor_plan` before moving architecture across folders.
|
|
15
|
+
- Use `generate_deploy_checklist` before release or client handoff.
|
|
16
|
+
- Use `list_skills`, `get_skill`, and `get_guide` before giving framework-specific guidance.
|
|
17
|
+
|
|
18
|
+
## Guardrails
|
|
19
|
+
|
|
20
|
+
- Keep project intent in `project/info.md` and technical rules in `project/guidelines.md`.
|
|
21
|
+
- Prefer Expo-owned guidance for framework mechanics; MDS adds project memory, checks, defaults, and workflows.
|
|
22
|
+
- Do not skip unresolved `# TodoForContext(optional):` markers before implementation.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!-- BEGIN MDS COPILOT INSTRUCTIONS -->
|
|
2
|
-
# Mr. DJ's Dev Suite Copilot Instructions
|
|
3
|
-
|
|
4
|
-
- Treat `project/` as the source of truth for product intent, roadmap, style, and technical rules.
|
|
5
|
-
- Prefer callable MDS MCP tools before broad edits: `doctor_scan_project`, `doctor_scan_file`, `generate_refactor_plan`, and `generate_deploy_checklist`.
|
|
6
|
-
- Use `list_skills`, `get_skill`, and `get_guide` for MDS guidance, while delegating framework mechanics to official Expo/React Native guidance when available.
|
|
7
|
-
- Keep route files thin, env secrets server-only, and release work gated by Doctor checks.
|
|
8
|
-
<!-- END MDS COPILOT INSTRUCTIONS -->
|
|
1
|
+
<!-- BEGIN MDS COPILOT INSTRUCTIONS -->
|
|
2
|
+
# Mr. DJ's Dev Suite Copilot Instructions
|
|
3
|
+
|
|
4
|
+
- Treat `project/` as the source of truth for product intent, roadmap, style, and technical rules.
|
|
5
|
+
- Prefer callable MDS MCP tools before broad edits: `doctor_scan_project`, `doctor_scan_file`, `generate_refactor_plan`, and `generate_deploy_checklist`.
|
|
6
|
+
- Use `list_skills`, `get_skill`, and `get_guide` for MDS guidance, while delegating framework mechanics to official Expo/React Native guidance when available.
|
|
7
|
+
- Keep route files thin, env secrets server-only, and release work gated by Doctor checks.
|
|
8
|
+
<!-- END MDS COPILOT INSTRUCTIONS -->
|