hero-mmt-kit 1.1.5 → 1.1.6

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/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ Notable changes to `hero-mmt-kit` are documented here from `1.0.0` onward.
4
4
 
5
5
  Format follows [Keep a Changelog](https://keepachangelog.com/); versioning follows [SemVer](https://semver.org/).
6
6
 
7
+ ## [1.1.6] - 2026-07-27
8
+
9
+ ### Changed
10
+
11
+ - Merge `AGENT.md` and `CLAUDE.md`.
12
+ - Added to `CLAUDE.md` git and plan mode guards.
13
+
7
14
  ## [1.1.4] - 2026-07-20
8
15
 
9
16
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hero-mmt-kit",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "A focused Claude Code framework for human-led development — seven direct-use skills (planning, coding, reviewing, unit testing, security, MR review, strict mode) plus an on-demand report writer, with simple state tracking. Works for new and existing (brownfield) projects.",
5
5
  "keywords": [
6
6
  "claude-code",
package/src/init.cjs CHANGED
@@ -51,9 +51,7 @@ async function init(opts) {
51
51
 
52
52
  // ---- 2. CLAUDE.md / AGENTS.md managed block ----
53
53
  const claudeInner = renderString(fs.readFileSync(path.join(templates, 'CLAUDE.md.tmpl'), 'utf8'), vars);
54
- const agentsInner = renderString(fs.readFileSync(path.join(templates, 'AGENTS.md.tmpl'), 'utf8'), vars);
55
54
  log.ok(`CLAUDE.md: ${mergeManagedBlock(path.join(target, 'CLAUDE.md'), claudeInner, 'Project')}`);
56
- log.ok(`AGENTS.md: ${mergeManagedBlock(path.join(target, 'AGENTS.md'), agentsInner, null)}`);
57
55
 
58
56
  // ---- 3. Claude Code hooks + settings ----
59
57
  ensureDir(path.join(target, '.claude', 'hooks'));
package/src/update.cjs CHANGED
@@ -40,9 +40,7 @@ async function update(opts) {
40
40
 
41
41
  // Managed blocks (content outside markers preserved)
42
42
  const claudeInner = renderString(fs.readFileSync(path.join(templates, 'CLAUDE.md.tmpl'), 'utf8'), vars);
43
- const agentsInner = renderString(fs.readFileSync(path.join(templates, 'AGENTS.md.tmpl'), 'utf8'), vars);
44
43
  log.ok(`CLAUDE.md: ${mergeManagedBlock(path.join(target, 'CLAUDE.md'), claudeInner, 'Project')}`);
45
- log.ok(`AGENTS.md: ${mergeManagedBlock(path.join(target, 'AGENTS.md'), agentsInner, null)}`);
46
44
 
47
45
  ensureDir(path.join(target, '.claude', 'hooks'));
48
46
  for (const h of ['git-guard.cjs', 'stop-reminder.cjs', 'active-state-bridge.cjs']) {
@@ -16,8 +16,55 @@ Core Hero skills:
16
16
 
17
17
  ### Non-negotiables
18
18
  - **Gates:** for risky or hard-to-reverse changes, use Plan Mode (`EnterPlanMode` → `ExitPlanMode`) for real sign-off — not a prose promise.
19
+ - **Plan Mode:** do not enter Plan Mode unless the user explicitly requests planning. When they do, invoke `hero-planning`.
20
+ - **Git:** do not check out a branch, commit, or merge unless the user explicitly requests it.
19
21
  - **Enforcement:** hooks installed under `.claude/` — `git-guard` (PreToolUse on Bash), `session-bridge` (PostToolUse), `stop-reminder` (Stop). Don't bypass them.
20
22
  - **GitNexus (if installed):** skip on empty repos; use impact/context analysis for non-trivial code changes and stale-index checks.
21
23
  - **Skills (if installed):** invoke relevant process skills via the `Skill` tool; do not load unrelated skill/docs context.
22
24
  - **Language:** framework instructions, skills, rules, and templates are English-only. Respond to the user in the same language they use in chat unless they request another language.
23
25
  - **Sub-agent delegation is optional, not automatic.** Sub-agents are best for research and review; use one when it helps, and skip it when direct work is clearer. Don't hardcode model IDs — let the harness resolve the active model.
26
+
27
+ ## Response Style
28
+
29
+ ### Core Rule
30
+
31
+ - Min words, max information density.
32
+ - Remove filler words.
33
+ - Keep only important keywords/details.
34
+ - Short sentences.
35
+ - Prefer symbols over long explanations.
36
+
37
+ ### Writing Style
38
+
39
+ - Use:
40
+ - `=` for meaning/result
41
+ - `->` for flow/result
42
+ - `:` for explanation
43
+ - `-` for bullet points
44
+ - `|` for compact comparisons
45
+
46
+ - Avoid:
47
+ - long introductions
48
+ - repeated context
49
+ - polite filler
50
+ - motivational text
51
+ - unnecessary transitions
52
+
53
+ ### Grammar
54
+
55
+ - Basic grammar only.
56
+ - Fragments acceptable if clear.
57
+ - Skip articles/pronouns when unnecessary.
58
+
59
+ ### Answer Format
60
+
61
+ - Start directly with answer.
62
+ - Most important info first.
63
+ - 1-3 lines preferred.
64
+ - Expand only if user asks.
65
+
66
+ ### Default Behavior
67
+
68
+ - Assume user technical.
69
+ - No over-explaining.
70
+ - No tutorial unless requested.
@@ -1,16 +0,0 @@
1
- # Agent Instructions
2
-
3
- > This is a human-led Claude Code workflow: the developer decides what to work on and invokes the relevant skill directly. Use `using-hero` for the overview when it's unclear which skill applies next.
4
-
5
- Core Hero skills: `hero-planning`, `hero-coding`, `hero-reviewing`, `hero-unit-test`, `hero-security`, `hero-strict`.
6
-
7
- Minimum non-negotiables:
8
- 1. Use `using-hero` to pick the right skill; don't run heavy process for small tasks.
9
- 2. **Resume (fast path):** read `.hero-mmt-kit/session.json` first → then the `resumePath` it names → then the latest artifact. Read [ACTIVE_STATE](docs/ACTIVE_STATE.md) only to switch work items or when session is blank/stale.
10
- 3. Use Plan Mode for risky or hard-to-reverse changes before editing.
11
- 4. Read only the docs the current skill needs; avoid loading unrelated context.
12
- 5. Framework instructions, skills, rules, and templates are English-only; respond to the user in the same language they use in chat unless they request another language.
13
- 6. Do not bypass hooks, checks, or verification.
14
- 7. Use GitNexus for impact/context analysis on non-trivial code changes when available.
15
- 8. Sub-agent delegation is optional, not automatic — use it for research and review when it helps; not every task needs one. Don't hardcode model IDs.
16
- 9. Keep outputs concise: findings, decisions, risks, next steps.