docs/archive/2026-07-ai-artifacts/claude-skills/feature-pipeline-preview/03-adr-draft/SKILL.md
> **ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE.** > Superseded by `codemap/` + root `AGENTS.md`. Scheduled for deletion once the pipeline is verified (Phase 6). > Manifest: `docs/archive/2026-07-ai-artifacts/MANIFEST.md` --- name: 03-adr-draft description: Drafts the ADR (Status Proposed) and opens a draft PR so the maintainer can review the ADR on GitHub. kind: leaf executor: opus model: claude-opus-4-7 --- # ADR draft Produces `docs/decisions/NNNN-<slug>.md` matching the NeoHaskell ADR te
npx skillsauth add neohaskell/neohaskell docs/archive/2026-07-ai-artifacts/claude-skills/feature-pipeline-preview/03-adr-draftInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE. Superseded by
codemap/+ rootAGENTS.md. Scheduled for deletion once the pipeline is verified (Phase 6). Manifest:docs/archive/2026-07-ai-artifacts/MANIFEST.md
Produces docs/decisions/NNNN-<slug>.md matching the NeoHaskell ADR template, with Status: Proposed, then commits it and opens a draft PR so the maintainer reviews the ADR on GitHub. The ADR is the input to every later phase (security, perf, devex, architecture, test spec); the draft PR is converted to ready for review at the PR gate (phase 16) — this phase never opens a second PR.
adr_number — 4-digit string. The orchestrator derives the next number by parsing the 4-digit numeric prefix of every docs/decisions/NNNN-*.md file, taking the max, and adding one (zero-padded to 4 digits). Empty directory yields 0001. Non-numeric or short prefixes are ignored.feature_name — string.issue_number — string.module_path — string.branch_name — string. The feature branch created in phase 1; the draft PR is opened from it.slug — string. The kebab-case slug used in the ADR filename.docs/decisions/ directory → verify: the chosen ADR number is unused.neohaskell-adr-template skill if needed → verify: section list matches the template (Context, Decision drivers, Considered options, Decision outcome, Public API, Consequences).Status: Proposed.pipeline.py get pr_url returns a URL.pipeline.py status shows phase 3 awaiting approval.Assumptions:
docs/decisions/ exists.branch_name) was created in phase 1; at this point the working tree contains only the ADR.gh is on PATH and the repository supports draft PRs.If any assumption fails (style guide unclear, ADR template missing, gh absent), refuse and ask.
docs/decisions/<adr_number>-<slug>.md. Refuse on file existing.#<issue_number> once at the top.case ... of, Task/Result, no let..in, no where, no $, no single-letter type params. Refuse if the chosen API forces any of these.../references/jess-persona.md): every public function reachable from the API block should be usable in 15 minutes from autocomplete alone. Refuse the design if it is not.Status: Proposed.BRANCH=$(git branch --show-current). If $BRANCH = main, refuse: "cannot open a PR from main".command -v gh >/dev/null 2>&1 — if non-zero, refuse: "gh not found".docs/decisions/README.md index update): git add docs/decisions/ then git commit -m "docs(adr): add ADR-<adr_number> <slug> (#<issue_number>)".git push -u origin "$BRANCH"..pipeline/draft-pr-body.md: a short body stating the ADR docs/decisions/<adr_number>-<slug>.md is open for review, that implementation lands in later commits, that the PR is marked Ready for review at the pipeline's PR gate (phase 16), and a Closes #<issue_number> line.URL=$(gh pr create --draft --title "<feature_name> (#<issue_number>)" --body-file .pipeline/draft-pr-body.md).NUM=$(gh pr view --json number -q .number).python3 .claude/skills/feature-pipeline-preview/scripts/pipeline.py set pr_url "$URL" and python3 .claude/skills/feature-pipeline-preview/scripts/pipeline.py set pr_number "$NUM".python3 .claude/skills/feature-pipeline-preview/scripts/pipeline.py complete 3.docs/decisions/<adr_number>-<slug>.md exists, Status: Proposed, all template sections present, committed.pr_url and pr_number are stored in pipeline state.waiting_for_approval for phase 3 — the maintainer reviews the ADR in the draft PR.main → refuse: "cannot open a PR from main".gh not on PATH → refuse: "gh not found".development
> **ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE.** > Superseded by `codemap/` + root `AGENTS.md`. Scheduled for deletion once the pipeline is verified (Phase 6). > Manifest: `docs/archive/2026-07-ai-artifacts/MANIFEST.md` --- name: neohaskell-style-guide description: NeoHaskell coding style reference and enforcement rules. Load when writing, reviewing, or modifying any Haskell code in the NeoHaskell project. Triggers on 'NeoHaskell style', 'NeoHaskell conventions', 'how to write NeoHaskell', '
development
> **ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE.** > Superseded by `codemap/` + root `AGENTS.md`. Scheduled for deletion once the pipeline is verified (Phase 6). > Manifest: `docs/archive/2026-07-ai-artifacts/MANIFEST.md` --- name: neohaskell-security-review description: Security & Code Quality review for NeoHaskell. Use when reviewing code changes, PRs, or architectural decisions for security implications. Evaluates OWASP, NIST, EU compliance. Handles pipeline phases 2 (ADR review) and 10 (im
development
> **ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE.** > Superseded by `codemap/` + root `AGENTS.md`. Scheduled for deletion once the pipeline is verified (Phase 6). > Manifest: `docs/archive/2026-07-ai-artifacts/MANIFEST.md` --- name: neohaskell-qa-designer description: Testing QA Designer for NeoHaskell. Designs comprehensive test specifications with exhaustive edge cases, boundary conditions, and happy paths BEFORE implementation. Handles pipeline phase 6 (Test Spec Design). Outside-in TDD meth
development
> **ARCHIVAL KNOWLEDGE — DO NOT USE OR REFERENCE.** > Superseded by `codemap/` + root `AGENTS.md`. Scheduled for deletion once the pipeline is verified (Phase 6). > Manifest: `docs/archive/2026-07-ai-artifacts/MANIFEST.md` --- name: neohaskell-performance-review description: Performance review for NeoHaskell targeting 50k req/s throughput. Use when reviewing code for performance implications, INLINE pragmas, strictness, and allocation patterns. Handles pipeline phases 3 (ADR review) and 11 (imp