agentleFS
rpraharajrpraharaj/ai-sdlc/skills/spec-analytics/SKILL.md

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.

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
  1. Distinctive:

    Do not invent baselines, funnels, or event names that contradict the repo.

    line 19
  2. Distinctive:

    Read AGENTS.md if present.

    line 41
  3. Distinctive:

    Read the PRD / UI spec. Only journeys that exist there.

    line 42
  4. Distinctive:

    Do not put examples that look like real emails, phones, or tokens.

    line 47

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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?

SignalDo this instead
Hypothesis + stop ruledesign-experiment
PII classification of a changeclassify-data
Implementation of the eventsimplement-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-nfr or the PRD)

Procedure

  1. Read AGENTS.md if present. Search the repo for existing event names before adding new ones. Reuse.
  2. Read the PRD / UI spec. Only journeys that exist there.
  3. Find the home: first existing docs/analytics/, or offer to create it. Name: docs/analytics/<slug>.md.
  4. Open references/analytics-template.md. Copy every heading. Write n/a when unused.
  5. Each event: name, when it fires, properties, PII (yes/no/unknown). No baseline column unless a number is already in the PRD.
  6. Will not track is required (or none with reason).
  7. 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

  1. Path
  2. Event count
  3. Next skill: classify-data if PII is unknown; implement-change / write-tests

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.