/john-skills:tilfrom john-skills
Creates standardized TIL (Today I Learned) documents that capture one insight from an AI session using a short Markdown format with YAML frontmatter.
Ships in john-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn the current session — or one thing learned in it — into a document a person reads in under a minute and an AI agent can parse without guessing. The output is the deliverable; the making of it should take a minute or two.
These govern every TIL. When a judgment call comes up, resolve it with the first principle that applies.
references/lint-rules.md: plain words, active voice, no AI-fingerprint vocabulary (delve, robust, leverage, seamless, game-changer…), no "Here's the thing", no mic-drop closers, no recap endings. Every sentence must inform.A TIL is a Markdown file with YAML frontmatter and a fixed body shape.
---
title: <the learning as a claim, ≤70 chars>
description: <one sentence expanding the title — what and why it matters>
author: <name>
date: <YYYY-MM-DD>
---
# <title, repeated>
<the learning, as one to three short paragraphs — the symptom as the reader would hit it, the mechanism (the "because"), what you did about it, the one-level-up generalization when there's a real one, and a final clause or sentence for any caveat or unverified edge>
<optional: ONE code block, command, or image — the receipt>
A TIL lives or dies on its title. A great one carries three elements in ≤70 characters: a specific claim (what happens, stated boldly), key terms (the searchable nouns — the technology, the behavior, the outcome), and when it fits, a hook (the surprising or contrary angle). Apply these rules, in priority order:
The description is the second hook, read in previews and by agents deciding whether to fetch the full TIL. One sentence. It pays off or raises the stakes on what the title left open — the cost, the surprise, the fix — and never restates the title in different words.
YYYY-MM-DD-<slug-of-title>.md..env contents; PHI or any patient/medical detail; SSNs, credit card numbers, dates of birth; customer or employee names and emails; internal hostnames, IPs, account IDs, and non-public URLs. If the learning itself involves one of these (e.g. a debugging session on an auth token), the TIL states the mechanism with placeholders (<API_KEY>, example.com, 123456789012) — the real value never appears, even partially.date +%Y-%m-%d if a shell is available, otherwise take it from session context or ask. Author: git config user.name if available, else the user's name from session context, else ask once.references/lint-rules.md (bundled with this skill) and check the draft against every rule; fix all hits, re-check once, then stop — max 2 passes. Then check the hard constraints: title ≤70 chars, body ≤250 words, one artifact max, all frontmatter fields present.AKIA…, sk-…, ghp_…, eyJ…), email addresses, 9- and 16-digit numbers, and real hostnames or account IDs. Redact with placeholders, never with partial masking. If you're unsure whether something is sensitive, ask the user before delivering — don't guess in the shareable direction.The Markdown spec above is the TIL's canonical form — every output format is a rendering of that same content, never a rewrite. Compose and lint once, then render. The user picks the format ("as markdown", "as html", "tweet it"); with no preference stated, use plain text.
Author · YYYY-MM-DD on the second, blank line, then the body paragraphs separated by blank lines. Indent the receipt by four spaces. No #, no **, no backticks.YYYY-MM-DD-<slug>.md).references/html-template.html — substitute the placeholders, keep the content identical.This skill does not persist or publish on its own. Users route TILs through their own connectors and storage; the standard format is what makes that hand-off trivial.
---
title: Don't save your DynamoDB pagination token for tomorrow
description: Resuming a day-old scan silently skips or repeats rows — here's what bit us and the rule we adopted.
author: John Damask
date: 2026-08-11
---
# Don't save your DynamoDB pagination token for tomorrow
Rows went silently missing from our resumed DynamoDB listings because a `LastEvaluatedKey` is a snapshot of one item's key, not a live cursor — delete that item and resuming from it skips or repeats rows. We stopped persisting tokens across sessions and capped resume windows at one request cycle. Any pagination token that encodes a position rather than a snapshot has the same problem. This bit us on Scan; Query against a stable partition behaves better but we haven't verified it.
That's the target: readable in under a minute, one insight, one caveat, nothing wasted.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
til, knowledge-base, note-taking, documentation, learning, markdown
npx claudepluginhub jbdamask/john-claude-skills --plugin john-skills32 skills in this plugin
/architecture-decision-recordsWrite and maintain Architecture Decision Records (ADRs) that capture the context and rationale behind significant technical decisions. Use when documenting an architectural or technology choice, recording a design trade-off, superseding a past decision, or setting up an ADR process. Also use proactively to offer an ADR when a significant decision is made during a coding session (database, framework, auth scheme, API style, integration pattern). Triggers on "write an ADR", "document this decision", "record this architecture choice", "add a decision record", "supersede ADR"./aws-learningsProactively catch common AWS infrastructure mistakes before they happen. Use when creating or modifying AWS components — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, or SSM — to find and apply hard-won deployment lessons and avoid known pitfalls. Read-only: fetches lessons, does not add them./aws-learnings-addContribute a new lesson to the AWS Learnings library (the llms.txt-format library at github.com/jbdamask/aws-learnings-library). Use this whenever you've just debugged, fixed, or discovered a non-obvious AWS gotcha — CloudFormation, CDK, Lambda, API Gateway, IAM, S3, CloudFront, EC2, EventBridge, SQS, Secrets Manager, SSM — and want to capture it for next time. Triggers on phrases like 'add an AWS learning', 'save this AWS lesson', 'capture this gotcha', 'add this to the learnings library', or after solving a tricky AWS deployment problem worth remembering. This skill WRITES files (a new lesson file + an updated index) and prepares a pull request; it is the write companion to the read-only 'aws-learnings' skill.Other plugins' skills for the same job