/daw:daw-create-prfrom DAW — Dilux Agentic Workflow
Opens a Pull Request with standard format and AI attribution labels, or records why a PR is not possible in the current repo. Checks remote, GitHub CLI, and authentication before proceeding.
Ships in DAW — Dilux Agentic Workflow. 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.
Opens a Pull Request with a standard format and AI attribution labels. If this repo cannot host a PR, records why — so the closeout is never blocked by something outside the user's control.
.daw-state.json for ticket, tier and gates..daw/rules/commits.instructions.md for the format.Before writing anything, check the preconditions — in this order, stopping at the first that fails:
git remote # is there a remote at all?
git remote get-url origin # where does it point?
command -v gh # is the GitHub CLI installed?
gh auth status # is it authenticated?
If they all pass → continue with the normal protocol.
If any fails, do NOT invent an alternative and do NOT fail silently. Report exactly what is missing and offer the options:
┌─────────────────────────────────────────────────────────┐
│ /daw-create-pr — A PR is not possible here │
├─────────────────────────────────────────────────────────┤
│ │
│ Reason: [no remote configured / gh not installed / │
│ not authenticated / the remote is not GitHub] │
│ │
│ What do you want to do? │
│ 1. Push the branch and open the PR yourself (I will │
│ print the title and body for you to paste) │
│ 2. Record that a PR does not apply to this repo and │
│ close the ticket │
│ 3. Stop here — I will fix it and you re-run this │
│ │
└─────────────────────────────────────────────────────────┘
gates.pr = true with the reason recorded in the closeout summary. The
gate means "the PR step was completed", and completing it in a repo that cannot host one means
recording why, out loud. This is what keeps a local-only repo from getting stuck in CLOSEOUT
forever.
Then CLOSEOUT's step 4 still runs. No PR means nothing is going to merge this branch on its
own, which is exactly when "where does this land?" has to be answered rather than assumed.This is not a loophole.
CLOSEOUT → IDLEdemands theprgate precisely so that nobody closes a ticket while quietly skipping the review step. Announcing "there is no remote, so there is no PR" in front of the user is a decision they took; silently omitting it is the thing being prevented.
git status, git diff <base>...HEAD, git log <base>...HEAD.AI-assisted (color #1D76DB)AI-full (color #7057FF)gh label create..daw-work/pr-body.md with the Write
tool (never a shell heredoc — a file written through the shell is a file no
hook saw happen), then create it with
gh pr create --label <AI-assisted|AI-full> --body-file .daw-work/pr-body.md.Title: [ticket] <short description> (< 70 characters)
Body:
## Ticket
[ticket]
## Summary
- [bullet 1 with the main changes]
- [bullet 2]
## Changes
[Detailed list grouped by area]
## Tests
- Tests run: X passed, Y total
- Coverage: XX% lines, XX% branches (if available)
## Security
- SAST: PASSED ([date])
## Attribution
[AI-assisted | AI-full]: [description of the level of human supervision]
--draft only if the user asks for it..daw-work/pr-body.md, written with the Write tool — NEVER a shell
heredoc — and passed with --body-file.AI-assisted or AI-full label with --label.🤖 Generated with Claude Code or similar footers in the body. Attribution is done
exclusively through the ## Attribution section and the GitHub label.┌─────────────────────────────────────────────────────────┐
│ /daw-create-pr — Created ✓ │
├─────────────────────────────────────────────────────────┤
│ │
│ PR: #[number] │
│ URL: [url] │
│ Title: [title] │
│ Label: [AI-assisted | AI-full] │
│ Status: Open — ready for review │
│ │
└─────────────────────────────────────────────────────────┘
gates.pr → true once the PR is created, or once the user chooses option 1 or 2 above. The
CLOSEOUT closeout requires this gate before it will reset to IDLE.Write the PR's title and body in the language the user is working in, keeping the section headings as specified above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
daw@diluxone-plugins-ai is listed by diluxone/diluxone-plugins-ai — review the source before installing
npx claudepluginhub diluxone/diluxone-plugins-ai --plugin daw21 skills in this plugin
/daw-commitCreates a commit following Gitmoji + Conventional Commits, with mandatory AI attribution. Trigger: /daw-commit, when a DAW phase closes and has artifacts to commit (DEFINE, PLAN, CODE, DISCOVERY, CLOSEOUT).
/daw-context-checkCompares what the repository already declares about how it is built — linters, type checkers, CI, pre-commit, runtime versions — against what the tool's context file tells DAW. Reports the commands DAW would otherwise run wrong. Never blocks. Trigger: /daw-context-check, and once per ticket in CLASSIFY.
/daw-create-adrRecords an architecture or design decision as an ADR (Architecture Decision Record). Captures the context, the options considered, the decision taken and its consequences. Trigger: /daw-create-adr, during DAW's PLAN or CODE phase.
Other plugins' skills for the same job