/simpleapps:wip <basecamp-url or github-issue>from simpleapps
Fetch a Basecamp URL or GitHub issue with full comments, scaffold a WIP file, and load the wiki
Ships in simpleapps. Installing the plugin adds it to Claude Code.
First, use Skill("basecamp") to load the Basecamp MCP reference, then Skill("workflow") for the Basecamp-to-GitHub flow, then Skill("github") for GH CLI conventions, then Skill("wip-conventions") for the WIP frontmatter schema and lifecycle, then Skill("bash-simplicity") for Bash conventions, then Skill("work-habits") for autonomous execution rules and RFC 2119 compliance.
Fetch a Basecamp URL or GitHub issue and scaffold a WIP file.
Input: $ARGUMENTS is a Basecamp URL or GitHub issue reference.
Apply the "Branch hygiene before starting work" rule from simpleapps:work-habits. /wip is read/scaffold only. It does not write code, so the bar is low: nudge the user about the branch state, do the safe transition if needed, and proceed. The only pause condition is a dirty tree on a branch unrelated to this issue.
$ARGUMENTS to extract the issue number N (GitHub #N or Basecamp item id)git -C repo branch --show-current → branch Bgit -C repo status --porcelain → tree state TB contains N: proceed (updating an existing WIP for this issue).B is main/master with T clean: proceed in place.B is a different issue branch (feat/M-…, M ≠ N) with T clean: nudge the user that you're switching off <branch> to main, switch, and proceed.T is dirty AND B does not contain N: pause and ask once. Surface the modified files, propose a path (commit on a branch, stash, discard), and proceed on the user's answer. Do NOT scaffold a WIP that mixes their uncommitted work with a different issue's context.Basecamp URL: matches basecamp.com/<account>/projects/<project_id>/<type>/<id>:
project_id and item id from the URL pathtodos, messages, uploads, forwardsGitHub issue: matches any of:
#N (use repo from git -C repo remote -v)org/repo#N/issues/NIf the input does not match either pattern, stop and ask the user to provide a Basecamp URL or GitHub issue reference.
Based on the item type extracted from the URL:
| URL type | MCP tool | Key fields |
|---|---|---|
todos/<id> | get_todo(project_id, todo_id) | content, comments, assignee, attachments |
messages/<id> | get_message(project_id, message_id) | subject, content, comments, attachments |
uploads/<id> | get_upload(project_id, upload_id) | content, comments |
forwards/<id> | get_forward(project_id, forward_id) | subject, content |
The MCP response is Basecamp's JSON (see simpleapps:basecamp "Output"), with comments inline. Extract:
Attachments hold load-bearing context: screenshots of bugs, mockups, error overlays, design specs. The WIP MUST contain that context in-line so /investigate and /implement do not have to re-fetch it.
For every attachment found on the todo/message and on every comment:
download_attachment(project_id, attachment_id). The tool result holds the attachment record, then the content: text inline, images as image content, other files (PDFs) as an embedded resource. Nothing is saved to diskMUST NOT skip attachments because they "look unimportant". The user posted them for a reason. MUST NOT just list filenames; the WIP needs the contents.
If download_attachment fails, retry once. If it still fails, note the failure in the Attachments section with the attachment ID so the user can intervene. Do not silently drop it.
Determine the repo:
org/repo was provided in the reference, use itgit -C repo remote -v and extract org/repoFetch the issue with comments:
gh issue view <N> --repo <org>/<repo> --json title,body,comments,labels,assignees,state
Extract:
If the source is a GitHub issue and the fetched data shows an empty labels array, assign a label:
bug, security, a11y, perf, SEO, enhancement, refactorgh issue edit <N> --repo <org>/<repo> --add-label <label>Use these heuristics:
bugenhancementa11yperfSEOrefactorsecurityIf the issue could fit multiple labels, pick the single most relevant one. Do not add status labels (blocked, production-blocker) in this step. Those are applied by other commands when the situation warrants it.
Skip this step for Basecamp sources (labels are a GitHub concept).
Scan the body and all comments for links to the other system:
github.com/*/issues/N) → note as GH #Nbasecamp.com/*/projects/*/todos/*) → note as BC referenceRecord all cross-references for the Source section.
From the title:
List wip/ with ls wip/ and check for a file starting with the same prefix (BC{#} or GH{#}). If one exists, read it and go to step 7a (update). Otherwise, go to step 7b (create).
Read the existing WIP file. Compare against freshly fetched content:
status is still open/in-progress, flip to shipped and set shipped_at to the issue's closed_at. Bump last_reviewed to today.- [ ] for any explicit ask in a new comment or an edited body that is not already covered. MUST NOT reword, reorder, delete, or untick an existing criterion. The user may have edited them, and a criterion that quietly disappears is exactly the omission this section exists to prevent. If the section is missing entirely (WIP predates it), build it from the source now.If the existing file has no frontmatter (legacy format), add it per the schema in step 7b. Migrate the prose ## Status: line into frontmatter status (WIP → open, Implemented/Shipped → shipped) and remove the prose line.
Tell the user what was updated (e.g., "Added 2 new comments, status unchanged").
Write to wip/{prefix}{#}-{slug}.md where prefix is GH or BC.
Prepend YAML frontmatter per the simpleapps:wip-conventions schema. Get today's date with date +%Y-%m-%d. Leave shipped_at, pr, disposition, and wiki_candidates empty. Later lifecycle commands fill them in.
Template:
---
issue: {full URL to the issue or Basecamp item}
branch:
status: open
created: {today}
last_reviewed: {today}
shipped_at:
pr:
disposition:
wiki_candidates:
---
# {Source type} #{number}: {Title}
## Source
- {source_type}: {url}
- Cross-refs: {any detected cross-references, or "none"}
## Problem
{Body content. The full description from the issue or Basecamp item.}
## Acceptance criteria
{One `- [ ]` per explicit ask, extracted from the title, body, and comments. Extract only what the source states: inferred criteria are `/investigate`'s job, not this step's. Keep them proportional; a one-line todo gets one criterion, not five. Format each as:}
- [ ] {Observable outcome, phrased so someone can check it} _(source: body | title | comment {Author} {Date})_
## Attachments
{For each attachment: name, type, ID, its `app_url`, and a **Summary** that describes what was seen. For images, describe the visible UI state, error text, highlighted regions, and any before/after framing. For PDFs/docs, capture the key facts. For spreadsheets, capture columns and a sample of rows. The summary MUST be written from the content returned by `download_attachment`, never inferred from the filename alone. Omit this section only if no attachments exist.}
Format each entry as:
### {filename} ({content type})
- ID: {attachment_id}
- Link: {app_url}
- Summary: {what the agent saw, multi-paragraph if needed}
## Comments
{Each comment, formatted as:}
### {Author} ({Date})
{Comment body}
---
## Research
_Investigation notes go here._
## Files to modify
| File | Changes |
|------|---------|
## References
- {Source type}: {url}
- {Any cross-references found}
For freeform WIPs (no issue, user-provided scaffold), leave issue and branch empty in the frontmatter and use a descriptive filename with no GH/BC prefix.
After 7a or 7b, rewrite the WIP files table in wip/README.md per the Index format in simpleapps:wip-conventions. Copy the Open issues without a WIP section forward, removing this issue's row if present (or write _Run /triage to populate._ if the README is new).
Load the project wiki into context so the user can chat about the scaffolded WIP before moving on to /investigate:
wiki/Home.md first to orient on the projectwiki/llms.txt if it exists to get the wiki indexwiki/ with ls wiki/ to enumerate all *.md files.md file with the Read tool. Do NOT use a subagent; the content MUST be in your own context.wiki/ does not exist, skip this step and note it in the reportFor new WIP files:
wip/{filename}For updated WIP files:
Confirm the wiki was loaded (which pages) so the user knows full project context is available for discussion.
Suggest next step: chat about the scaffolded WIP, then run /investigate to explore the codebase and populate the WIP with findings.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
25 commands in this plugin
/audit-augur-packagesAudit site for custom code that duplicates augur package functionality/commit-messageGenerate a conventional commit message from staged changes/context-auditDetailed breakdown of what is consuming the context window: CLAUDE.md, rules, skills, wiki, and budgets. Use when the built-in /context overview isn't enough.npx claudepluginhub simpleapps-com/augur-skills --plugin simpleappsOther plugins' commands for the same job