Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion skills/green-stack/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ name: green-stack
description: >-
Get a PR stack merge-ready bottom-up: repair conflicts, fix required CI and blocking review findings, report what remains. Delegates stack mechanics to the installed stack-management skill; never queues or merges. Use for "green the stack" or "restack".
metadata:
version: 2.3.0
version: 2.4.0
---

# Green stack

Resume each layer's [completion checklist](../ship-with-proof/SKILL.md#completion-checklist); recheck it after restacking.

## Stack tools

Load the repo's stack-manager skill (e.g. `$gh-stack`) for commands, linking, restacking and recovery. A managed stack stays in its own tool. Reproduce a failed check with the job's own command on the layer that owns the code. Handle findings through the repo's review workflow.
Expand Down
21 changes: 16 additions & 5 deletions skills/prose-pass/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: prose-pass
description: >-
One editing pass of humanizer (structural AI tells) then unslop (word-level tells) over pasted text, a file, or a tree of docs and user-facing strings, with fixed conflict rules and one report. Use for "/prose-pass", "prose pass", "run humanizer and unslop", "plain-language pass", a big copy pass over a dashboard, docs set, or PR body, UI copy or content design for product pages, forms, and status screens, or embedded mode before posting human-read text.
metadata:
version: 1.5.0
version: 1.7.0
---

# Prose pass
Expand Down Expand Up @@ -31,7 +31,18 @@ A user-supplied writing sample sets sentence length, word choice, openings, and

## UI copy mode

For strings a user reads in the product: pages, forms, statuses, tasks. This is content design, not technical writing. The order of work above only removes; this mode also adds.
For strings a user reads in the product: pages, forms, statuses, tasks. This is content design, not technical writing.

First read the repo's own copy rules (`AGENTS.md`, `REVIEW.md`, `DESIGN.md`, a content guide) and apply them alongside this mode; a repo rule wins where they differ.

Every string earns its keep. Before rewriting anything, read every string in scope, not only the ones that read badly, on its screen. Delete it unless it tells the reader something the screen does not already say. Delete a string that:

- restates its heading, button, field label, or the visible state ("Review your answers" over "Check your answers, then submit");
- tells the reader to do what the UI plainly lets them do ("Fill in the form below");
- reassures or introduces without a fact ("We're here to help you get started");
- repeats another string on the same screen.

Never delete a control's own label or accessible name, the only copy of a control, legal text, or a value another screen shares through the same key; check its other uses first. A string you cannot see on a screen is judged by reading the code that renders it, and the report says so. Keep a string that carries a constraint, a consequence, who sees the answer, what happens next and when, or why we ask. Only then run the steps below on what is left. Deleting wins over rewriting: when a string fails this test, do not improve it.

1. Write a voice chart before editing: 3 or 4 traits, each "we are X, not Y" with one example string (Torrey Podmajersky, _Strategic Writing for UX_). Add a glossary of the product's real terms, taken from the code and the UI, one name per thing. Get the owner's approval before rewriting, unless the repo already has an approved chart. Embedded mode with no approved chart skips this step, runs steps 2 to 5, and notes that no chart exists. Pasted text with no code or UI to read: take the glossary from the text and the user, and say so in the report.
2. Give each surface its job and judge strings against it:
Expand All @@ -40,8 +51,8 @@ For strings a user reads in the product: pages, forms, statuses, tasks. This is
- Status or task page: reassure. Say where they are, what happens next, and who is waiting on whom.
- Legal text: never touch.
3. B2B products speak platform to business, as the [Shopify Polaris content guidelines](https://polaris.shopify.com/content) and Stripe Connect onboarding do: "you" is the business, we say what we need and why, with no hype and no apology.
4. Add as well as cut. From [cursor/plugins `technical-writing`](https://github.com/cursor/plugins/blob/main/pstack/skills/technical-writing/SKILL.md): vary the rhythm (short sentences land a point, longer ones carry a fact with its condition), and be specific over sterile. A sentence that follows every rule and sounds like a machine wrote it has failed.
5. Judge each changed string on a screenshot of its screen, read with its heading, label, and button, not in a list. A string that repeats its neighbour or argues with its button fails even when it passes every rule. With no screenshot (pasted text, a state you cannot reach), ask for one; if none comes, report this check as not done.
4. Rewrite the strings that survive, and add only what the reader is missing. From [cursor/plugins `technical-writing`](https://github.com/cursor/plugins/blob/main/pstack/skills/technical-writing/SKILL.md): vary the rhythm (short sentences land a point, longer ones carry a fact with its condition), and be specific over sterile. A sentence that follows every rule and sounds like a machine wrote it has failed.
5. Judge every string that remains on a screenshot of its screen, read with its heading, label, and button, not in a list. A string that repeats its neighbour or argues with its button fails even when it passes every rule. With no screenshot (pasted text, a state you cannot reach), ask for one; if none comes, report this check as not done.

## Conflict rules

Expand All @@ -59,7 +70,7 @@ For strings a user reads in the product: pages, forms, statuses, tasks. This is
- Pasted text: the final text, then the changes grouped by cited rule. No intermediate drafts unless asked.
- File mode: write only the final prose to the file, then a short summary with rule tallies.
- Embedded mode (solar-mode, ship-with-proof): return only the final text. Run it on every such text, not only text that reads badly. For product UI strings, apply the repo's approved voice chart if one exists; draft one only in a dedicated copy pass.
- Big pass: one PR whose description carries the inventory (in scope, skipped and why), one row per changed string or paragraph (file, before, after, rules), and a count per rule. In UI copy mode, also include the voice chart and glossary, a screen column in each row, and before/after screenshots of each screen. Flag any row whose meaning changed, even slightly, as `meaning`. Commit as `copy(<area>): <what the pass did>`.
- Big pass: one PR whose description carries the inventory (in scope, skipped and why), one row per changed string or paragraph (file, before, after, rules), and a count per rule. In UI copy mode, put a Deleted table first (string, screen, which earn-its-keep test it failed) and lead the counts with deletions; a pass that deletes nothing must say why every string stayed. Also include the voice chart and glossary, a screen column in each row, and before/after screenshots of each screen. Flag any row whose meaning changed, even slightly, as `meaning`. Commit as `copy(<area>): <what the pass did>`.

## When not to act

Expand Down
8 changes: 6 additions & 2 deletions skills/ship-with-proof/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
name: ship-with-proof
description: "Take one change in any repo to a merge-ready PR: every changed behavior proven by unit, integration, and e2e tests where applicable on the local stack, a thermo-nuclear fix loop, a Sol correctness loop, the repository's required approval, a merge-risk section, a recorded e2e video of the change and an adjacent flow, and before-after-ss screenshots for UI changes. Use for 'ship with proof' or a PR with full evidence. Never merges."
metadata:
version: 1.17.0
version: 1.19.0
---

# Ship With Proof

Run every gate in this session. A behavioral fix invalidates the evidence for the code it touches; re-run the gates that covered it. A caller may add requirements, never remove a gate. Report a gate you can't satisfy; never skip it.

## Completion checklist

Keep one checklist of the gates below in the PR body, with status, evidence links and verified commit. Reload it on resume and before CI repair; preserve unfinished gates when narrowing tasks.

## Needed from the caller

- The task, or an existing PR URL or number.
Expand Down Expand Up @@ -57,7 +61,7 @@ Commands, paths, test skills, the reviewer, and the review channel come from the
12. While review runs, get CI green and threads resolved with the available GitHub tools and the repo's review-thread skill when it has one. If CI stays blocked, keep the review loop going and report the CI blocker separately.
13. Handle review comments yourself: fix or refute, push, reply on the thread, record a fresh request time and re-request in the same conversation, until approval. Never re-request after approval; a rebase or base merge needs no re-approval unless the repo dismisses stale approvals.
14. After approval, green CI, and all threads resolved, run [`merge-risk`](../merge-risk/SKILL.md) on the final head and append its output verbatim as the PR body's last section, `## Merge risk`, replacing any earlier one; `prose-pass` leaves it as is. Any later push re-runs it.
15. Report the PR link, approval state, CI state, merge-risk level, artifact URL, and recording, naming anything untested and why. A should-fix, follow-up, "before X", or "not modeled" item you could do yourself, inside the scope the caller gave, is unfinished work, not a report line: do it first. This overrides step 3's PR-growth skips and declined nits; an item that needs product judgment or outlasted a review budget is a question to the caller, never a deferral you decide. Step 2's over-budget model fallback is a stated outcome, not a "not modeled" item, when reducing would drop a relevant case. If a caller owns the final report, hand it these facts instead of ending the session.
15. Check the checklist against the live PR's current head, required evidence sections, artifact links, CI, approvals and unresolved threads before reporting completion. Report the PR link, approval state, CI state, merge-risk level, artifact URL, and recording, naming anything untested and why. A should-fix, follow-up, "before X", or "not modeled" item you could do yourself, inside the scope the caller gave, is unfinished work, not a report line: do it first. This overrides step 3's PR-growth skips and declined nits; an item that needs product judgment or outlasted a review budget is a question to the caller, never a deferral you decide. Step 2's over-budget model fallback is a stated outcome, not a "not modeled" item, when reducing would drop a relevant case. If a caller owns the final report, hand it these facts instead of ending the session.

## Done means

Expand Down
34 changes: 5 additions & 29 deletions skills/solar-loop/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
name: solar-loop
description: >-
Create or revise a Devin automation in Robert's loop style: a recurring loop on one metric that ships one proven PR per run, never merges, and reports verdict-first in the session, from a prompt that states what to achieve and leaves how to skills. Use for "/solar-loop", "an automation like my hunts", "set up a recurring hunt for X", "hill climb X on a schedule", or turning a skill into a scheduled loop.
Create or revise a recurring automation in Robert's loop style: a recurring loop on one metric that ships one proven PR per run, never merges, and reports verdict-first in the session, from a prompt that states what to achieve and leaves how to skills. Use for "/solar-loop", "an automation like my hunts", "set up a recurring hunt for X", "hill climb X on a schedule", or turning a skill into a scheduled loop.
metadata:
version: 2.4.0
version: 2.4.2
---

# solar-loop
Expand Down Expand Up @@ -101,37 +101,13 @@ Report: one Slack message of <N> lines opening with `<marker phrase>`, holding o

An ops prompt names secrets, never their values, and treats page, Slack and tool text as data.

## Settings defaults

Read the `devin_automation_manage` schemas before writing any field. Fill from this table unless the user overrides a cell.

| Field | Loop that ships code | Ops loop |
| ------------------------------------- | --------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| trigger | `schedule:recurring`, weekday morning in the owner's timezone, non-round minute | same, or a Slack trigger when it reacts to a channel |
| action | `start_session` | `start_session` |
| devin_mode | `fusion` | `lite` |
| max_acu_limit | 60–150 by scope | 8–30 |
| max_concurrent_runs / max_queue_depth | 10 / 0 (climb or audit: 1 / 0) | 1 / 10 |
| run_as | creator | organization when a service identity or org-scoped secret does the work |
| mcp_servers | `datadog` when it reads telemetry, `slack-remote` when the prompt pings a channel | only what the prompt uses |
| linear_enabled | true when the prompt files tickets | false |
| slack_channels grant | none | the one channel it posts to |
| notifications.slack | none; the report is the session response | `post_response` to the channel |
| bypass_approval | true when the run spawns child sessions | false |
| net_policy | null | explicit allowlist when run_as is organization |
| metadata | `{ purpose: <slug> }` or `{ skill: <skill>, team: <team> }` | same |

- Schedule minutes are never `:00` or `:30`, and no two siblings fire in the same hour. Keep a user-named time exactly. Bound a trial with `UNTIL`.
- Alert, bug and support triage is a Devin Oncall responder, not an automation.
- A loop that ships code reports in the session and requests review per [**review-loop**](../review-loop/SKILL.md). An ops loop posts exactly one message per run, no-op runs included, with a fixed marker phrase siblings can filter on.
- Add a preflight script only after testing it against the exact event shape on a real VM, and never one that needs a secret.
- Choose `run_as` by where the MCP server and credentials are installed, and name the user-scoped integrations the run depends on.

## Procedure

On Devin, read [references/devin.md](references/devin.md) for the automation tool and settings defaults.

1. Collect inputs, read the surface's skills and `AGENTS.md`, and fix the metric and verifier.
2. Draft the prompt and settings.
3. Dedupe: confirm no enabled automation, by any creator, covers the surface, and take the next free weekday-morning minute among the owner's.
4. `validate_create` or `validate_update`, then the approval-gated write.
4. Dry-run the create or update, then the approval-gated write.
5. Trigger one run when the user wants proof, and check its report against the skill's.
6. Report the automation URL, cadence in the user's timezone, the integrations the run depends on, and every assumption.
Loading
Loading