skills/discoveries-writing/SKILL.md
Write and maintain DISCOVERIES.md files for agents. Use when creating a new DISCOVERIES.md, adding hard-won repo-specific findings, or reviewing whether a note belongs in agent memory instead of a changelog or TODO list.
npx skillsauth add kjanat/skills discoveries-writingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Write DISCOVERIES.md as an agent memory file: a compact record of
non-obvious gotchas, surprising behaviors, and lessons that are expensive to
rediscover.
Every entry should answer this question:
"What would save the next agent from wasting time or making the same wrong assumption?"
If the answer is "not much", it does not belong in DISCOVERIES.md.
CHANGELOG.mdDISCOVERIES.md at repo rootAGENTS.md or CLAUDE.md exists, ensure it references @DISCOVERIES.md;
add the reference if it is missing# Discoveries## sections such as Build & Tooling,
Testing, Architecture, or project-specific areasKeep entries:
For most entries, use this shape:
- Problem or surprising behavior. Cause or implication. Fix or takeaway.
When a single bullet is too compressed, expand to:
### Topic
- Symptom: what failed or looked wrong
- Cause: what was actually happening
- Fix: what resolved it
- Scope: when this matters
| Don't | Why | | ---------------------------------------------------- | ------------------------------------------------- | | Dump a debugging transcript | Too noisy; future agents need the conclusion | | Record every change made | That's changelog material, not discovery material | | Keep stale discoveries after the code changed | False lore is worse than missing lore | | Add generic best practices | The file should store repo-earned knowledge | | Overfit a note to one temporary branch or experiment | Future agents cannot trust it |
| Task | Files to Read |
| ----------------------------- | ---------------------------------------------------- |
| Create a new DISCOVERIES.md | SKILL.md + references/example.md |
| Add a new finding | SKILL.md |
| Review whether a note belongs | SKILL.md (What Belongs / What Does Not Belong) |
| Copy the house style | references/example.md |
| File | Purpose | | ----------------------------------- | ------------------------------------- | | example.md | Canonical template and entry examples |
development
Use this skill whenever the user is designing, building, scaffolding, reviewing, or debugging Go-based reverse proxy or HTTP edge infrastructure, especially when they mention statute, config-as-code proxies, building an nginx replacement in Go, networking topology, TLS termination, load balancing, HTTP/2, HTTP/3, QUIC, ACME, upstream pools, middleware chains, or graceful shutdown. Trigger this skill even when the user does not explicitly name statute but is clearly working on a Go HTTP server, edge proxy, or networking infrastructure problem where the resulting artefact will be a compiled binary rather than a runtime-configured server. Also trigger when the user asks for explanations of networking protocols (HTTP/1.1, HTTP/2, HTTP/3, WebSockets, gRPC, TLS) in the context of building or operating a proxy, or when they ask about Go net/http pitfalls, transport tuning, or production-grade server defaults.
development
Routes Threlte questions to exact, commit-pinned docs paths and practical workflows. Use when helping with setup, debugging, or architecture across @threlte/core, @threlte/extras, @threlte/gltf, @threlte/rapier, @threlte/theatre, @threlte/xr, @threlte/flex, and @threlte/studio.
testing
Comprehensive lightning physics knowledge base derived from Rakov & Uman (2003) "Lightning: Physics and Effects". Covers discharge types, current parameters, leader/return-stroke physics, cloud electrification, protection, detection systems, atmospheric effects, and quantitative reference data. Use when answering questions about lightning physics, electromagnetic fields, thunderstorm electricity, lightning protection, or atmospheric electrical phenomena.
development
Generate hierarchical AGENTS.md knowledge base for a codebase. Creates root + complexity-scored subdirectory documentation.