agentleFS
patrickjajapatrickjaja/claude-desktop-extra/.claude/skills/deploy/SKILL.md

deploy

Skill734 starsChanged 8 days agoMITView on GitHub

Trigger the claude-desktop-extra Build & Release GitHub Actions pipeline (build-and-release.yml). With no argument the skill inspects the changes since the last release and decides force_rebuild itself; "/deploy force" / "/deploy no-force" override.

155 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use pm-discovery, qa-phase and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ww-w-aiSkill

    pm-discovery

    PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.

    Also in 3 projects that use this

  • ww-w-aiSkill

    qa-phase

    Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.

    Also in 3 projects that use this

  • +10 more from ww-w-ai

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 139 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If .upstream-version on HEAD differs from the upstream part of the last release tag → FORCE=false (new-upstream release, pkgrel resets to …

    line 28
  2. Distinctive:

    Wait ~3s, then resolve the run and report its URL:

    line 38
  3. Very specific:

    Do NOT bump versions or edit files here - this only triggers the pipeline.

    line 46
  4. Very specific:

    If the diff shows BOTH a new .upstream-version and other changes, the non-force new-upstream run covers everything (the release builds from …

    line 47
  5. Very specific:

    If gh workflow run errors with "Workflow does not have 'workflow_dispatch'" it's a permissions/branch issue - confirm the workflow file on …

    line 48

“Common” is measured: kept by at least 6 in 10 of the 139 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deploy - trigger Build & Release

Args: $ARGUMENTS (force / no-force override the auto-decision; empty = decide automatically).

Context

  • Repo: patrickjaja/claude-desktop-extra · Workflow: build-and-release.yml · default branch: master.
  • Current branch: !git branch --show-current
  • Tracked upstream version: !cat .upstream-version 2>/dev/null
  • Last release: !gh -R patrickjaja/claude-desktop-extra release list --limit 1 2>/dev/null || echo "(gh not ready)"
  • Recent runs: !gh -R patrickjaja/claude-desktop-extra run list --workflow=build-and-release.yml --limit 3 2>/dev/null || echo "(gh not ready)"

Versioning semantics (format: {upstream}-{pkgrel})

  • New upstream version (.upstream-version was bumped by /update): pkgrel resets to 1 automatically. This is the plain non-force run.
  • Re-release at the same upstream version: pkgrel auto-increments (CI counts existing releases). This needs force_rebuild=true. It does not matter whether the change was a patch (new patched payload) or packaging-only (launcher, .desktop, packaging scripts) - both simply bump pkgrel; the kind of change belongs in the CHANGELOG entry and the release notes, not in the version.
  • pkgrel is never chosen by hand. CI computes it (counts existing releases) and, after publishing, stamps it into packaging/nix/package.nix alongside version and the tarball hash - Nix consumers fetch from the release's own immutable tag (v<upstream> for pkgrel 1, v<upstream>-<pkgrel> otherwise; assets are never overwritten, issue #214). The pkgrel/hash literals in package.nix are CI-managed; never edit them manually.

Steps

  1. Resolve the last release tag (from the Last release context above; v<upstream> or v<upstream>-<pkgrel>).
  2. Decide FORCE (skip if $ARGUMENTS says force or no-force - explicit wins):
    • If .upstream-version on HEAD differs from the upstream part of the last release tag → FORCE=false (new-upstream release, pkgrel resets to 1).
    • Else look at what changed: git fetch --tags origin then git diff --name-only <last-tag>..origin/master. Classify:
      • any patches/ or js/ file → payload update → FORCE=true
      • else any scripts/, packaging/, flake.nix, .github/workflows/ file → packaging-only update → FORCE=true
      • else (docs/site/skills/CHANGELOG/baseline only) → STOP: nothing shippable changed; tell the user a release would publish identical packages and ask if they really want /deploy force.
  3. Print a one-line plan including the classification, e.g. "Triggering build-and-release.yml on master (force_rebuild=true - packaging-only update, pkgrel will bump)". Mention the classification so the CHANGELOG/release notes wording can say "payload update" vs "packaging-only".
  4. Fire it (no interactive confirmation - the user already typed /deploy):
    gh -R patrickjaja/claude-desktop-extra workflow run build-and-release.yml -f force_rebuild=<FORCE>
  5. Wait ~3s, then resolve the run and report its URL:
    gh -R patrickjaja/claude-desktop-extra run list --workflow=build-and-release.yml --limit 1 \
      --json databaseId,url,status,event,createdAt
    Report the run URL and status. Offer: "Watch with gh -R patrickjaja/claude-desktop-extra run watch <id>".

Notes

  • Do NOT bump versions or edit files here - this only triggers the pipeline. Version/patch work belongs in /update.
  • If the diff shows BOTH a new .upstream-version and other changes, the non-force new-upstream run covers everything (the release builds from the committed tree).
  • If gh workflow run errors with "Workflow does not have 'workflow_dispatch'" it's a permissions/branch issue - confirm the workflow file on master still declares workflow_dispatch.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.