Skip to content

Install & customize Spec-Kit for spec-driven development in core #36417

Description

@nollymar

Description

Install and customize GitHub Spec-Kit (v0.12.4, Claude Code skills) in dotCMS/core to support spec-driven development, tailored to dotCMS's specific needs:

  1. Legacy-aware — the codebase mixes modern com.dotcms.* and legacy com.dotmarketing.*; specs and plans must account for that rather than assuming greenfield.
  2. ADRs feed the plan phase — ADRs live in the private repo dotCMS/platform-adrs. /speckit-plan must always consult relevant ADRs as binding input.
  3. Spec-Kit must never create ADRs — it may only propose them; ADRs are authored in platform-adrs via its own new-adr.sh process.
  4. Two spec flows — separate templates/commands for new features vs. issue/bug resolution.

Implemented in PR #36416.

Acceptance Criteria

  • Spec-Kit installed (.specify/) and /speckit-* skills available for Claude Code, additive (no existing files clobbered)
  • Constitution encodes legacy-aware development + dotCMS Critical Rules and is loaded by every skill
  • /speckit-plan consults dotCMS/platform-adrs automatically (read-only via gh), surfacing relevant ADRs as binding input, with an ADR Alignment gate in the plan output
  • Spec-Kit never creates/edits/commits ADRs anywhere; it only proposes them (guardrail enforced in constitution + skills + plan template)
  • Two spec flows exist: /speckit-specify (new feature) and /speckit-specify-fix (issue/bug resolution), both funneling into /speckit-plan
  • Customizations are upgrade-safe (overrides + net-new files) and documented in .specify/CUSTOMIZATIONS.md

Priority

Medium

Additional Context

Metadata

Metadata

Assignees

Type

Fields

No fields configured for Task.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions