Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Mechanical commits that touched content without changing what it says.
# src/lib/dates.ts skips them when working out a page's 'revised' date, and
# git blame --ignore-revs-file skips them too.
# feat(content): Migrate the Jekyll pages into the Astro collection
8126bdea29edda117c5d9c305cd203828d51f45a
56 changes: 56 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Deploy

# Builds the Astro site, runs every check, and publishes dist/ to GitHub Pages.
# Needs the repository's Pages source set to "GitHub Actions"
# (Settings > Pages > Build and deployment > Source).

on:
push:
branches: [main]
pull_request:
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
# "Revised" dates come from git history (src/lib/dates.ts); a shallow
# clone silently falls back to the dates baked into front matter.
fetch-depth: 0
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run check
- run: npm run lint:voice
- run: npm run build
- run: npm run check:site
- uses: actions/configure-pages@v6
if: github.event_name != 'pull_request'
- uses: actions/upload-pages-artifact@v5
if: github.event_name != 'pull_request'
with:
path: dist

deploy:
if: github.event_name != 'pull_request'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ vendor
.bundle
_site
analysis-output.md

# Ephemeral skill working state
.forge/
node_modules
dist
.astro
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.4.1
nodejs 25.4.0
10 changes: 0 additions & 10 deletions 404.md

This file was deleted.

201 changes: 43 additions & 158 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,184 +1,69 @@
# AGENTS.md — Writing Style and Tone Guide
# AGENTS.md: writing and structuring a page

This file defines the tone, grammar rules, structural patterns, and quality bar for all content on this site. Use it as a reference when writing or reviewing pages.
**The voice is `VOICE.md`.** It was measured from the author's own 2024-25 writing and it wins every disagreement. Three rules an earlier version of this file carried are gone because the author never followed them: headings stay in **Title Case**, exclamation points are fine within the budget, and semicolons are rare but allowed. Run `node scripts/voice-lint.mjs` before you finish.

---

## The Reader

The audience is a working technical professional. They are busy, skeptical, and will stop reading the moment something feels like a corporate memo or a marketing page. Do not write to impress them. Write to be useful to them.

They can handle ambiguity, incomplete answers, and "I am not sure about this." What they cannot handle is vague language dressed up as confidence.

---

## Tone

**Write like you are explaining something to a colleague over lunch**, not presenting to a committee.

- First person is fine. "I find that..." and "you will notice..." are both acceptable.
- Opinions are fine. State them as opinions, not as universal truths.
- Humor is welcome when it fits naturally. Do not force it and do not explain it.
- Acknowledge when something is hard, incomplete, or uncertain. "I do not know" beats false precision.
- Casual does not mean careless. The thinking should be rigorous even when the tone is relaxed.

---

## What Not to Write

### Corporate vocabulary — never use these

- "leverage", "utilize" (use "use")
- "strategic asset", "value-add", "drive adoption", "best-in-class"
- "technical governance", "architectural integrity", "stakeholder alignment"
- "comprehensive", "in-depth", "cutting-edge", "robust"

### AI giveaways — phrases that signal the text was not written by a person
## The reader

- "delve into", "it is worth noting", "it is important to"
- "in conclusion", "to summarize", "furthermore", "moreover"
- "it should be noted that", "consideration should be given to"
- "this section will cover...", "as mentioned above..."
- Bullet lists that restate the heading they are under
A working technical person who was sent a link: busy, skeptical, gone the moment something reads like a memo or a pitch. Often it is the author, later, looking up what they once worked out. Write to be useful to them.

### Hedging language
## Front matter

Passive voice used to avoid accountability is a red flag. "It was decided that..." — by whom? "Changes were made..." — what changes?

Write the subject. Write the agent. Write who did what.

---

## Grammar Rules

These are specific to this project and override general style preferences.

- **No em dashes in prose text.** Use a comma, a period, or a colon depending on the relationship between the clauses. Em dashes are fine inside code blocks.
- **No semicolons in prose text.** If two clauses need a semicolon, they probably deserve to be two sentences. Semicolons in code blocks are fine.
- **US English spelling.** "color" not "colour", "rigor" not "rigour", "favor" not "favour".
- **Contractions are fine** in casual sections. "It is" and "it's" are both acceptable. Pick one and be consistent within a paragraph.
- **Sentence case for headings.** "How to write an ADR" not "How To Write An ADR". Proper nouns and acronyms are still capitalized.
- **No exclamation points** unless quoting someone or in a clearly comedic context.

---

## Structure Patterns

### Every page
Every page:

```yaml
---
layout: custom
title: Page Title
description: One sentence. No period at the end.
status: green|yellow|orange|red
category: optimization|educational|self-help|mentoring|theory|meta
description: One short line. The jokes live in the packaging, so this is a good place for one.
status: yellow # green | yellow | orange | red, see below
started: 2026-11-17 # when the text first existed (an earlier note counts)
revised: 2026-11-17 # optional to bump: the build also reads the last commit
---
```

Followed by:
1. Header image (using the `myImg` class for popup behavior)
2. Optional blockquote (a short quote relevant to the topic, not generic inspiration)
3. Horizontal rule
4. Content

### Chapter pages add
A book landing adds its place on the shelf:

```yaml
book: book-slug
chapter: N
shelf: tools # tools | people | career | theories | life | odds
spine:
hue: 200 # 0-360; spine, cover and accent colors are derived and contrast-checked
glyph: knight # a name from src/components/Glyph.astro
elsewhere: # optional: a site that does part of this book's job
name: Vibe Check
url: https://interviews.neorgon.com/
relation: related # or superseded: shows a "Moved on" box near the top
note: One line on what the reader will find there.
```

The chapter number can be a decimal (0, 1, 1.5, 2, etc.) for optional or interstitial chapters.

### Status meanings

| Status | Meaning | When to use |
|--------|---------|-------------|
| green | Nearly done | Content is complete, reviewed, and readable |
| yellow | Draft | Most sections exist; some gaps or rough edges remain |
| orange | Jottings | Outline exists, significant content missing |
| red | Barely started | Skeleton or placeholder only |

Assign the status honestly. A page with mostly empty sections is red, not yellow.
A chapter names its book and its place (numbers are yours: 0, 1.5 and 2.5 are fine):

### Navigation buttons (landing pages only)

```html
<div class="nav-buttons">
<a href="/pages/book-slug-chapter-1" class="custom-button left"><strong>Chapter 1</strong></a>
</div>
```yaml
book: thesis-the-core-five
chapter: 2.5
label: References # optional, shown instead of "Chapter N"
```

- `left` class for forward-pointing buttons (next chapter, first chapter)
- `right` class for backward-pointing buttons (previous chapter)
- Do not include `{% include chapter-nav.html %}` on any page. Navigation is handled by the site's navbar.

### Links

Always use absolute paths without the `.md` extension: `/pages/page-name`

---

## What a Good Page Looks Like

A page is good when:
Optional anywhere: `plate` and `plateAlt` (the opening image, path relative to the file, plus real alt text), `draft: true` (built but unlisted), `movedTo: <slug>` (the URL now points at another page).

1. **The first paragraph tells you exactly what you will get** — not what the author hopes you will get, not a summary of the field, not a disclaimer. The actual thing.
2. **Each section earns its place.** If a heading does not add something the surrounding prose cannot, remove the heading and fold the content in.
3. **Examples are concrete.** "For example, use `in:#team-channel from:@user`" is useful. "For example, you can narrow your search" is not.
4. **The writing does not require re-reading.** If a sentence needs to be read twice to parse, rewrite it.
5. **Incomplete sections are removed or marked clearly.** An empty heading is worse than no heading. Either fill it or delete it.

---

## Common First-Draft Problems

These patterns appear often and should be caught in review:

| Problem | Example | Fix |
|---------|---------|-----|
| Restating the title | Section "What is an ADR?" opens with "An ADR is an Architecture Decision Record" | Lead with the thing that matters, not the definition |
| List where prose belongs | Three-item list that says the same thing three ways | Merge into one sentence |
| Prose where a list belongs | Long run-on sentence listing five things separated by commas | Make it a list |
| Inflated scope | "This chapter covers everything you need to know about X" | Say what the chapter actually covers |
| Vanishing subject | "It was determined that the approach would be..." | "We decided to..." |
| Missing landing | Section ends with a bullet list and no closing thought | Add one sentence of synthesis or transition |

---
## Status

## Examples
| Status | Label on the site | Use when |
|---|---|---|
| green | Nearly Done | Complete and readable; polish only |
| yellow | Draft | Most sections exist; gaps and rough edges remain |
| orange | Jottings | Notes and an outline; real text is missing |
| red | Barely Started | A title and a direction |

### Bad opening paragraph
Rate honestly. A book's status should not be greener than its chapters.

> Confluence is a powerful team collaboration tool developed by Atlassian that allows teams to create, share, and collaborate on documentation, project plans, and other content in a centralized, accessible platform. In today's fast-paced business environment, effective knowledge management is crucial for team success.

Why it fails: restates the product name, uses corporate filler ("powerful", "centralized, accessible platform"), and the second sentence could be deleted without losing anything.

### Good opening paragraph (from this site)

> Our memory is not perfect, especially in tech, juggling multiple stacks and constantly switching contexts. Then, out of nowhere, someone asks about something you worked on months ago, and you have to dig deep to pull that knowledge back out.

Why it works: specific, relatable, no waste, makes you want to read the next sentence.

---

### Bad explanation of a concept

> ADRs provide several key benefits in enterprise settings: Collective Knowledge Repository, Cross-Team Alignment, Future-Proofing, Informed Decision Making, and Scalable Knowledge Management.

Why it fails: noun-phrase list with no explanation, "enterprise settings" is vague, every item is a buzzword.

### Good explanation of the same concept (from this site)

> Without the "why", you end up with a system full of choices nobody can explain. New team members inherit decisions they cannot question because the context is gone. Old team members get asked to defend decisions they barely remember.

Why it works: concrete consequences, no jargon, each sentence adds something the previous one did not.

---
## Structure

## A Note on Completeness
- The layout renders the title (the only h1), the cover, the contents, the chapter navigation and the link-out box. Don't repeat any of them in the body, and don't keep a "Chapters Overview" list of links on a landing page.
- Headings start at `##`. `---` rules between sections are part of the style.
- Links are absolute: `/pages/page-name`.
- Images use Markdown syntax with a path relative to the file (`../../assets/images/...`) so they get optimized, and their alt text describes the picture. A file name is not alt text.
- No `<style>` or `<script>` in content.
- An empty heading is worse than none. Delete it, or say in one honest line that the section is still being written.

It is better to have a short, honest, complete page than a long page with empty sections. Empty headings tell the reader that someone planned to write something and did not. That is worse than having less content.
## Text that isn't the author's yet

If a section is not ready, either write a single honest sentence like "This section is still being worked on" or remove the heading entirely until there is something to say.
New words with no source go inside `<div data-review="new">` (with blank lines inside) or `<span data-review="new">`. They show highlighted in `make dev`. Text moved from an older note gets a `<!-- source: file -->` comment instead. The author removes the marker when they keep the text.
Loading
Loading