chore(speckit): install & customize Spec-Kit for dotCMS (legacy-aware, ADR-gated)#36416
Open
nollymar wants to merge 2 commits into
Open
chore(speckit): install & customize Spec-Kit for dotCMS (legacy-aware, ADR-gated)#36416nollymar wants to merge 2 commits into
nollymar wants to merge 2 commits into
Conversation
…, ADR-gated) Install GitHub Spec-Kit v0.12.4 (Claude Code skills) and tailor it to dotCMS: - Constitution (.specify/memory/constitution.md): legacy-aware development (com.dotmarketing.* vs com.dotcms.*), Config/Logger + Maven + security rules, and the ADR law (mandatory consultation in plan phase; never create ADRs). - ADR integration in /speckit-plan (upgrade-safe, no shipped files edited): read-only adr-context.sh helper (gh -> platform-adrs INDEX.md), /speckit-adr-context skill, a mandatory before_plan hook in extensions.yml, and an ADR Alignment gate in the plan-template override. - Two spec flows: /speckit-specify (feature) and new /speckit-specify-fix (issue/bug resolution) with a defect-framed issue template; both funnel into /speckit-plan so ADR + legacy gates apply to fixes too. - Template overrides (.specify/templates/overrides/) add Legacy Impact + ADR Alignment; docs in .specify/CUSTOMIZATIONS.md and a CLAUDE.md pointer. ADRs are never created by Spec-Kit; they live only in dotCMS/platform-adrs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Contributor
🤖 dotBot Review (Bedrock)Reviewed 7 file(s); 12 candidate(s) → 6 confirmed, 0 uncertain (unverified, kept for review).
Confirmed findings
us.deepseek.r1-v1:0 · Run: #28641759022 · tokens: in: 78745 · out: 19648 · total: 98393 · calls: 25 · est. ~$0.212 |
6 tasks
Member
Author
|
Tracking task: #36417 |
Per team requirement: no implementation code before tests are written, developer-approved, and confirmed failing (Red). - Constitution Principle V rewritten to Test-First/TDD (NON-NEGOTIABLE) with the 3-gate rule and the explicit "if a test type can't be implemented, the dev must say so and why" clause (v1.0.0 -> v1.1.0). - New tasks-template override: tests are MANDATORY (stock template marked them optional); every user story is ordered Tests -> [GATE] dev approval -> [GATE] Red -> Implementation, with a dotCMS test-type table (unit/integration/postman/ karate/e2e). - plan-template override: added a Test Strategy (TDD) section and folded Principle V into the Constitution Check gate. - Updated CUSTOMIZATIONS.md and the CLAUDE.md pointer. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Installs GitHub Spec-Kit v0.12.4 (Claude Code skills) into
dotCMS/coreand customizes it for dotCMS. Standard flow:/speckit-specifyor/speckit-specify-fix→/speckit-plan→/speckit-tasks→/speckit-implement.Why (dotCMS-specific requirements)
com.dotcms.*and legacycom.dotmarketing.*; specs/plans must account for that, not assume greenfield.dotCMS/platform-adrs; every/speckit-planmust consult relevant ones as binding input.platform-adrsvia its ownnew-adr.sh.How
.specify/memory/constitution.md): legacy-aware principle + Critical Rules + ADR law (mandatory consultation, never-create guardrail). Loaded by every skill.adr-context.sh(gh→platform-adrs/INDEX.md),/speckit-adr-contextskill, a mandatorybefore_planhook inextensions.yml, and an ADR Alignment gate in the plan-template override./speckit-specify(feature) + new/speckit-specify-fix(defect-framed issue template). Both funnel into/speckit-plan, so fixes get the ADR + legacy gates too..specify/templates/overrides/and net-new files;resolve_templateprefersoverrides/. See.specify/CUSTOMIZATIONS.md.Verification
resolve_template→ overrides for spec/plan, issue template for the fix flow ✅adr-context.shreturns real ADRs (e.g. ADR-0009/0018) and exits 0 on no-match ✅extensions.ymlvalid YAML;create-new-feature.shdry-run OK ✅CLAUDE.mdmodified) ✅/speckit-planrun to watch thebefore_planhook fire end-to-end.Note
Spec-Kit ships a native
bugextension, intentionally not used because its assess→fix→test flow bypasses/speckit-plan(and thus the ADR gate). Rationale in.specify/CUSTOMIZATIONS.md.🤖 Generated with Claude Code
This PR fixes: #36417