plugins/devflow/skills/gh-sync/SKILL.md
Sync DevFlow planning state to GitHub — create/update issues for objectives, post verification gaps as comments, generate release notes from SUMMARY files, or push a single objective's state (body + sticky comment + Project v2 fields). Use when the user wants to push DevFlow state to GitHub or recover from a missed sync. Triggers on: "sync to github", "create github issues", "push objectives to github", "github release notes", "sync objective", "sync state"
npx skillsauth add ao-cyber-systems/devflow-claude gh-syncInstall 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.
Four modes (parsed from $ARGUMENTS):
objectives (default for empty args) — create/update one issue per roadmap objective, ensure milestone existsrelease <tag> — generate release notes from SUMMARY.md files since the previous tag and create or edit the GitHub releasestatus — report whether GitHub integration is enabled and reachablesync <objective> (<objective_id>, e.g. 01-github-coordination-layer) — sync ONE objective: rewrite linked issue body to canonical form, upsert sticky state comment in-place, update Project v2 fields (Status, Quarter). Idempotent — safe to run repeatedly.If $ARGUMENTS does not match objectives, release <tag>, or status, treat it as an objective ID and run the single-objective sync mode.
</objective>
<execution_context> @~/.claude/.planning/config.json </execution_context>
<process> 1. Check `.planning/config.json` for `github.enabled` and `github.repo`. If missing or false, ask the user whether to enable now (offer to set both interactively). Do not proceed without explicit confirmation.# Default — sync all objectives (creates/updates issues + milestone)
node ~/.claude/devflow/bin/df-tools.cjs gh sync-objectives
# Release notes for a tag
node ~/.claude/devflow/bin/df-tools.cjs gh sync-release "$TAG"
# Status check
node ~/.claude/devflow/bin/df-tools.cjs gh status
# Sync a single objective's state to its linked GH issue (idempotent)
node ~/.claude/devflow/bin/df-tools.cjs gh sync "$OBJECTIVE_ID"
The single-objective sync (gh sync <objective_id>) is idempotent — running it twice in a row produces no semantic difference on GitHub. The sticky comment uses marker <!-- df:state --> and is edited in-place (not a new comment). The comment ID is persisted in .planning/.gh-mapping.json so subsequent syncs find the same comment to patch.
.planning/.gh-mapping.json, commit it:node ~/.claude/devflow/bin/df-tools.cjs commit "chore: sync GitHub mapping" --files .planning/.gh-mapping.json
development
Orchestrate a multi-step DevFlow workflow by chaining skills. Use when the user wants to invoke a sequence of skills as one ask (e.g., "build and sync to github", "research, plan, then build", "ship and announce"). Triggers on: "ship X to Y", "build and X", "plan and X", "X then Y", "in one go", "as a chain", "all in sequence", "chain", "ship-and-sync", "research-plan-build"
testing
Stamp a new polyglot monorepo using the AO Cyber Systems scaffold — root CLAUDE.md with Layout table, per-area CLAUDE.md, path-filtered CI workflows, comprehensive .gitignore, and the no-binaries pre-commit hook config. Use this for new product monorepos (the 5-monorepo architecture: aodex, aosentry, eden-biz, politihub, aohealth, plus future ones). Triggers on: "new monorepo", "scaffold a monorepo", "set up a monorepo", "create a new product monorepo".
development
Validate that a monorepo follows the AO Cyber Systems layout convention — root CLAUDE.md declares every area, every area has its own CLAUDE.md, no compiled binaries are tracked in git. Reads the root `CLAUDE.md` Layout table, walks the working tree, and reports drift in a single Markdown summary. Standalone — works on any repo. Triggers on: "audit monorepo layout", "monorepo doctor", "is this monorepo healthy?", "check the layout", "find binaries in the repo".
development
Build, review, or visually inspect web pages using Hugo templates, Tailwind CSS, and the project's brand design system. Use when the user wants to create new pages, design components, audit existing UI, review frontend code, or visually test rendered pages. Triggers on: "build the UI", "design this page", "create a page", "review the frontend", "audit the UI", "check UI consistency", "make it look good", "frontend review", "visual review", "check how it looks", "inspect the page"