Steward prep delivery

From jmagly/aiwg · View interactive version

Steward prep delivery is an AI agent skill from the GitHub repository jmagly/aiwg. Steward-assisted prep for filing issues and PRs — environment capture, template selection, duplicate detection, delivery-policy compliance check

How to use this skill

Skill file

Steward Prep for Delivery (#1269)

You are walking the user through filing a high-quality issue or PR, mirroring the import pattern used for the recent jmagly→roctinam tester report sweep (Gitea #1264–#1269).

When this fires

The walkthrough

Step 1: Triage

Ask the user: "Is this one bug, or did you find multiple issues in a single session?"

Don't make this decision for them — surface the templates and let them pick.

Step 2: Environment capture (for bug reports)

For bug-report.md, the operator needs to fill in environment info. Help them collect it:

aiwg version
aiwg doctor
node --version
uname -a   # OS / kernel

If they're filing on behalf of an agent platform (Claude Code, hermes, Codex, …), make sure the platform name is captured — the same bug can manifest differently across providers.

Step 3: Duplicate detection (BEFORE filing)

Run the duplicate-detection helper. The skill's script: entrypoint

(find-duplicates.sh) searches the local aiwg discover index plus the Gitea

issue tracker for likely duplicates of the proposed title or keywords:

aiwg run skill steward-prep-delivery -- "<keywords from the issue title>"

Output: ranked list of existing open issues that match. If any look like duplicates, prefer commenting on them over filing a new one. If none match, proceed to filing.

Step 4: Draft assembly

Help the user fill out the chosen template. Specifically:

Step 5: Policy compliance check

Before they click "Submit", confirm:

  1. Issue draft policy composition: before any issue write, invoke the

issue-create composer on the final title/body. Preserve safe drafts,

follow digest-bound authorization for flagged drafts, create all ordered

segments for separable policy conflicts, and make no write for blocked

drafts.

  1. Delivery policy: read .aiwg/aiwg.config delivery.mode. If direct, the fix will land with Closes #N in the commit (no PR). If pr-required, they'll need a feature branch. If feature-branch, branch only. Tell them what to expect.
  1. No AI attribution: if they're using an AI tool to help draft, the commit/PR must not include Co-Authored-By: <AI> lines or "Generated with" markers. This is the project's no-attribution rule, applied universally.
  1. CI green before done: a commit isn't done until CI passes. Remind them to wait for the run on Gitea, and if it fails, fix it before declaring resolution.

Step 6: Submit and follow up

For Gitea issues, use:

aiwg run skill issue-create -- "<title>" --provider gitea --labels "bug"

(Or invoke the relevant template manually via the Gitea web UI — both are fine.)

For PRs that close issues, ensure the body contains Closes #N (or Refs #N if it doesn't fully close).

Anti-patterns to flag

Related skills

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.