Skip to content

han-core restructure: split into han-documentation and han-research#141

Merged
mxriverlynn merged 19 commits into
han-v5.0.0-alpha-1from
han-core-restructure
Jul 22, 2026
Merged

han-core restructure: split into han-documentation and han-research#141
mxriverlynn merged 19 commits into
han-v5.0.0-alpha-1from
han-core-restructure

Conversation

@mxriverlynn

@mxriverlynn mxriverlynn commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR splits the han-core plugin into three, extracting the documentation skills into a new han-documentation plugin and the pre-planning research skills plus the research-analyst agent into a new han-research plugin, so that each plugin owns a coherent slice of the suite and can be installed on its own without pulling in unrelated skills.

Behavior changes

The han-core plugin now carries only the shared specialist agent roster and the project-discovery skill. Its three documentation skills (project-documentation, architectural-decision-record, runbook) move to the new han-documentation plugin. Its three research skills (research, gap-analysis, issue-triage) plus the research-analyst agent move to the new han-research plugin. Both new plugins depend on han-communication and han-core.

Slash-command namespaces change for every moved entity, because a skill's namespace follows its plugin. For example, /han-core:research becomes /han-research:research, and the documentation skills move under /han-documentation:. Anyone who installed those skills through han-core directly, or who scripted the old command names, needs to update to the new namespaces.

The han meta-plugin still brings in everything: its dependency list now adds han-documentation and han-research, so /plugin install han installs the full suite as before. The marketplace manifest lists both new plugins. Users who installed individual plugins instead of the meta-plugin need to install the two new plugins themselves to keep the same coverage.

What to look at first

  • docs/plans/han-core-restructure/feature-specification.md and feature-implementation-plan.md hold the reasoning behind the split boundary (why documentation and research separate cleanly from the shared agent core).
  • han/.claude-plugin/plugin.json and .claude-plugin/marketplace.json are the manifest changes that keep the meta-plugin whole and register the new plugins.
  • The trailing docs commits are a reconciliation pass over shared surfaces (plugin index, skills and agents indexes, how-to guides) plus a readability audit that sweeps em-dashes and aligns agent-ownership claims with the new plugin homes. These are safe to skim once the split itself makes sense.

Five-part plugin shape for both: README front door, .claude-plugin and
.codex-plugin manifests at 1.0.0, empty skills/ and docs/ trees, and
vendored evidence-rule.md + yagni-rule.md copies. Both are bundled by
the han meta-plugin and registered in the marketplace.
…plugin homes

han-documentation receives project-documentation, architectural-decision-record,
and runbook; han-research receives research, gap-analysis, and issue-triage plus
the research-analyst agent. Each move is the atomic unit from the plan: skill
directory with references/, its long-form doc, and (research only) the agent
definition and agent doc. Pure git mv; reference rewrites land next.
Per-entity rewrites, never a blunt han-core: prefix replace: the research
skill and research-analyst doc now dispatch han-research:research-analyst,
the gap-analysis report template self-identifies as han-research:gap-analysis,
and han-atlassian's wrapper plus the han-plugin-builder composition example
invoke han-documentation:project-documentation. In the six moved long-form
docs, 22 of 23 relative agent links rewrite to the cross-plugin
han-core/docs/agents form; research.md's research-analyst link stays relative
because that agent moved with the doc. Every live surface that linked a moved
skill's doc or the research-analyst doc at its old han-core home now points at
the new plugin home, including han-core's own staying agent and
project-discovery docs.
han-reporting, han-feedback, and han-linear drop their vestigial han-core
dependencies (han-reporting keeps han-communication; the other two now
depend on nothing). han-atlassian adds han-documentation for its
project-documentation wrapper and keeps its direct han-core dependency.
han-core's claude, codex, and marketplace descriptions now describe the
slimmed plugin: the shared agent roster, project-discovery, and the
canonical rule files. han-core's codex keywords and default prompts no
longer name moved skills. han-atlassian and han-linear descriptions match
their new dependency edges on both surfaces. Verified with a scripted
marketplace/manifest consistency sweep: names, versions, dependency
closure, and no manifest advertising a skill its plugin no longer
carries.
CLAUDE.md's intro, layout tree, shipped-plugins paragraph, and
indexes-stay-complete convention now describe the twelve-plugin family with
han-documentation and han-research. CONTRIBUTING's plugin-placement guide,
dependency rules, and scaffolding steps match the new homes, including the
two agent-home exceptions. The choosing guide, root README, meta-plugin
README, concepts, and the extend-han how-to present the new topology, and
the extend-han worked example now uses han-documentation and han-atlassian
so every claim it makes about the real suite is true. The three vestigial
plugins' READMEs (han-reporting, han-linear, han-feedback) drop the false
'its skills dispatch shared han-core agents' claim and state their real
dependencies; han-core's front door describes the slimmed plugin; the
agents index prose admits han-research as an agent-owning plugin. All five
acceptance grep sweeps and the manifest consistency sweep pass.
@mxriverlynn mxriverlynn changed the title Plan: han-core restructure (feature specification) han-core restructure: split into han-documentation and han-research Jul 22, 2026
The test-planning skill split into automated-test-planning and manual-test-planning, and han-research now owns the research-analyst agent. Update the guidance canonical examples, the disambiguation table, the plugin README rules and template, and the coverage rule to match.
…spec

The code-overview long-form doc carried an em-dash the writing voice bans, and the code-overview-to-confluence doc dropped the TMPDIR fallback from its scratch-path examples.
…lings

The plan-work-items and stakeholder-summary long-form docs carried em-dashes the writing voice bans. The investigate skill was the only han-coding skill without an argument-hint and the only one quoting its name field.
…ries

The research-analyst long-form doc carried seven em-dashes the writing voice bans. Three boundary pointers ran one direction only: investigate pointed at automated-test-planning, code-overview pointed at architectural-analysis, and readability-guidance pointed at edit-for-readability, with nothing pointing back. Each reverse pointer is now in place.
readability-guidance, plan-implementation, and the runbook citation heading carried prose em-dashes the writing voice bans. Em-dashes that mirror literal output formats (jira and linear slice headings, the OWASP citation shape, the runbook section name) stay, because the docs must match what the skills actually write.
@mxriverlynn
mxriverlynn marked this pull request as ready for review July 22, 2026 20:23
@mxriverlynn
mxriverlynn merged commit 0f5fbbd into han-v5.0.0-alpha-1 Jul 22, 2026
2 checks passed
@mxriverlynn
mxriverlynn deleted the han-core-restructure branch July 22, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant