spec-analytics
Skill0 starsChanged 16 days agoMITView on GitHub
Specify analytics events, properties, and privacy notes without inventing baselines. Use when the user asks for event specs, instrumentation, tracking plan, or /spec-analytics. Do not write product code.
In this repository66 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-passSkill
- assess-changeSkill
- build-regression-packSkill
- charter-exploratorySkill
- classify-dataSkill
- commitSkill
- cut-releaseSkill
- data-changeSkill
- debugSkill
- design-experimentSkill
- diff-environmentsSkill
- draft-steercoSkill
- engineering-barSkill
- explain-codeSkill
- explore-codebaseSkill
- fix-ciSkill
- handoffSkill
- implement-changeSkill
- incident-triageSkill
- lean-reviewSkill
- map-dependenciesSkill
- map-design-handoffSkill
- map-processSkill
- open-prSkill
- performanceSkill
- plan-data-migrationSkill
- plan-incrementSkill
- plan-rollbackSkill
- plan-uatSkill
- prioritize-backlogSkill
- production-passSkill
- ready-to-mergeSkill
- record-decisionSkill
- refactor-safelySkill
- revert-changeSkill
- review-architectureSkill
- review-changeSkill
- review-pipelineSkill
- security-passSkill
- shape-workSkill
- ship-notesSkill
- spec-observabilitySkill
- start-projectSkill
- synthesize-discoverySkill
- triage-blockersSkill
- triage-defectSkill
- update-raidSkill
- verify-uiSkill
- write-api-examplesSkill
- write-architectureSkill
- write-designSkill
- write-dev-tasksSkill
- write-docsSkill
- write-integration-contractSkill
- write-nfrSkill
- write-opportunitySkill
- write-prdSkill
- write-requirementsSkill
- write-runbookSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Do not invent baselines, funnels, or event names that contradict the repo.
- Distinctive: line 41
Read AGENTS.md if present.
- Distinctive: line 42
Read the PRD / UI spec. Only journeys that exist there.
- Distinctive: line 47
Do not put examples that look like real emails, phones, or tokens.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spec analytics
Name what we will emit and what we will not. This is not an experiment (design-experiment) and not a dashboard design.
Do not invent baselines, funnels, or event names that contradict the repo.
Is this the right skill?
| Signal | Do this instead |
| Hypothesis + stop rule | design-experiment |
| PII classification of a change | classify-data |
| Implementation of the events | implement-change |
Required inputs
- PRD, UI spec, or the user-named journeys to instrument
context/privacy notes if any; existing events in the repo if they exist
Human decisions (do not invent)
- Whether a property is allowed (PII)
- Any numeric target (that is
write-nfror the PRD)
Procedure
- Read
AGENTS.mdif present. Search the repo for existing event names before adding new ones. Reuse. - Read the PRD / UI spec. Only journeys that exist there.
- Find the home: first existing
docs/analytics/, or offer to create it. Name:docs/analytics/<slug>.md. - Open references/analytics-template.md. Copy every heading. Write
n/awhen unused. - Each event: name, when it fires, properties, PII (yes/no/unknown). No baseline column unless a number is already in the PRD.
- Will not track is required (or
nonewith reason). - Do not put examples that look like real emails, phones, or tokens.
Output
- Path:
docs/analytics/<slug>.md - Template:
references/analytics-template.md
Quality bar
- Every event traces to a PRD journey or UI spec
- Existing event names reused when found
- PII marked yes / no / unknown per property
- No invented baseline
- Unused headings are
n/a
Done
- Path
- Event count
- Next skill:
classify-dataif PII isunknown;implement-change/write-tests
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

