Repository navigation
feat(writing-for-humans): add a skill for prose people read #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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." | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
| - 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. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
11 changes: 11 additions & 0 deletions
11
skills/writing-for-humans/evals/expense-announcement-cleanup/case.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
25 changes: 25 additions & 0 deletions
25
skills/writing-for-humans/evals/expense-announcement-cleanup/files/announcement.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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! 🎉 |
7 changes: 7 additions & 0 deletions
7
...r-humans/evals/expense-announcement-cleanup/graders/01-leads-with-the-change.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...or-humans/evals/expense-announcement-cleanup/graders/02-keeps-the-real-facts.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...humans/evals/expense-announcement-cleanup/graders/03-unsourced-claim-handled.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...ing-for-humans/evals/expense-announcement-cleanup/graders/04-plain-text-only.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...humans/evals/expense-announcement-cleanup/graders/05-no-negative-parallelism.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...ng-for-humans/evals/expense-announcement-cleanup/graders/06-no-empty-closers.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...g-for-humans/evals/expense-announcement-cleanup/graders/07-no-invented-facts.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...iting-for-humans/evals/expense-announcement-cleanup/graders/08-em-dash-limit.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
3 changes: 3 additions & 0 deletions
3
skills/writing-for-humans/evals/expense-announcement-cleanup/place-files.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/." . |
12 changes: 12 additions & 0 deletions
12
skills/writing-for-humans/evals/expense-announcement-cleanup/prompt.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
11 changes: 11 additions & 0 deletions
11
skills/writing-for-humans/evals/incident-summary-for-engineers/case.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
14 changes: 14 additions & 0 deletions
14
skills/writing-for-humans/evals/incident-summary-for-engineers/files/timeline.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
7 changes: 7 additions & 0 deletions
7
...for-humans/evals/incident-summary-for-engineers/graders/01-leads-with-impact.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...humans/evals/incident-summary-for-engineers/graders/02-cause-in-shared-terms.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...ns/evals/incident-summary-for-engineers/graders/03-impact-count-not-invented.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...for-humans/evals/incident-summary-for-engineers/graders/04-follow-ups-listed.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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). |
7 changes: 7 additions & 0 deletions
7
...g-for-humans/evals/incident-summary-for-engineers/graders/05-no-empty-closer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
skills/writing-for-humans/evals/incident-summary-for-engineers/graders/06-short.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
3 changes: 3 additions & 0 deletions
3
skills/writing-for-humans/evals/incident-summary-for-engineers/place-files.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/." . |
12 changes: 12 additions & 0 deletions
12
skills/writing-for-humans/evals/incident-summary-for-engineers/prompt.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
12 changes: 12 additions & 0 deletions
12
skills/writing-for-humans/evals/maintenance-notice-for-clinic-staff/case.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
11 changes: 11 additions & 0 deletions
11
skills/writing-for-humans/evals/maintenance-notice-for-clinic-staff/files/notes.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
7 changes: 7 additions & 0 deletions
7
...s/evals/maintenance-notice-for-clinic-staff/graders/01-leads-with-the-impact.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...s/evals/maintenance-notice-for-clinic-staff/graders/02-no-unexplained-jargon.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...-humans/evals/maintenance-notice-for-clinic-staff/graders/03-says-what-to-do.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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). |
7 changes: 7 additions & 0 deletions
7
...ans/evals/maintenance-notice-for-clinic-staff/graders/04-covers-side-effects.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...ans/evals/maintenance-notice-for-clinic-staff/graders/05-no-invented-contact.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
7 changes: 7 additions & 0 deletions
7
...ns/evals/maintenance-notice-for-clinic-staff/graders/06-addresses-the-reader.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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". |
7 changes: 7 additions & 0 deletions
7
.../evals/maintenance-notice-for-clinic-staff/graders/07-sentence-case-no-emoji.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.