AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Gh Update Plan

skill-gjoranv-claude-plan-skills-gh-update-plan · by gjoranv

Update a GitHub plan issue with progress. Use when planning a task, or when the user tells you to "update the github plan issue".

— No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-gjoranv-claude-plan-skills-gh-update-plan

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gjoranv-claude-plan-skills-gh-update-plan)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Gh Update Plan? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Exit plan mode before executing this skill. You must actually run gh commands to update the issue; do not just describe what you would do. Use gh to read, edit, and comment on issues. This includes using gh api to update issue bodies and edit or create comments. Do not ask for permission to update comments -- it is expected.

Workflow for editing issue bodies and comments:

  1. Use a stable temp directory per issue: /tmp/plan-update-OWNER-REPO-NUMBER. This allows reuse across invocations.
  2. Fetch or reuse: If --local is passed and the temp directory already has files from a previous invocation, skip fetching and reuse the cached files. Otherwise, always fetch fresh content from GitHub using gh api and overwrite any existing temp files. Use the Write tool to save files. Do NOT use shell redirects (>).
  3. Use the Read and Edit tools to modify the temp files (not shell commands like sed/awk).
  4. Upload using --input with jq to properly JSON-encode the content:
  • Edit issue body: jq -Rs '{body: .}' /body.md | gh api repos/OWNER/REPO/issues/NUMBER -X PATCH --input -
  • Create comment: jq -Rs '{body: .}' /comment.md | gh api repos/OWNER/REPO/issues/NUMBER/comments --input -
  • Edit comment: jq -Rs '{body: .}' /comment-COMMENTID.md | gh api repos/OWNER/REPO/issues/comments/COMMENT_ID -X PATCH --input -

Never embed content directly in shell arguments or use -f body=@file (it uploads the literal string, not the file contents).

By default, always fetch the latest from GitHub before making changes. Use --local only when you know the issue hasn't been updated since the last fetch.

--preview mode: Prepare all changes in temp files but do not upload. After steps 1-12, show the diff between the fetched files and the modified temp files (e.g. diff for each changed file). For new comments, show the full content. Wait for the user to approve before uploading. The user may ask for edits before approving.

Never @mention other users in plan issues or comments.

Update the GitHub issue $ARGUMENTS (issue URL or owner/repo#number). If no argument is given, use the issue referenced earlier in this conversation. If no issue can be determined, ask the user.

If a durable-memory CLI is configured, query it here with the task's distinctive terms before updating. See the memory tool's own integration doc for mechanics.

  1. Verify that it contains the detailed plan for the work in this conversation. If not, ask the user to verify that the correct issue was given.
  2. Conformance check: Ensure the issue follows the standard plan format. If not, lightly restructure:
  • Convert plain step lists to checkboxes (- [ ] / - [x])
  • Add missing section headings (Description, Steps, Links)
  • If there is no diagram in either the issue body or comments, and the work would benefit from one, add a diagram in a separate comment (Mermaid, three sentence max caption, no "Caption:" prefix). Pick the right type: sequenceDiagram for temporal flow, flowchart with subgraph + classDef for static structure
  1. If the design approach has changed or new key decisions were made, update the Design comment (or the body for old-format issues that have the how in the body). Omit raw exploration; only include conclusions. Two guardrails against bloat:
  • Don't restate the design doc. If a rule or decision is already written in the canonical design doc, the Design comment should reference it ("per design doc, Format section"), not repeat it. The comment's job is implementation bindings and decisions that go beyond the doc.
  • One paragraph per decision, max. State the binding and the key constraint; put worked examples, rationale, and edge cases in the design doc or a standalone finding comment, not inline.
  • Keep comments scannable. Avoid walls of text; break content with lists. For work tracked in other issues, use a bulleted owner/repo#N -- short description list rather than restating each issue's rationale in prose.
  1. Check off completed steps (- [x]) based on the work done in this conversation. Steps may be in a separate Steps comment (new format) or in the issue body (old format). Check both locations and update wherever the steps are found.
  2. If the issue body or comments contain a diagram, check if it is still accurate. If not, update it.
  3. If steps need rewording or new steps are needed, update them wherever they are (Steps comment or body). Steps with a child issue should use: - [ ] Child issue: owner/repo#N. The Steps comment is checkboxes only - no prose, no paragraphs, no narrative under sub-steps. Context and rationale belong in the Design comment or the session summary (step 12). If steps are still in the body and there are many updates, consider migrating them to a separate Steps comment.
  4. Update the Links comment with any new references (child issues, documentation, resources). Do not add PRs here - those belong in the PRs comment (step 9). Links may be in a separate comment (new format) or in the body (old format). If in the body, consider migrating to a comment.
  5. If useful commands for testing or verifying the work were discovered during this session, add or update a Useful commands comment (separate from the issue body). If such a comment already exists, edit it rather than creating a new one.
  6. PRs (do not skip): find or create a PRs comment (separate from the issue body) with a table: | PR | What | Agent session |. PR column: org/repo#N as a link. What column: brief description. Agent session column: the name of the session running this gh-update-plan invocation.
  7. Review existing comments for outdated or incorrect information. Own comments: rewrite to state the correct information only (no strikethrough or revision notes - plan issues are current state, not history). Others' comments: reply with the correction.
  8. Agent sessions: Find or create an Agent sessions comment with a table: | Session | Directory | Model | Last used | ID |. Add a row for this session. Always use backtick code formatting for Directory and ID values. Replace the user's home directory with ~ in the Directory column. Get the session name from conversation context (e.g. a system reminder indicating the session was named). Use the full model slug including version and variant. Use the full session name in this table; the shortened form (dropping everything before the first - ) is only for the PRs table. Set Last used to today's date (YYYY-MM-DD). If this session ID already has a row, update it. Do not duplicate rows.
  9. Important: session comments (### Session:) are compressed into a single Session Log by gh-close-plan. Do NOT put design decisions, gotchas, or important context into session comments. Those belong in the Design comment (step 3) or as standalone findings (see below).

Find or create a comment with heading ### Session: (use the session name from step 11, not the date). If this session already has a comment (match by session name), update it rather than creating a new one. This is a lightweight log entry: what was attempted, open questions, surprises. Do not list commits, PRs, or implementation details.

If a session produced standalone findings worth preserving independently (research, design decisions, verification results), add them as separate comments with descriptive headings (e.g. ## Research: ..., ## Considered: ...). These are not prefixed with Session: and will be kept as-is by gh-close-plan.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.