Skip to content

skill: document project archive/unarchive via api put#450

Open
gsamat wants to merge 1 commit intobasecamp:mainfrom
gsamat:skill-document-project-archive
Open

skill: document project archive/unarchive via api put#450
gsamat wants to merge 1 commit intobasecamp:mainfrom
gsamat:skill-document-project-archive

Conversation

@gsamat
Copy link
Copy Markdown

@gsamat gsamat commented Apr 26, 2026

Summary

The skill's Projects section only lists projects trash for changing a project's status, so anyone looking to archive a project either trashes by accident or gives up and does it in the web UI. The status endpoint that the web UI hits (PUT /projects/<id>/status/<status>.json) already works through basecamp api put, so this PR surfaces it inline in the skill.

  • Adds the archived / active / trashed recipes via basecamp api put to ### Projects
  • Adds projects trash to the existing command list for symmetry

No CLI code changes — skill text only.

Test plan

  • basecamp api put "projects/<id>/status/archived" -d '{}' archives a real project (verified against an internal test project; basecamp projects show reports status: archived afterwards)
  • Markdown renders cleanly in the skill

Summary by cubic

Docs-only update that explains how to archive and unarchive projects via basecamp api put "projects/<id>/status/<status>", and adds basecamp projects trash to the command list. This clarifies status changes in the Projects section and helps avoid using the web UI or trashing by mistake.

Written for commit 8db311c. Summary will update on new commits.

The skill only mentions `projects trash` for changing project status, so a
user looking to archive a project either reaches for trash by mistake or
gives up. The underlying `PUT /projects/<id>/status/<status>.json` endpoint
already works (and is what the web UI uses) — surface it via `basecamp api put`
in the Projects section so the skill points at the right tool.

Also adds `projects trash` to the listed commands for completeness.
Copilot AI review requested due to automatic review settings April 26, 2026 21:03
@github-actions github-actions Bot added skills Agent skills documentation Improvements or additions to documentation labels Apr 26, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Basecamp skill documentation to make project archive/unarchive discoverable via the existing basecamp api put raw endpoint, reducing reliance on the web UI for status changes.

Changes:

  • Adds basecamp projects trash <id> to the Projects command list.
  • Documents project status transitions (archive/unarchive/trash) using basecamp api put in the Projects section.
  • Adds a quick verification hint using basecamp projects show ... --jq.

Tip

If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread skills/basecamp/SKILL.md
Comment on lines +415 to +417
basecamp api put "projects/<id>/status/archived" -d '{}' --json # Archive
basecamp api put "projects/<id>/status/active" -d '{}' --json # Unarchive
basecamp api put "projects/<id>/status/trashed" -d '{}' --json # Trash (same as `projects trash`)
Comment thread skills/basecamp/SKILL.md
basecamp projects show <id> --json # Show details
basecamp projects create "Name" --json # Create
basecamp projects update <id> --name "New" # Update
basecamp projects trash <id> # Move to trash (recoverable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation skills Agent skills

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants