ma-agents 3.14.0 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lib/agents.js +2 -2
- package/lib/bmad-customize/bmm-qa.customize.yaml +3 -3
- package/lib/bmad-extension/.claude-plugin/marketplace.json.template +2 -1
- package/lib/bmad-extension/skills/bmad-dev-epic/SKILL.md +101 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/bmad-skill-manifest.yaml +3 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/checklist.md +44 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/customize.toml +54 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/references/story-pipeline.md +112 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-01-intake.md +59 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-02-plan-waves.md +56 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-03-epic-branch.md +35 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-04-run-waves.md +49 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-05-epic-adversarial.md +31 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-06-release.md +57 -0
- package/lib/bmad-extension/skills/bmad-dev-epic/steps/step-07-report.md +40 -0
- package/lib/bmad-extension/skills/ma-agent-sqa/SKILL.md +3 -3
- package/lib/bmad-extension/skills/ma-agent-sqa/bmad-skill-manifest.yaml +1 -1
- package/lib/bmad-extension/skills/module-help.csv +2 -1
- package/lib/bmad-extension/skills/module.yaml +1 -1
- package/lib/bmad-extension/skills/sqa-audit/SKILL.md +2 -2
- package/lib/bmad-extension/skills/sqa-ieee12207/SKILL.md +3 -3
- package/lib/bmad-extension/skills/sqa-requirements-quality/SKILL.md +2 -2
- package/lib/bmad-extension-plugin/.claude-plugin/marketplace.json +3 -2
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/SKILL.md +101 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/bmad-skill-manifest.yaml +3 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/checklist.md +44 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/customize.toml +54 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/references/story-pipeline.md +112 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-01-intake.md +59 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-02-plan-waves.md +56 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-03-epic-branch.md +35 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-04-run-waves.md +49 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-05-epic-adversarial.md +31 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-06-release.md +57 -0
- package/lib/bmad-extension-plugin/skills/bmad-dev-epic/steps/step-07-report.md +40 -0
- package/lib/bmad-extension-plugin/skills/ma-agent-sqa/SKILL.md +3 -3
- package/lib/bmad-extension-plugin/skills/ma-agent-sqa/bmad-skill-manifest.yaml +1 -1
- package/lib/bmad-extension-plugin/skills/module-help.csv +2 -1
- package/lib/bmad-extension-plugin/skills/module.yaml +1 -1
- package/lib/bmad-extension-plugin/skills/sqa-audit/SKILL.md +2 -2
- package/lib/bmad-extension-plugin/skills/sqa-ieee12207/SKILL.md +3 -3
- package/lib/bmad-extension-plugin/skills/sqa-requirements-quality/SKILL.md +2 -2
- package/lib/templates/instruction-block-git.template.md +25 -25
- package/lib/templates/instruction-block-onprem.template.md +86 -86
- package/lib/templates/instruction-block-universal.template.md +29 -29
- package/package.json +1 -1
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
## On-Prem / Local-LLM Guardrails
|
|
2
|
-
|
|
3
|
-
These rules apply ONLY when this project is installed with `profile: on-prem`.
|
|
4
|
-
They are appended to the universal block by the composer in `lib/installer.js`.
|
|
5
|
-
Local LLMs (Nemotron, Qwen, DeepSeek, Llama-3, etc. served via vLLM, Ollama, or
|
|
6
|
-
TGI) fail in patterns cloud LLMs rarely exhibit — the rules below pin those
|
|
7
|
-
failure modes down explicitly. Keep these rules verbatim in every response
|
|
8
|
-
context where tool use is possible.
|
|
9
|
-
|
|
10
|
-
### Reasoning mode: `/no_think` on planning-phase prompts
|
|
11
|
-
|
|
12
|
-
Local reasoning-capable models (Nemotron-variants and similar) default to
|
|
13
|
-
chain-of-thought reasoning that bloats planning-phase prompts with internal
|
|
14
|
-
deliberation the operator does not need to read. Prepend the literal token
|
|
15
|
-
`/no_think` as the first line of any planning-phase system prompt or user turn
|
|
16
|
-
you compose. The token is consumed by the serving layer and suppresses the
|
|
17
|
-
model's reasoning trace on that turn.
|
|
18
|
-
|
|
19
|
-
- Planning-phase turns (PM, Architect, Tech Lead): begin the turn with
|
|
20
|
-
`/no_think` on its own line. Reasoning-mode OFF.
|
|
21
|
-
- Implementation-phase turns (Dev): omit `/no_think`. Reasoning-mode ON is
|
|
22
|
-
desirable for stepwise code synthesis and debugging.
|
|
23
|
-
- Review / QA turns: omit `/no_think` when the review benefits from explicit
|
|
24
|
-
reasoning (root-cause analysis). Include `/no_think` for mechanical checks
|
|
25
|
-
(lint, style, formatting).
|
|
26
|
-
|
|
27
|
-
If the downstream serving layer does not recognize `/no_think`, it is a no-op
|
|
28
|
-
text token — safe to include unconditionally on planning turns.
|
|
29
|
-
|
|
30
|
-
### No writes to `~/.claude/` or any user home directory
|
|
31
|
-
|
|
32
|
-
Local LLMs frequently hallucinate paths under `~/.claude/`, `~/.cache/`,
|
|
33
|
-
`~/Library/`, or `%APPDATA%` — imitating patterns learned from Claude Code and
|
|
34
|
-
Cursor training data. These paths are OUTSIDE the project and cross-contaminate
|
|
35
|
-
other projects on the same machine.
|
|
36
|
-
|
|
37
|
-
- NEVER create, write, or modify files under `~/.claude/`, `~/.cache/`,
|
|
38
|
-
`~/Library/`, `~/AppData/`, `%APPDATA%`, or any path that resolves outside
|
|
39
|
-
the current project directory.
|
|
40
|
-
- All project artifacts — code, configuration, logs, scratch notes, and agent
|
|
41
|
-
state — MUST land under the current working directory (the project root) or
|
|
42
|
-
an explicitly-named subdirectory thereof.
|
|
43
|
-
- When a tool call appears to target a home-directory path, refuse the write
|
|
44
|
-
and respond in text explaining the violation. Ask the user for an explicit
|
|
45
|
-
in-project path before proceeding.
|
|
46
|
-
|
|
47
|
-
### No `str_replace_editor` or Claude Code-specific tools
|
|
48
|
-
|
|
49
|
-
Local LLMs hallucinate Anthropic-proprietary tools — most commonly
|
|
50
|
-
`str_replace_editor`, `text_editor_20241022`, and `computer_use_preview` — that
|
|
51
|
-
do NOT exist outside the Anthropic API. Calling them against a local-LLM
|
|
52
|
-
serving layer produces a tool-not-found error or, worse, a silent no-op.
|
|
53
|
-
|
|
54
|
-
- Do NOT emit tool calls named `str_replace_editor`, `text_editor_*`,
|
|
55
|
-
`computer_use_*`, or any other tool whose name includes `str_replace_editor`
|
|
56
|
-
or matches Anthropic-specific tool schemas.
|
|
57
|
-
- Use only tools enumerated in the active tool manifest (`MANIFEST.yaml`) or
|
|
58
|
-
the IDE's native tool surface (Roo Code, Cline, OpenCode native tools).
|
|
59
|
-
- When you want to edit a file, use the native file-write tool of the active
|
|
60
|
-
agent — not `str_replace_editor`. If unsure what tool is available, list
|
|
61
|
-
available tools or ask the user before emitting a tool call.
|
|
62
|
-
|
|
63
|
-
### Per-phase reasoning and sampling guidance
|
|
64
|
-
|
|
65
|
-
Local LLMs require tighter sampling control than cloud LLMs. Use these defaults
|
|
66
|
-
unless the serving layer overrides them.
|
|
67
|
-
|
|
68
|
-
- **Planning phase (PM, Architect, Tech Lead):**
|
|
69
|
-
- Reasoning: OFF (`/no_think` prepended).
|
|
70
|
-
- Temperature: low (0.0 – 0.3). Planning artifacts should be deterministic
|
|
71
|
-
and reproducible.
|
|
72
|
-
- Top-p: 0.9 or unset. Top-k: unset.
|
|
73
|
-
- Max tokens: generous (8k+) — planning documents are long.
|
|
74
|
-
- **Implementation phase (Dev):**
|
|
75
|
-
- Reasoning: ON (omit `/no_think`).
|
|
76
|
-
- Temperature: moderate (0.3 – 0.6). Code synthesis benefits from controlled
|
|
77
|
-
exploration but not creative rewriting.
|
|
78
|
-
- Top-p: 0.95 or unset. Top-k: unset.
|
|
79
|
-
- Max tokens: generous (8k+) — full-file rewrites are common.
|
|
80
|
-
- **Review / QA phase:**
|
|
81
|
-
- Reasoning: ON for root-cause analysis; OFF for mechanical checks.
|
|
82
|
-
- Temperature: low (0.0 – 0.2). Reviews should be deterministic.
|
|
83
|
-
|
|
84
|
-
If the serving layer applies its own sampler defaults, the per-phase guidance
|
|
85
|
-
above is advisory — but the phase boundary and `/no_think` placement are
|
|
86
|
-
load-bearing and MUST be honored on every turn.
|
|
1
|
+
## On-Prem / Local-LLM Guardrails
|
|
2
|
+
|
|
3
|
+
These rules apply ONLY when this project is installed with `profile: on-prem`.
|
|
4
|
+
They are appended to the universal block by the composer in `lib/installer.js`.
|
|
5
|
+
Local LLMs (Nemotron, Qwen, DeepSeek, Llama-3, etc. served via vLLM, Ollama, or
|
|
6
|
+
TGI) fail in patterns cloud LLMs rarely exhibit — the rules below pin those
|
|
7
|
+
failure modes down explicitly. Keep these rules verbatim in every response
|
|
8
|
+
context where tool use is possible.
|
|
9
|
+
|
|
10
|
+
### Reasoning mode: `/no_think` on planning-phase prompts
|
|
11
|
+
|
|
12
|
+
Local reasoning-capable models (Nemotron-variants and similar) default to
|
|
13
|
+
chain-of-thought reasoning that bloats planning-phase prompts with internal
|
|
14
|
+
deliberation the operator does not need to read. Prepend the literal token
|
|
15
|
+
`/no_think` as the first line of any planning-phase system prompt or user turn
|
|
16
|
+
you compose. The token is consumed by the serving layer and suppresses the
|
|
17
|
+
model's reasoning trace on that turn.
|
|
18
|
+
|
|
19
|
+
- Planning-phase turns (PM, Architect, Tech Lead): begin the turn with
|
|
20
|
+
`/no_think` on its own line. Reasoning-mode OFF.
|
|
21
|
+
- Implementation-phase turns (Dev): omit `/no_think`. Reasoning-mode ON is
|
|
22
|
+
desirable for stepwise code synthesis and debugging.
|
|
23
|
+
- Review / QA turns: omit `/no_think` when the review benefits from explicit
|
|
24
|
+
reasoning (root-cause analysis). Include `/no_think` for mechanical checks
|
|
25
|
+
(lint, style, formatting).
|
|
26
|
+
|
|
27
|
+
If the downstream serving layer does not recognize `/no_think`, it is a no-op
|
|
28
|
+
text token — safe to include unconditionally on planning turns.
|
|
29
|
+
|
|
30
|
+
### No writes to `~/.claude/` or any user home directory
|
|
31
|
+
|
|
32
|
+
Local LLMs frequently hallucinate paths under `~/.claude/`, `~/.cache/`,
|
|
33
|
+
`~/Library/`, or `%APPDATA%` — imitating patterns learned from Claude Code and
|
|
34
|
+
Cursor training data. These paths are OUTSIDE the project and cross-contaminate
|
|
35
|
+
other projects on the same machine.
|
|
36
|
+
|
|
37
|
+
- NEVER create, write, or modify files under `~/.claude/`, `~/.cache/`,
|
|
38
|
+
`~/Library/`, `~/AppData/`, `%APPDATA%`, or any path that resolves outside
|
|
39
|
+
the current project directory.
|
|
40
|
+
- All project artifacts — code, configuration, logs, scratch notes, and agent
|
|
41
|
+
state — MUST land under the current working directory (the project root) or
|
|
42
|
+
an explicitly-named subdirectory thereof.
|
|
43
|
+
- When a tool call appears to target a home-directory path, refuse the write
|
|
44
|
+
and respond in text explaining the violation. Ask the user for an explicit
|
|
45
|
+
in-project path before proceeding.
|
|
46
|
+
|
|
47
|
+
### No `str_replace_editor` or Claude Code-specific tools
|
|
48
|
+
|
|
49
|
+
Local LLMs hallucinate Anthropic-proprietary tools — most commonly
|
|
50
|
+
`str_replace_editor`, `text_editor_20241022`, and `computer_use_preview` — that
|
|
51
|
+
do NOT exist outside the Anthropic API. Calling them against a local-LLM
|
|
52
|
+
serving layer produces a tool-not-found error or, worse, a silent no-op.
|
|
53
|
+
|
|
54
|
+
- Do NOT emit tool calls named `str_replace_editor`, `text_editor_*`,
|
|
55
|
+
`computer_use_*`, or any other tool whose name includes `str_replace_editor`
|
|
56
|
+
or matches Anthropic-specific tool schemas.
|
|
57
|
+
- Use only tools enumerated in the active tool manifest (`MANIFEST.yaml`) or
|
|
58
|
+
the IDE's native tool surface (Roo Code, Cline, OpenCode native tools).
|
|
59
|
+
- When you want to edit a file, use the native file-write tool of the active
|
|
60
|
+
agent — not `str_replace_editor`. If unsure what tool is available, list
|
|
61
|
+
available tools or ask the user before emitting a tool call.
|
|
62
|
+
|
|
63
|
+
### Per-phase reasoning and sampling guidance
|
|
64
|
+
|
|
65
|
+
Local LLMs require tighter sampling control than cloud LLMs. Use these defaults
|
|
66
|
+
unless the serving layer overrides them.
|
|
67
|
+
|
|
68
|
+
- **Planning phase (PM, Architect, Tech Lead):**
|
|
69
|
+
- Reasoning: OFF (`/no_think` prepended).
|
|
70
|
+
- Temperature: low (0.0 – 0.3). Planning artifacts should be deterministic
|
|
71
|
+
and reproducible.
|
|
72
|
+
- Top-p: 0.9 or unset. Top-k: unset.
|
|
73
|
+
- Max tokens: generous (8k+) — planning documents are long.
|
|
74
|
+
- **Implementation phase (Dev):**
|
|
75
|
+
- Reasoning: ON (omit `/no_think`).
|
|
76
|
+
- Temperature: moderate (0.3 – 0.6). Code synthesis benefits from controlled
|
|
77
|
+
exploration but not creative rewriting.
|
|
78
|
+
- Top-p: 0.95 or unset. Top-k: unset.
|
|
79
|
+
- Max tokens: generous (8k+) — full-file rewrites are common.
|
|
80
|
+
- **Review / QA phase:**
|
|
81
|
+
- Reasoning: ON for root-cause analysis; OFF for mechanical checks.
|
|
82
|
+
- Temperature: low (0.0 – 0.2). Reviews should be deterministic.
|
|
83
|
+
|
|
84
|
+
If the serving layer applies its own sampler defaults, the per-phase guidance
|
|
85
|
+
above is advisory — but the phase boundary and `/no_think` placement are
|
|
86
|
+
load-bearing and MUST be honored on every turn.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
# AI Agent Skills - Planning Instruction
|
|
2
|
-
|
|
3
|
-
You have access to a library of skills in your skills directory. Before starting any task:
|
|
4
|
-
|
|
5
|
-
1. Read the skill manifest at {{MANIFEST_PATH}}
|
|
6
|
-
2. Based on the task description, select which skills are relevant
|
|
7
|
-
3. Read only the selected skill files
|
|
8
|
-
4. Then proceed with the task
|
|
9
|
-
|
|
10
|
-
Always load skills marked with always_load: true.
|
|
11
|
-
Do not load skills that are not relevant to the current task.
|
|
12
|
-
|
|
13
|
-
## Respond in TEXT vs. create FILES
|
|
14
|
-
|
|
15
|
-
Choose your response medium deliberately. Defaulting to file creation when the user asked a question is a common failure mode — especially for coding agents running in web UIs.
|
|
16
|
-
|
|
17
|
-
- **Create or modify FILES when the user's request contains file-action keywords:** `create`, `write`, `generate`, `build`, `implement` (and obvious synonyms such as `add`, `produce`, `refactor`, `fix`, `update <file>`). These signal a concrete artifact is expected.
|
|
18
|
-
- **Respond in TEXT when the request contains text-response keywords:** `what do you think`, `how should we`, `discuss`, `opinion` (and obvious synonyms such as `explain`, `why`, `should I`, `compare`, `recommend`). These signal that a conversation is expected, not a deliverable.
|
|
19
|
-
- **If unsure, respond in TEXT.** A text answer can always be followed by file creation on confirmation; an unwanted file cannot be cleanly undone.
|
|
20
|
-
- **Never create `response.md`, `output.md`, or any similarly named scratch file as a reply.** A reply belongs in the chat transcript, not on disk.
|
|
21
|
-
- **Confirm file paths before writing.** When you are about to create or modify a file whose path the user has not explicitly named, state the intended path in text and wait for confirmation, unless the path is unambiguous from the task context.
|
|
22
|
-
|
|
23
|
-
## BMAD phase discipline
|
|
24
|
-
|
|
25
|
-
BMAD-METHOD organizes work into declared phases (analysis, planning, architecture, story-creation, implementation, review). Respect the currently declared phase.
|
|
26
|
-
|
|
27
|
-
- **Do not skip ahead to implementation during planning.** If the project is in a planning phase — or the user has asked for requirements, architecture, or a story — produce planning artifacts, not code.
|
|
28
|
-
- **Do not retroactively plan after you have already coded.** If implementation has already started, flag the gap instead of fabricating back-dated planning documents.
|
|
29
|
-
- The declared phase is established by the active skill, the story status, or an explicit statement from the user. When none of these is available, ask before assuming.
|
|
1
|
+
# AI Agent Skills - Planning Instruction
|
|
2
|
+
|
|
3
|
+
You have access to a library of skills in your skills directory. Before starting any task:
|
|
4
|
+
|
|
5
|
+
1. Read the skill manifest at {{MANIFEST_PATH}}
|
|
6
|
+
2. Based on the task description, select which skills are relevant
|
|
7
|
+
3. Read only the selected skill files
|
|
8
|
+
4. Then proceed with the task
|
|
9
|
+
|
|
10
|
+
Always load skills marked with always_load: true.
|
|
11
|
+
Do not load skills that are not relevant to the current task.
|
|
12
|
+
|
|
13
|
+
## Respond in TEXT vs. create FILES
|
|
14
|
+
|
|
15
|
+
Choose your response medium deliberately. Defaulting to file creation when the user asked a question is a common failure mode — especially for coding agents running in web UIs.
|
|
16
|
+
|
|
17
|
+
- **Create or modify FILES when the user's request contains file-action keywords:** `create`, `write`, `generate`, `build`, `implement` (and obvious synonyms such as `add`, `produce`, `refactor`, `fix`, `update <file>`). These signal a concrete artifact is expected.
|
|
18
|
+
- **Respond in TEXT when the request contains text-response keywords:** `what do you think`, `how should we`, `discuss`, `opinion` (and obvious synonyms such as `explain`, `why`, `should I`, `compare`, `recommend`). These signal that a conversation is expected, not a deliverable.
|
|
19
|
+
- **If unsure, respond in TEXT.** A text answer can always be followed by file creation on confirmation; an unwanted file cannot be cleanly undone.
|
|
20
|
+
- **Never create `response.md`, `output.md`, or any similarly named scratch file as a reply.** A reply belongs in the chat transcript, not on disk.
|
|
21
|
+
- **Confirm file paths before writing.** When you are about to create or modify a file whose path the user has not explicitly named, state the intended path in text and wait for confirmation, unless the path is unambiguous from the task context.
|
|
22
|
+
|
|
23
|
+
## BMAD phase discipline
|
|
24
|
+
|
|
25
|
+
BMAD-METHOD organizes work into declared phases (analysis, planning, architecture, story-creation, implementation, review). Respect the currently declared phase.
|
|
26
|
+
|
|
27
|
+
- **Do not skip ahead to implementation during planning.** If the project is in a planning phase — or the user has asked for requirements, architecture, or a story — produce planning artifacts, not code.
|
|
28
|
+
- **Do not retroactively plan after you have already coded.** If implementation has already started, flag the gap instead of fabricating back-dated planning documents.
|
|
29
|
+
- The declared phase is established by the active skill, the story status, or an explicit statement from the user. When none of these is available, ask before assuming.
|