Skip to content

docs(skill): tighten description and revise backup guidance#33

Merged
pjcdawkins merged 1 commit into
mainfrom
improve-skill-description-and-validation
May 17, 2026
Merged

docs(skill): tighten description and revise backup guidance#33
pjcdawkins merged 1 commit into
mainfrom
improve-skill-description-and-validation

Conversation

@pjcdawkins
Copy link
Copy Markdown
Collaborator

Summary

Addresses suggestions from #1:

  • Description leads with a capability statement ("Manages Upsun projects — deployments, environments, backups, databases, resources, variables, domains, and integrations.") before the trigger phrases, following the "[what it does]. Use when [triggers]" pattern that skill registries match on.
  • Quick Start deploy states the exit-code contract explicitly: a non-zero upsun push means the deploy did not complete.
  • New "Production deploys: backups before risky changes" subsection points at backup:list first and only suggests backup:create --live if a recent backup doesn't cover the pre-deploy state.
  • Backup / Restore rewritten to recommend --live as the default (no downtime, what automated backups use), reframe the non-live default as a freeze of unpredictable length, and call out that retention is finite so new backups can evict older ones. Drops the misleading "~15-30s pause" number.
  • "Safety backup before restore" safety rule softened — the original rule conflicted with finite retention and is rarely useful since the current state is usually not worth keeping when you're restoring.

Closes #1

Address suggestions from issue #1:

- Description now leads with a capability statement ("Manages Upsun
  projects — ...") before the trigger phrases, following the
  "[what it does]. Use when [triggers]" pattern that skill registries
  match on.
- Quick Start deploy step now states the exit-code contract
  explicitly: a non-zero `upsun push` means the deploy did not
  complete. Drops the prior bullet that could read as optional.
- Adds a "Production deploys: backups before risky changes"
  subsection that points at `backup:list` first and only suggests
  `backup:create --live` if a recent backup doesn't cover the
  pre-deploy state.
- Rewrites Backup / Restore to recommend `--live` as the default
  (no downtime, what automated backups use), reframe the non-live
  default as a freeze of unpredictable length, and call out that
  retention is finite so new backups can evict older ones.
- Softens the "always create a safety backup before restore"
  safety rule, which conflicts with finite retention and is
  rarely useful since current state is usually not worth keeping
  when you're restoring.

Refs: #1

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings May 17, 2026 10:00
Copy link
Copy Markdown
Contributor

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 Upsun skill documentation to improve registry matching, deploy verification guidance, and backup/restore safety recommendations.

Changes:

  • Rewrites the skill description to lead with capabilities before trigger phrases.
  • Adds deploy exit-code guidance and production backup guidance before risky changes.
  • Revises backup/restore recommendations around live backups, downtime, and finite retention.
Comments suppressed due to low confidence (1)

plugins/upsun/skills/upsun/SKILL.md:156

  • This production deploy check also assumes the application is named app. Since application names vary by project, this can direct the agent to run a logs command that does not work for many Upsun projects; use the generic tail command or require resolving the application name first.
After deploying, `upsun logs app --tail -e <prod>` is the fastest signal that something has regressed.

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

Comment thread plugins/upsun/skills/upsun/SKILL.md
@pjcdawkins pjcdawkins merged commit 198cfc3 into main May 17, 2026
5 checks passed
@pjcdawkins pjcdawkins deleted the improve-skill-description-and-validation branch May 17, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve skill

2 participants