/mainframe-cobol-db2-classic:create-architectural-decision-record decision title, context, chosen decision, alternatives, stakeholdersfrom mainframe-cobol-db2-classic
Creates a structured Architectural Decision Record (ADR) as a Markdown document with front matter, coded consequences, alternatives, and references. Use when documenting architecture decisions or trade-offs.
Ships in mainframe-cobol-db2-classic. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a decision brief into a machine-parseable and human-readable ADR saved under /docs/adr/ with sequential numbering, standardized front matter, positive and negative consequences, rejected alternatives, implementation notes, and references.
Use $ARGUMENTS and the conversation context to extract:
| Input | Required | Rule |
|---|---|---|
| Decision title | Yes | Short noun phrase used in ADR-NNNN: [Decision Title] and the filename slug. |
| Context | Yes | Problem statement, constraints, business requirements, and environment. |
| Decision | Yes | The selected option and rationale. |
| Alternatives | Yes | At least one considered option with rejection rationale. |
| Stakeholders | Yes | Names, roles, or responsible teams for authors. |
If a required input cannot be determined, return blocked with the missing fields. In interactive environments, ask for the missing information before generating the ADR.
| Rule | Required format |
|---|---|
| Directory | /docs/adr/ |
| Filename | adr-NNNN-[title-slug].md |
| Numbering | Use the next sequential 4-digit number, for example adr-0001-database-selection.md. |
| Status | Start as Proposed unless the user specifies Accepted, Rejected, Superseded, or Deprecated. |
| Language | Precise, unambiguous, direct prose. |
| Multi-item sections | Use coded bullets with 3-4 letter codes plus 3 digits. |
| Consequences | Include both positive and negative consequences. |
| Alternatives | Include description and rejection reason for each alternative. |
| References | Include related ADRs, external documentation, standards, or None identified. |
| Code | Section | Example |
|---|---|---|
POS-001 | Positive consequences | Benefit, quality improvement, operational advantage. |
NEG-001 | Negative consequences | Trade-off, limitation, complexity, risk. |
ALT-001 | Alternatives considered | Description or rejection reason for a considered option. |
IMP-001 | Implementation notes | Rollout, migration, monitoring, success criteria. |
REF-001 | References | Related ADR, external documentation, standard. |
$ARGUMENTS and context./docs/adr/ if it exists and determine the next adr-NNNN number; use 0001 when no prior ADR exists./docs/adr/adr-NNNN-[title-slug].md.---
title: "ADR-NNNN: [Decision Title]"
status: "Proposed"
date: "YYYY-MM-DD"
authors: "[Stakeholder Names/Roles]"
tags: ["architecture", "decision"]
supersedes: ""
superseded_by: ""
---
# ADR-NNNN: [Decision Title]
## Status
**Proposed** | Accepted | Rejected | Superseded | Deprecated
## Context
[Problem statement, technical constraints, business requirements, and environmental factors requiring this decision.]
## Decision
[Chosen solution with clear rationale for selection.]
## Consequences
### Positive
- **POS-001**: [Beneficial outcomes and advantages]
- **POS-002**: [Performance, maintainability, scalability improvements]
- **POS-003**: [Alignment with architectural principles]
### Negative
- **NEG-001**: [Trade-offs, limitations, drawbacks]
- **NEG-002**: [Technical debt or complexity introduced]
- **NEG-003**: [Risks and future challenges]
## Alternatives Considered
### [Alternative 1 Name]
- **ALT-001**: **Description**: [Brief technical description]
- **ALT-002**: **Rejection Reason**: [Why this option was not selected]
### [Alternative 2 Name]
- **ALT-003**: **Description**: [Brief technical description]
- **ALT-004**: **Rejection Reason**: [Why this option was not selected]
## Implementation Notes
- **IMP-001**: [Key implementation considerations]
- **IMP-002**: [Migration or rollout strategy if applicable]
- **IMP-003**: [Monitoring and success criteria]
## References
- **REF-001**: [Related ADRs]
- **REF-002**: [External documentation]
- **REF-003**: [Standards or frameworks referenced]
adr-NNNN-[title-slug].md keeps chronology machine-sortable.[TBD].If older automation passes ${input:DecisionTitle}, ${input:Context}, ${input:Decision}, ${input:Alternatives}, or ${input:Stakeholders}, map those values into $ARGUMENTS fields. Preserve every multi-item section as coded bullets.
## ADR creation result
**Status:** created | blocked | failed
**ADR:** `docs/adr/adr-NNNN-<title-slug>.md`
**Decision:** <one-sentence summary>
**Authors:** <stakeholders>
### Inputs used
| Field | Value |
| --- | --- |
| Context | <summary> |
| Decision | <summary> |
| Alternatives | <count and names> |
| Stakeholders | <names/roles> |
### Validation
- Next ADR number selected: pass | fail
- Required sections populated: pass | fail
- Positive and negative consequences included: pass | fail
- Alternatives include rejection rationale: pass | fail
/docs/adr/ with filename adr-NNNN-[title-slug].md.title, status, date, authors, tags, supersedes, and superseded_by.POS-NNN and NEG-NNN coded bullets.ALT-NNN coded bullets.IMP-NNN and REF-NNN coded bullets.What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/cobol-classic-contextSupply COBOL, DB2, VSAM, and JCL modernization context: corpus layout, member conventions, target stack boundaries, evidence precedence, stage flow, and security rules. Use when starting any COBOL/DB2 modernization task, before analysis, design, implementation, verification, or delivery./cobol-db2-analysisAnalyze COBOL programs, copybooks, PERFORM and CALL structure, file and VSAM access, embedded EXEC SQL and EXEC CICS, DB2 DDL, DCLGEN structures, cursors, and JCL job steps with source citations. Use when reading or inventorying a COBOL/DB2 legacy system before modernization./npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin mainframe-cobol-db2-classicOther plugins' skills for the same job