agentleFS
thanh-abaiithanh-abaii/gstack-windows-port/skills/gstack-landing-report/SKILL.md

gs:landing-report

Skill36 starsChanged 6 months agoMITView on GitHub

Read-only queue dashboard for workspace-aware ship. (gstack)

The file

Show its rules and text

We split this skill into the rules it gives an agent

33 rules. About 0 are common, 13 are distinctive, and 20 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 20

    Very specific

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

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

    If PROACTIVE is "false", do not proactively suggest gstack skills AND do not auto-invoke skills based on conversation context.

    line 34
  2. Very specific:

    If SKILL_PREFIX is "true", the user has namespaced skill names.

    line 40
  3. Very specific:

    If output shows UPGRADE_AVAILABLE <old> <new>: read $GSTACK_ROOT/gstack-upgrade/SKILL.md and follow the "Inline upgrade flow" (auto-upgrade …

    line 45
  4. Very specific:

    If WRITING_STYLE_PENDING is yes: You're on the first skill run after upgrading to gstack v1.

    line 47
  5. Very specific:

    If A: leave explain_level unset (defaults to default).

    line 60
  6. Very specific:

    If B: run $GSTACK_BIN/gstack-config set explain_level terse.

    line 61
  7. Distinctive:

    Always run (regardless of choice):

    line 63
  8. Very specific:

    If LAKE_INTRO is no: Before continuing, introduce the Completeness Principle.

    line 72
  9. Distinctive:

    Only run open if the user says yes.

    line 82
  10. Very specific:

    If TEL_PROMPTED is no AND LAKE_INTRO is yes: After the lake intro is handled, ask the user about telemetry.

    line 84
  11. Very specific:

    If A: run $GSTACK_BIN/gstack-config set telemetry community

    line 97
  12. Distinctive:

    If B: ask a follow-up AskUserQuestion:

    line 99
  13. Very specific:

    If B→A: run $GSTACK_BIN/gstack-config set telemetry anonymous If B→B: run $GSTACK_BIN/gstack-config set telemetry off

    line 109
  14. Very specific:

    If B→B: run $GSTACK_BIN/gstack-config set telemetry off

    line 110
  15. Very specific:

    If PROACTIVE_PROMPTED is no AND TEL_PROMPTED is yes: After telemetry is handled, ask the user about proactive behavior.

    line 120
  16. Very specific:

    If HAS_ROUTING is no AND ROUTING_DECLINED is false AND PROACTIVE_PROMPTED is yes: Check if a CLAUDE.md file exists in the project root.

    line 143
  17. Distinctive:

    Check if a CLAUDE.md file exists in the project root.

    line 144
  18. Distinctive:

    If A: Append this section to the end of CLAUDE.md:

    line 157
  19. Very specific:

    If VENDORED_GSTACK is yes: This project has a vendored copy of gstack at .agents/skills/gstack/.

    line 189
  20. Very specific:

    Use AskUserQuestion (one-time per project, check for ~/.gstack/.vendoring-warned-$SLUG marker):

    line 193
  21. Very specific:

    Run $GSTACK_BIN/gstack-team-init required (or optional)

    line 209
  22. Distinctive:

    If B: say "OK, you're on your own to keep the vendored copy up to date."

    line 213
  23. Very specific:

    If SPAWNED_SESSION is "true", you are running inside a session spawned by an AI orchestrator (e.g., OpenClaw).

    line 224
  24. Distinctive:

    Do NOT use AskUserQuestion for interactive prompts.

    line 227
  25. Distinctive:

    Do NOT run upgrade checks, telemetry prompts, routing injection, or lake intro.

    line 228
  26. Distinctive:

    Always prefer complete lake implementation over shortcuts.

    line 258
  27. Distinctive:

    Stop and ask for architectural ambiguity.

    line 262
  28. Very specific:

    Check preferences with python "bin/gstack-boot.py" --question-preference "<id>".

    line 266
  29. Very specific:

    When you're running 5-10 parallel Conductor workspaces, it helps to see — at a glance — which version numbers are claimed, by whom, and …

    line 286
  30. Distinctive:

    Call the util three times — once for each bump level.

    line 325
  31. Very specific:

    Use jq to extract:

    line 341
  32. Distinctive:

    After rendering the table, suggest ONE of:

    line 400
  33. Distinctive:

    If that work ships first, your branch will need to rebump at land time."

    line 411

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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
<!-- AUTO-GENERATED from SKILL.md.tmpl — do not edit directly --><!-- Regenerate: bun run gen:skill-docs -->

When to invoke this skill

Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next".

/landing-report — Version Queue Dashboard

Preamble (run first)

python "bin/gstack-boot.py" --skill landing-report | iex

If PROACTIVE is "false", do not proactively suggest gstack skills AND do not auto-invoke skills based on conversation context. Only run skills the user explicitly types (e.g., /gs:qa, /gs:ship). If you would have auto-invoked a skill, instead briefly say: "I think /skillname might help here — want me to run it?" and wait for confirmation. The user opted out of proactive behavior.

If SKILL_PREFIX is "true", the user has namespaced skill names. When suggesting or invoking other gstack skills, use the /gstack- prefix (e.g., /gstack-qa instead of /qa, /gstack-ship instead of /ship). Disk paths are unaffected — always use $GSTACK_ROOT/[skill-name]/SKILL.md for reading skill files.

If output shows UPGRADE_AVAILABLE <old> <new>: read $GSTACK_ROOT/gstack-upgrade/SKILL.md and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 options, write snooze state if declined). If JUST_UPGRADED <from> <to>: tell user "Running gstack v{to} (just updated!)" and continue.

If WRITING_STYLE_PENDING is yes: You're on the first skill run after upgrading to gstack v1. Ask the user once about the new default writing style. Use AskUserQuestion:

v1 prompts = simpler. Technical terms get a one-sentence gloss on first use, questions are framed in outcome terms, sentences are shorter.

Keep the new default, or prefer the older tighter prose?

Options:

  • A) Keep the new default (recommended — good writing helps everyone)
  • B) Restore V0 prose — set explain_level: terse

If A: leave explain_level unset (defaults to default). If B: run $GSTACK_BIN/gstack-config set explain_level terse.

Always run (regardless of choice):

Remove-Item -Force ~/.gstack/.writing-style-prompt-pending
New-Item -ItemType File -Force ~/.gstack/.writing-style-prompted | Out-Null

This only happens once. If WRITING_STYLE_PENDING is no, skip this entirely.

If LAKE_INTRO is no: Before continuing, introduce the Completeness Principle. Tell the user: "gstack follows the Boil the Lake principle — always do the complete thing when AI makes the marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Then offer to open the essay in their default browser:

Start-Process https://garryslist.org/posts/boil-the-ocean
New-Item -ItemType File -Force ~/.gstack/.completeness-intro-seen | Out-Null

Only run open if the user says yes. Always run touch/New-Item to mark as seen. This only happens once.

If TEL_PROMPTED is no AND LAKE_INTRO is yes: After the lake intro is handled, ask the user about telemetry. Use AskUserQuestion:

Help gstack get better! Community mode shares usage data (which skills you use, how long they take, crash info) with a stable device ID so we can track trends and fix bugs faster. No code, file paths, or repo names are ever sent. Change anytime with gstack-config set telemetry off.

Options:

  • A) Help gstack get better! (recommended)
  • B) No thanks

If A: run $GSTACK_BIN/gstack-config set telemetry community

If B: ask a follow-up AskUserQuestion:

How about anonymous mode? We just learn that someone used gstack — no unique ID, no way to connect sessions. Just a counter that helps us know if anyone's out there.

Options:

  • A) Sure, anonymous is fine
  • B) No thanks, fully off

If B→A: run $GSTACK_BIN/gstack-config set telemetry anonymous If B→B: run $GSTACK_BIN/gstack-config set telemetry off

Always run:

New-Item -ItemType File -Force ~/.gstack/.telemetry-prompted | Out-Null

This only happens once. If TEL_PROMPTED is yes, skip this entirely.

If PROACTIVE_PROMPTED is no AND TEL_PROMPTED is yes: After telemetry is handled, ask the user about proactive behavior. Use AskUserQuestion:

gstack can proactively figure out when you might need a skill while you work — like suggesting /gs:qa when you say "does this work?" or /gs:investigate when you hit a bug. We recommend keeping this on — it speeds up every part of your workflow.

Options:

  • A) Keep it on (recommended)
  • B) Turn it off — I'll type /commands myself

If A: run $GSTACK_BIN/gstack-config set proactive true If B: run $GSTACK_BIN/gstack-config set proactive false

Always run:

New-Item -ItemType File -Force ~/.gstack/.proactive-prompted | Out-Null

This only happens once. If PROACTIVE_PROMPTED is yes, skip this entirely.

If HAS_ROUTING is no AND ROUTING_DECLINED is false AND PROACTIVE_PROMPTED is yes: Check if a CLAUDE.md file exists in the project root. If it does not exist, create it.

Use AskUserQuestion:

gstack works best when your project's CLAUDE.md includes skill routing rules. This tells Claude to use specialized workflows (like /gs:ship, /gs:investigate, /gs:qa) instead of answering directly. It's a one-time addition, about 15 lines.

Options:

  • A) Add routing rules to CLAUDE.md (recommended)
  • B) No thanks, I'll invoke skills manually

If A: Append this section to the end of CLAUDE.md:


## Skill routing

When the user's request matches an available skill, ALWAYS invoke it using the Skill
tool as your FIRST action. Do NOT answer directly, do NOT use other tools first.
The skill has specialized workflows that produce better results than ad-hoc answers.

Key routing rules:
- Product ideas, "is this worth building", brainstorming → invoke gs:office-hours
- Bugs, errors, "why is this broken", 500 errors → invoke gs:investigate
- Ship, deploy, push, create PR → invoke gs:ship
- QA, test the site, find bugs → invoke gs:qa
- Code review, check my diff → invoke gs:review
- Update docs after shipping → invoke gs:document-release
- Weekly retro → invoke gs:retro
- Design system, brand → invoke gs:design-consultation
- Visual audit, design polish → invoke gs:design-review
- Architecture review → invoke gs:plan-eng-review
- Save progress, checkpoint, resume → invoke gs:checkpoint
- Code quality, health check → invoke gs:health

Then commit the change: git add CLAUDE.md && git commit -m "chore: add gstack skill routing rules to CLAUDE.md"

If B: run $GSTACK_BIN/gstack-config set routing_declined true Say "No problem. You can add routing rules later by running gstack-config set routing_declined false and re-running any skill."

This only happens once per project. If HAS_ROUTING is yes or ROUTING_DECLINED is true, skip this entirely.

If VENDORED_GSTACK is yes: This project has a vendored copy of gstack at .agents/skills/gstack/. Vendoring is deprecated. We will not keep vendored copies up to date, so this project's gstack will fall behind.

Use AskUserQuestion (one-time per project, check for ~/.gstack/.vendoring-warned-$SLUG marker):

This project has gstack vendored in .agents/skills/gstack/. Vendoring is deprecated. We won't keep this copy up to date, so you'll fall behind on new features and fixes.

Want to migrate to team mode? It takes about 30 seconds.

Options:

  • A) Yes, migrate to team mode now
  • B) No, I'll handle it myself

If A:

  1. Run git rm -r .agents/skills/gstack/
  2. Run echo '.agents/skills/gstack/' >> .gitignore
  3. Run $GSTACK_BIN/gstack-team-init required (or optional)
  4. Run git add .claude/ .gitignore CLAUDE.md && git commit -m "chore: migrate gstack from vendored to team mode"
  5. Tell the user: "Done. Each developer now runs: cd $GSTACK_ROOT && ./setup --team"

If B: say "OK, you're on your own to keep the vendored copy up to date."

Always run (regardless of choice):

python "bin/gstack-boot.py" --slug | Out-Null
New-Item -ItemType File -Force ~/.gstack/.vendoring-warned-${env:SLUG:-unknown} | Out-Null

This only happens once per project. If the marker file exists, skip entirely.

If SPAWNED_SESSION is "true", you are running inside a session spawned by an AI orchestrator (e.g., OpenClaw). In spawned sessions:

  • Do NOT use AskUserQuestion for interactive prompts. Auto-choose the recommended option.
  • Do NOT run upgrade checks, telemetry prompts, routing injection, or lake intro.
  • Focus on completing the task and reporting results via prose output.
  • End with a completion report: what shipped, decisions made, anything uncertain.

Voice

Direct, concrete, builder-to-builder. No em dashes. No AI filler words. The user decides.

Context Recovery

python "bin/gstack-boot.py" --slug | Out-Null
$PROJ = "${env:GSTACK_HOME:-$HOME/.gstack}/projects/${env:SLUG:-unknown}"
if (Test-Path $PROJ) {
  Write-Host "--- RECENT ARTIFACTS ---"
  Get-ChildItem -Path "$PROJ/ceo-plans", "$PROJ/checkpoints" -Filter *.md -Recurse | Sort-Object LastWriteTime -Descending | Select-Object -First 3
}

AskUserQuestion Format

Re-ground + Simplify + Recommend + Lettered Options (dual-scale efforts).

Writing Style

One-sentence gloss for jargon, outcome framing, short sentences, user impact, user sovereignity.

Completeness Principle — Boil the Lake

Always prefer complete lake implementation over shortcuts.

Confusion Protocol

Stop and ask for architectural ambiguity.

Question Tuning

Check preferences with python "bin/gstack-boot.py" --question-preference "<id>".

Completion Status Protocol

Report DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT.

Operational Self-Improvement

Log durable quirk/fix findings via python "bin/gstack-boot.py" --log-learnings.

Telemetry (run last)

python "bin/gstack-boot.py" --telemetry --skill "landing-report" --outcome "success"

Why this skill exists

When you're running 5-10 parallel Conductor workspaces, it helps to see — at a glance — which version numbers are claimed, by whom, and what slot your next /ship would land in. This skill is a read-only call into the same bin/gstack-next-version utility /ship uses, but with nothing mutating. Think of it as gh pr list for VERSION numbers.


Step 1: Detect platform and base branch

Same detection as other gstack skills.

$BASE_BRANCH = gh pr view --json baseRefName -q .baseRefName
if ($LASTEXITCODE -ne 0) {
    $BASE_BRANCH = gh repo view --json defaultBranchRef -q .defaultBranchRef.name
}
if (!$BASE_BRANCH) { $BASE_BRANCH = "main" }
echo "Base branch: $BASE_BRANCH"

Step 2: Read current state

$CURRENT_VERSION = (Get-Content VERSION -ErrorAction SilentlyContinue).Trim()
if (!$CURRENT_VERSION) { $CURRENT_VERSION = "0.0.0.0" }
git fetch origin "$BASE_BRANCH" --quiet
$BASE_VERSION = (git show "origin/$BASE_BRANCH:VERSION" -ErrorAction SilentlyContinue).Trim()
if (!$BASE_VERSION) { $BASE_VERSION = $CURRENT_VERSION }
echo "origin/$BASE_BRANCH VERSION: $BASE_VERSION"
echo "branch HEAD VERSION: $CURRENT_VERSION"

Step 3: Query the queue

Call the util three times — once for each bump level.

$TEMP_DIR = [System.IO.Path]::GetTempPath()
foreach ($LEVEL in "micro", "patch", "minor", "major") {
  $outPath = Join-Path $TEMP_DIR "landing-$LEVEL.json"
  bun run bin/gstack-next-version --base "$BASE_BRANCH" --bump "$LEVEL" --current-version "$BASE_VERSION" > $outPath
}

Step 4: Render the dashboard

Build a single table output. Use the patch-level JSON as canonical.

Use jq to extract:

  • .host — github | gitlab | unknown
  • .offline — did the query fail?
  • .claimed — array of {pr, branch, version, url}
  • .siblings — all sibling worktrees found
  • .active_siblings — subset that's likely about to ship

Render in this exact format:

╔══════════════════════════════════════════════════════════════════╗
║                     GSTACK LANDING REPORT                        ║
╠══════════════════════════════════════════════════════════════════╣
║ Repo:    <owner/repo>                                            ║
║ Base:    <base> @ v<base-version>                                ║
║ Host:    <github|gitlab|unknown>                                 ║
║ Status:  <ONLINE|OFFLINE: queue-awareness unavailable>           ║
╚══════════════════════════════════════════════════════════════════╝

Open PRs claiming versions on <base>:
  #1152  alpha-branch         → v1.7.0.0
  #1153  beta-branch          → v1.7.0.0  ⚠ collision with #1152
  #1151  gamma-branch         → v1.6.5.0

Sibling Conductor worktrees (<workspace_root>):
  path                        branch                 VERSION      last commit   PR
  ──────────────────────────────────────────────────────────────────────────────────
  ../tokyo-v2                 feat/dashboard         v1.7.1.0    3h ago         none  ★ active
  ../melbourne                feat/review            v1.6.0.0    12d ago        none
  ../osaka                    feat/payments          v1.8.0.0    5h ago         #1155

★ active = has VERSION ahead of base AND last commit < 24h AND no open PR.
  These are the ones likely to ship soon.

If you ran /ship right now, you'd claim:
  micro bump:  v1.6.3.1   (queue-advance: none)
  patch bump:  v1.7.1.0   (bumped past claimed 1.7.0.0)
  minor bump:  v1.8.0.0   (bumped past claimed 1.7.0.0)
  major bump:  v2.0.0.0   (no major collisions)

For offline / unknown-host output, print a shorter block:

╔══════════════════════════════════════════════════════════════════╗
║                     GSTACK LANDING REPORT                        ║
╠══════════════════════════════════════════════════════════════════╣
║ Status:  OFFLINE — queue-awareness unavailable                   ║
║ Reason:  <offline reason from warnings>                          ║
╚══════════════════════════════════════════════════════════════════╝

Fallback: local VERSION bumps still work, but collisions cannot be detected.

Step 5: Suggest next action

After rendering the table, suggest ONE of:

  1. If there are collisions in the queue (two open PRs claim the same version):

    "⚠ Two open PRs collide on v<X>. Whoever merges second will either overwrite the first's CHANGELOG entry or land a duplicate. Consider asking one author to rerun /ship to pick up the next free slot."

  2. If an active sibling outranks the user's branch version:

    "Sibling worktree <path> has v<X> committed <N>h ago and hasn't PR'd yet. If that work ships first, your branch will need to rebump at land time."

  3. If everything looks clean:

    "Queue is clean. Next /ship will claim a slot without conflict."


Plan Mode

PLAN MODE EXCEPTION — ALWAYS RUN. This skill is entirely read-only: no file writes, no git mutations, no network state changes. Safe to run in plan mode.

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.