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
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fstack",
"description": "Federico Mastrini's agent skills for everyday software engineering work.",
"version": "0.16.1",
"version": "0.17.0",
"author": {
"name": "Federico Mastrini",
"url": "https://fedemas.dev"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
**A short stack of agent skills for everyday software engineering work.**

[![Claude Code plugin](https://img.shields.io/badge/Claude%20Code-plugin-D97757?style=flat-square)](https://www.fedemas.dev/fstack)
[![Version](https://img.shields.io/badge/version-0.16.1-B4A7E5?style=flat-square)](.claude-plugin/plugin.json)
[![Version](https://img.shields.io/badge/version-0.17.0-B4A7E5?style=flat-square)](.claude-plugin/plugin.json)
[![License: MIT](https://img.shields.io/badge/license-MIT-93D3BB?style=flat-square)](LICENSE)

</div>
Expand Down Expand Up @@ -162,7 +162,7 @@ The skills hand work to each other, so install each one together with every skil
| feature-design | domain-driven-design, ux-brainstorm, test-driven-development, pr-open, pr-babysit, resolve-merge-conflicts |
| ux-brainstorm | domain-driven-design, pr-open, pr-babysit, resolve-merge-conflicts |
| design-system | ux-brainstorm, domain-driven-design, pr-open, pr-babysit, resolve-merge-conflicts |
| implement-issue | implement, test-driven-development, create-issues, pr-open, pr-ship, pr-babysit, resolve-merge-conflicts |
| implement-issue | implement, test-driven-development |
| create-issues | pr-open, pr-babysit, resolve-merge-conflicts |
| implement | test-driven-development |
| pr-ship | pr-open, pr-babysit, resolve-merge-conflicts |
Expand Down
2 changes: 1 addition & 1 deletion gemini-extension.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "fstack",
"version": "0.16.1",
"version": "0.17.0",
"description": "Federico Mastrini's agent skills for everyday software engineering work."
}
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "fstack",
"version": "0.16.1",
"version": "0.17.0",
"description": "Federico Mastrini's agent skills for everyday software engineering work.",
"author": {
"name": "Federico Mastrini",
Expand Down
87 changes: 33 additions & 54 deletions skills/implement-issue/SKILL.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion skills/implement-issue/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
interface:
display_name: "Implement Issue"
short_description: "Build issues test-first into checked, resumable pull requests: one issue, or several in merge-gated batches"
short_description: "Build issues test-first into checked, resumable branches: one issue, or several in merge-gated batches"
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
schema_version: "1.1"
name: clear-issue-ships-test-first-pr
name: clear-issue-built-test-first
expected_outcome: |
Issue #14 has clear acceptance criteria, no dependencies, and code that matches it. The run assigns it to
the account gh is signed in as, then implements it test-first on a branch named with 14: tests for the days-overdue line (7 and 14 days), for no line on
the first email, and for the unchanged subject, written and seen failing before src/reminders.js changes.
It touches only src/reminders.js and the tests (no change to loans.js, holds.js, or #13's reminder
time), runs the full suite (node --test), pushes, and opens one PR with Closes #14 whose checklist ticks
the automated criteria and leaves the VPS outbox check as an unticked manual check, with sections for
verification, deviations, and follow-ups. It asks no questions, and the reply ends with STATUS: DONE.
time), runs the full suite (node --test), and commits on that branch, leaving it checked out. It pushes
nothing and opens no pull request: the reply hands the branch back with the criteria checklist (the
automated criteria ticked with their tests, the VPS outbox check an unticked manual check), how the work
was verified, and ends with STATUS: DONE. It asks no questions.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ match: not_contains
weight: 1
---

No new pull request was opened: the work continued on PR #20.
No pull request was opened: the run ends at the branch.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
type: tool_used
tool: Bash
input_match: '\bgit\b[^"]*\bpush\b'
min: 0
max: 0
weight: 1
---

The run never pushed: what happens to the branch after the run is the user's call.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
type: regex
target: { source: file, path: readwell/.git/HEAD }
pattern: 'ref: refs/heads/.*14'
weight: 1
---

The run ends with a branch whose name contains 14 checked out.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The branch changes only src/reminders.js and test files, committed: src/loans.js, src/holds.js and src/db.js are untouched, and nothing about reminder times (#13) was built.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: last_message
weight: 1
---

The reply names the branch and has a checklist where the automated acceptance criteria are ticked and each names its test, and the VPS outbox check after deploy is listed as a manual check left unticked. It says how the work was verified (the test command and its result).
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: last_message
weight: 1
---

The reply ends with a line STATUS: DONE and a short reason, and does not claim to have pushed the branch or opened a pull request.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
here="$(dirname "$0")"
cp -R "$here/../../../feature-design/evals/challenges-idea-before-interview/files/." .
cp -R "$here/../clear-issue-ships-test-first-pr/files/bin" .
cp -R "$here/../clear-issue-built-test-first/files/bin" .
cp -R "$here/files/." .
git init -q --bare remote/readwell.git
git -C readwell init -q -b main
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

12 changes: 0 additions & 12 deletions skills/implement-issue/evals/gitlab-issue-opens-mr/case.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

11 changes: 11 additions & 0 deletions skills/implement-issue/evals/gitlab-issue-read-with-glab/case.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
schema_version: "1.1"
name: gitlab-issue-read-with-glab
expected_outcome: |
readwell lives on GitLab (the git remote is gitlab.com/millbrook/readwell) and #14 is a GitLab issue with
clear criteria. The run reads it with glab (with comments), checks it has no blocking links, assigns it to
the account glab is signed in as, builds it test-first on a branch named with 14, touches only
src/reminders.js and the tests, and commits there. It never reaches for GitHub, pushes nothing, and opens
no merge request. The reply names the branch, lists the VPS outbox check as manual, and ends with
STATUS: DONE.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
type: regex
target: { source: file, path: .glab-stub/calls.log }
pattern: '\["mr", "create"'
match: not_contains
weight: 1
---

A merge request was opened with glab.
No merge request was opened: the run ends at the branch.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
type: tool_used
tool: Bash
input_match: '\bgit\b[^"]*\bpush\b'
min: 0
max: 0
weight: 1
---

The run never pushed: what happens to the branch after the run is the user's call.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
type: regex
target: { source: file, path: readwell/.git/HEAD }
pattern: 'ref: refs/heads/.*14'
weight: 1
---

The run ends with a branch whose name contains 14 checked out.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ focus: trace
weight: 1
---

A test for the days-overdue line was written and seen failing before src/reminders.js changed, and the pushed branch changes only src/reminders.js and test files.
A test for the days-overdue line was written and seen failing before src/reminders.js changed, and the branch changes only src/reminders.js and test files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The run never tried to look up a GitHub issue or pull request after learning the repository is on GitLab (a single failed gh probe before that is fine).
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: last_message
weight: 1
---

The final reply names the branch, lists the VPS check as manual, and ends with a line STATUS: DONE and a short reason.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ expected_outcome: |
Batch 1 of parent #40 was #41; its PR #50 is open and not merged. #42 is blocked by #41. The user says the
PR looks good and asks for the next batch. The run checks PR #50 on the code host, finds it unmerged, and
does not start #42: no runner, no branch, no PR, no code change. "Looks good" is not a request to merge,
so it does not try to merge #50 either. It replies that batch 2 (#42) waits on PR #50 being merged, and
that it can merge it if asked.
so it does not try to merge #50 either: merging is the user's call. It replies that batch 2 (#42) waits
on PR #50 being merged.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
here="$(dirname "$0")"
cp -R "$here/../../../feature-design/evals/challenges-idea-before-interview/files/." .
cp -R "$here/../clear-issue-ships-test-first-pr/files/bin" .
cp -R "$here/../clear-issue-built-test-first/files/bin" .
cp -R "$here/files/." .
git init -q --bare remote/readwell.git
git -C readwell init -q -b main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: issue-contradicts-adr-stops
expected_outcome: |
Issue #19 claims ADR 0003 already allows two renewals, but docs/adr/0003-one-renewal-per-loan.md
says one renewal per loan (so every copy is back within six weeks), and src/loans.js cites it. The run
reads the ADR, changes no code, opens no PR, and reports the mismatch as what the issue expected, what it
reads the ADR, changes no code, commits nothing, and reports the mismatch as what the issue expected, what it
found (with the file), and why it matters (building it contradicts an accepted decision, which would need
superseding), ending with STATUS: NEEDS_CONTEXT.
context:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
here="$(dirname "$0")"
cp -R "$here/../../../feature-design/evals/challenges-idea-before-interview/files/." .
cp -R "$here/../clear-issue-ships-test-first-pr/files/bin" .
cp -R "$here/../clear-issue-built-test-first/files/bin" .
cp -R "$here/files/." .
git init -q --bare remote/readwell.git
git -C readwell init -q -b main
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ timeout_seconds: 600
allowed_tools: [Read, Glob, Grep, Skill, Write, Edit, Bash, Agent]
---

pick up #19 in readwell and open a PR
pick up #19 in readwell

(sandbox note: GitHub is simulated here; put this sandbox's gh first on PATH with `export PATH="$PWD/bin:$PATH"` from the sandbox root before any gh command. Nobody can answer questions during this run.)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
schema_version: "1.1"
name: jira-issue-branch-named-by-key
expected_outcome: |
RW-14 is a Jira work item (millbrook.atlassian.net); readwell's code is on GitHub, and CONTRIBUTING.md says
work is tracked in Jira. RW-14 is blocked by RW-12, which is Done, and has a comment from the maintainer. The run
reads RW-14 with acli including its comment, checks RW-12 is done, and builds it test-first on a branch
whose name has the key RW-14, committed there. It assigns RW-14 to the account acli is signed in as and
leaves the Jira status alone. It pushes nothing and opens no pull request. The reply names the branch,
carries the criteria checklist (automated ticked, the VPS check an unticked manual check), and ends with
STATUS: DONE.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
type: regex
target: { source: file, path: readwell/.git/HEAD }
pattern: 'ref: refs/heads/.*RW-14'
weight: 1
---

The run ends with a branch whose name contains the key RW-14 checked out.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
type: regex
target: { source: file, path: .gh-stub/calls.log }
pattern: '\["pr", "create"'
match: not_contains
weight: 1
---

No pull request was opened: the run ends at the branch.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
type: tool_used
tool: Bash
input_match: '\bgit\b[^"]*\bpush\b'
min: 0
max: 0
weight: 1
---

The run never pushed: what happens to the branch after the run is the user's call.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ focus: trace
weight: 1
---

A test for the days-overdue line was written and seen failing before src/reminders.js changed, and the pushed branch changes only src/reminders.js and test files.
A test for the days-overdue line was written and seen failing before src/reminders.js changed, and the branch changes only src/reminders.js and test files.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: last_message
weight: 1
---

The final reply names the branch, has a checklist where the automated acceptance criteria are ticked and the VPS outbox check after deploy is an unticked manual check, and ends with a line STATUS: DONE and a short reason.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
here="$(dirname "$0")"
cp -R "$here/../../../feature-design/evals/challenges-idea-before-interview/files/." .
cp -R "$here/../clear-issue-ships-test-first-pr/files/bin" .
cp -R "$here/../clear-issue-built-test-first/files/bin" .
cp -R "$here/files/." .
git init -q --bare remote/readwell.git
git -C readwell init -q -b main
Expand Down
Loading