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
5 changes: 3 additions & 2 deletions .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.17.2",
"version": "0.18.0",
"author": {
"name": "Federico Mastrini",
"url": "https://fedemas.dev"
Expand Down Expand Up @@ -30,7 +30,8 @@
"./skills/resolve-merge-conflicts",
"./skills/test-driven-development",
"./skills/ux-brainstorm",
"./skills/ux-stress-test"
"./skills/ux-stress-test",
"./skills/writing-for-humans"
],
"icon": "./.claude-plugin/logo.png"
}
3 changes: 2 additions & 1 deletion 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.17.2-B4A7E5?style=flat-square)](.claude-plugin/plugin.json)
[![Version](https://img.shields.io/badge/version-0.18.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 All @@ -34,6 +34,7 @@ fstack turns everyday engineering workflows into skills your coding agent runs e
| Building | [implement](skills/implement/SKILL.md) · [implement-issue](skills/implement-issue/SKILL.md) · [test-driven-development](skills/test-driven-development/SKILL.md) |
| Code quality | [code-review](skills/code-review/SKILL.md) · [receiving-code-review](skills/receiving-code-review/SKILL.md) · [comment-sweep](skills/comment-sweep/SKILL.md) |
| Pull requests | [pr-open](skills/pr-open/SKILL.md) · [pr-ship](skills/pr-ship/SKILL.md) · [pr-babysit](skills/pr-babysit/SKILL.md) · [resolve-merge-conflicts](skills/resolve-merge-conflicts/SKILL.md) |
| Writing | [writing-for-humans](skills/writing-for-humans/SKILL.md) |

## 📦 Install

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.17.2",
"version": "0.18.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.17.2",
"version": "0.18.0",
"description": "Federico Mastrini's agent skills for everyday software engineering work.",
"author": {
"name": "Federico Mastrini",
Expand Down
50 changes: 50 additions & 0 deletions skills/writing-for-humans/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: writing-for-humans
description: 'Use when writing or editing prose that people will read, such as docs, READMEs, guides, reports, emails, announcements, release notes, or issue and PR text, or when the user asks to make text clearer, plainer, shorter, or less AI-sounding ("this reads like a bot wrote it", "humanize this", "make it sound like a person").'
---

# Writing for humans

Write text a person can read once and act on. Work in two passes: draft for substance, then check the draft in a separate pass. A check pass catches more than rules held in mind while drafting.

## Draft: get the substance right

Wordy habits are symptoms. Text with no clear point, no specific claim, or no source stays bad after its words are cleaned, so fix what the text says first.

- **Know the reader**: who reads it, what they already know, what they do next. Define a term they may not know the first time it appears ("Arabidopsis, a flowering mustard plant") and spell out each abbreviation once. Keep the terms they share: engineers reading about p99 latency need no definition of p99.
- **Lead with the answer.** The first one or two sentences carry the bottom line ("The refund arrives in 3 working days."); the rest follows in order of importance.
- **Make every claim specific and true.** Name the source ("the 2025 support survey found…") or drop the claim. Every name, date, number, and citation in the final text is real. When a fact is missing, ask the user. When nobody can answer, write the text so it can go out as is, leaving out or writing around the missing fact, and name the gap in your reply: a vague true sentence beats a specific invented one or a placeholder.
- **Give every sentence new information.** Open with the point and stop when the information ends. Preamble ("Let's break this down"), narration of your own process, closers that restate the answer, lines that only sound wise, "In conclusion", and chat openers and sign-offs ("Great question!", "I hope this helps", "Let me know if…") all go.

## Draft: write plainly

- Say what a thing is. Use "not X but Y" only to correct a belief the reader actually holds.
- Use "is", "are", and "has" where a draft reaches for "serves as", "stands as", or "boasts".
- Give the fact that earned the praise in place of the praise ("groundbreaking", "vibrant", "pivotal role"), and end the sentence at the fact rather than on an "-ing" tail about its significance ("…, highlighting its importance").
- Name as many items as exist. A list of three is right when there are three.
- Call one thing by one name throughout: "the app" each time, not app, platform, and solution in turn.
- State a problem with its status ("Exports above 10,000 rows still time out; the fix ships in March") in place of a challenges paragraph that ends in optimism.
- Address the reader as "you", in the active voice: "Submit the form." Give steps plainly, without "simply", "just", or "it's easy".
- Keep sentences under about 25 words and paragraphs to one idea, and vary sentence length so the rhythm stays uneven.
- Keep a voice. Greetings, transitions, a formal tone, and correct grammar are normal human writing; keep them where the genre expects them, since clean but voiceless prose reads as machine-made too. When the user shares a sample of their writing, match its habits.

## Draft: format for where it lands

A format the repo, a template, or the calling skill sets for this text wins; these rules fill in the rest.

- Headings in sentence case. Bold only the rare phrase the reader must not miss, and keep bullets plain. Leave emoji out unless the user's own writing uses them.
Comment thread
pullfrog[bot] marked this conversation as resolved.
Resolved
- Prose for a line of reasoning, lists for items the reader scans, and a table when several items share several attributes. Two facts make a sentence.
- At most one em dash per paragraph; commas, colons, and parentheses do the rest.
- Markdown only where it renders. Email, chat apps, and plain-text fields get plain text, with no `##`, `**`, or tool tokens.

## Check pass

1. Reread as the reader, sentence by sentence, as if aloud. Rewrite any sentence that is awkward spoken, and any paragraph the reader couldn't restate in their own words.
2. Hold the draft against each rule above.
3. Read [references/patterns.md](references/patterns.md) and scan the draft for its patterns, then its words. One listed word alone is fine; several together mark autopilot prose. Fix a hit by rewriting the sentence around a specific fact. Swapping in a synonym only trades one tell for the next.

The word list is English. For another language, apply the same patterns and watch for that language's own stock phrases and literal calques from English.

## Editing someone else's text

Keep their meaning, facts, and voice, and change what a rule flags. Return the revised text, then list in a line or two any claim you couldn't make specific without facts from them, such as a quote credited to "experts" with no name.
3 changes: 3 additions & 0 deletions skills/writing-for-humans/agents/openai.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
interface:
display_name: "Writing for Humans"
short_description: "Write and edit prose people can read once and act on"
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
schema_version: "1.1"
name: expense-announcement-cleanup
expected_outcome: |
announcement.md is rewritten as a short plain-text email. Its opening sentences say that expenses move to
Spendwise (spend.fennel.example) on 1 December, and it keeps every real fact: receipts by photo in the app,
reimbursement in 5 working days instead of 3 weeks, the old form retired after 15 December. The unsourced
"experts agree ... 40%" claim is gone or flagged to the user, never given an invented source. The text drops
the emoji, markdown headings and bold, the "not just a tool, a mindset" lines, the sales words, the
"In conclusion" section and the closing pleasantries, and adds no facts of its own.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## 🚀 Introducing Our Brand New Expense Experience!

Great news, team! We're thrilled to announce a groundbreaking change to how we handle expenses here at Fennel Labs — one that will fundamentally transform the way we work.

It's not just a new tool. It's a whole new mindset. Not paperwork. Not delays. Just seamless reimbursement.

### ✨ Why This Matters

In today's fast-moving landscape, managing expenses efficiently is more crucial than ever. Experts agree that streamlined expense flows boost team productivity by up to 40%. Spendwise serves as a pivotal hub for all your expense needs, fostering a culture of transparency and trust.

### 🔑 Key Benefits

- **Fast:** Snap a photo of your receipt in the Spendwise app — it reads the amount for you.
- **Secure:** Your data is protected by robust, enterprise-grade security.
- **Seamless:** Reimbursement lands in 5 working days instead of the 3 weeks it takes today.

### 📅 What Happens Next

Starting 1 December, all expenses go through Spendwise at spend.fennel.example. The old expense form will remain available until 15 December, after which it will be retired — marking the end of an era!

### 💬 In Conclusion

While change can be challenging, we're confident that Spendwise will empower every team member to focus on what truly matters. The future of expenses is here — and it looks bright!

If you have any questions, feel free to reach out. We hope this helps! 🎉
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The first two sentences of the rewritten announcement.md say that expenses move to Spendwise starting 1 December.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The rewritten announcement.md keeps all of these facts: the address spend.fennel.example, receipts captured by photo in the app, reimbursement in 5 working days instead of 3 weeks, and the old form retired after 15 December.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The "experts agree ... up to 40%" productivity claim is either removed from announcement.md or kept only with a note to the user that it needs a source; it is never attributed to an invented study, person, or organization.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The rewritten announcement.md contains no markdown syntax (no lines starting with #, no **bold**) and no emoji.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The rewritten announcement.md contains no "it is not X, it is Y" or "Not X. Not Y. Just Z." constructions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The rewritten announcement.md has no "In conclusion" section, no "the future looks bright" style optimism, and no "We hope this helps" sign-off.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

Every date, number, name, and address in the rewritten announcement.md also appears in the original announcement; the rewrite adds no new facts such as a contact person, deadline, or policy detail.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

No paragraph of the rewritten announcement.md contains more than one em dash.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -eu
cp -R "$(dirname "$0")/files/." .
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
tags: [writing-for-humans]
max_turns: 30
timeout_seconds: 600
allowed_tools: [Read, Glob, Grep, Skill, Write, Edit, Bash]
---

can you clean up announcement.md before i send it? it goes out tomorrow as a plain-text email to the whole company. rewrite it in place

(Nobody can answer questions during this run.)

Input files: announcement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
schema_version: "1.1"
name: incident-summary-for-engineers
expected_outcome: |
summary.md opens with the impact and the status: checkout-api p99 latency and 5xx errors (peak 18%) for about
40 minutes on 20 November, resolved by rolling back. It gives the cause in the engineers' own terms (the
WEB_CONCURRENCY change pushed 960 client connections against pgbouncer's max_client_conn of 600, saturating
the pool) without defining p99, pgbouncer or connection pools. It says the failed-checkout count is pending
from analytics instead of estimating it, lists the three follow-ups with Ines as owner of the
max_client_conn decision, and ends without a lessons-learned or optimistic closing line.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
checkout-api incident 2026-11-20 (all times UTC)

14:02 deploy 4f1c2a of checkout-api, WEB_CONCURRENCY 4 -> 12 per pod
14:06 p99 latency 380ms -> 4.1s, alert fired
14:09 5xx rate climbing, peak 18% at 14:21
14:15 pgbouncer shows pool saturated: 12 workers x 8 pods x pool_size 10 = 960 client conns vs max_client_conn 600
14:31 decision: roll back instead of raising max_client_conn (db max_connections headroom unclear)
14:38 rollback to 9b07e1 complete
14:44 p99 back under 400ms, 5xx at baseline
customer impact: failed checkouts count pending from analytics (ETA Monday)
follow-ups:
- add a CI check: workers x pods x pool_size <= max_client_conn
- decide on pgbouncer max_client_conn vs postgres max_connections (owner: Ines)
- load test concurrency changes before deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The first two sentences of summary.md state that checkout-api was degraded (latency and/or errors) and that a rollback resolved it.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

summary.md explains the cause as the WEB_CONCURRENCY increase exhausting pgbouncer client connections (960 against max_client_conn 600), using these terms without defining p99, pgbouncer, or connection pool for the reader.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

summary.md gives no number or estimate of failed checkouts or affected customers, and says that count is still pending from analytics.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

summary.md lists the three follow-ups (CI check on workers x pods x pool_size, the max_client_conn vs max_connections decision owned by Ines, load testing concurrency changes).
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

summary.md ends on a fact or a follow-up, with no closing line about lessons learned, resilience, or the team doing great.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

summary.md is under 250 words.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
set -eu
cp -R "$(dirname "$0")/files/." .
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
tags: [writing-for-humans]
max_turns: 30
timeout_seconds: 600
allowed_tools: [Read, Glob, Grep, Skill, Write, Edit, Bash]
---

write up a short incident summary for the backend team channel from timeline.md. readers are the backend engineers. save it to summary.md

(Nobody can answer questions during this run.)

Input files: timeline.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
schema_version: "1.1"
name: maintenance-notice-for-clinic-staff
expected_outcome: |
notice.md tells front desk staff, in their own terms, that from Saturday 5 December 22:00 to Sunday 6 December
02:00 they can see bookings but cannot create, move or cancel them, and that they use the paper booking form
in the front desk drawer and enter those bookings afterwards. It covers the possible extension to 04:00 with
updates on the intranet banner and the Sunday SMS reminders held until 08:00. The database upgrade, RPO,
snapshot, read-only mode and sync details stay out or are said in plain words. The weekend contact number is
missing from the notes, so the run leaves no placeholder and invents no number: it leaves the line out or
marks the gap, and tells the user.
context:
scaffold_script: place-files.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
maint window - booking platform
- PG major upgrade 14 -> 16 on prod cluster
- window Sat 5 Dec 22:00 - Sun 6 Dec 02:00 CET
- booking svc in RO mode for the whole window: existing appts visible, no create/move/cancel
- PMS sync paused, catches up automatically after window (no manual action)
- RPO 0, snapshot taken 21:45, rollback via snapshot if smoke tests fail
- if rollback happens window may extend to 04:00, we post status on the intranet banner
- staff fallback: paper booking form (pad in front desk drawer), enter them in the system Sunday after 02:00 or Monday morning
- SMS reminders for Sunday appts held until Sun 08:00 then sent
- on-call: Dario (infra). weekend contact number TBD, ask Marta
- 6 clinics affected, all of them
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

The first two sentences of notice.md say that bookings cannot be created, moved, or cancelled from Saturday 5 December 22:00 to Sunday 6 December 02:00.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

notice.md uses none of these terms without explaining them in everyday words: PG or Postgres, upgrade version numbers, RPO, snapshot, rollback, read-only or RO, cluster, sync, smoke tests.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

notice.md tells staff to use the paper booking form in the front desk drawer during the window and to enter those bookings in the system afterwards (Sunday after 02:00 or Monday morning).
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

notice.md mentions both that the window may run until 04:00 with updates on the intranet banner, and that SMS reminders for Sunday appointments go out at 08:00 on Sunday.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

notice.md contains no phone number and no placeholder such as [number], TBD, or XXX for the weekend contact, and the final reply tells the user that the weekend contact number is missing.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

notice.md gives its instructions to staff directly, in the active voice (for example "use the paper form" or "you can still see bookings"), not in passive constructions like "bookings must be recorded".
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
type: llm
focus: trace
weight: 1
---

Every heading in notice.md is in sentence case, and notice.md contains no emoji.
Loading