Skip to content
Back to skills

Add Source

ASecurity

Checklist for adding a data source (a new parser under internal/parser/) or a metric validator (internal/analyze/) with every trap this repo has hit — the same-commit surfaces, the fuzz and golden contract, the capability matrix, the published counts. Use "new parser", "support tool X", "add a validator", "new metric", "connector".

  • 46 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsgobashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add assaio/assaio --skill add-source --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Source?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Source
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/assaio-add-source/badge)](https://www.skillsdirectory.com/skills/assaio-add-source)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-source
description: Checklist for adding a data source (a new parser under internal/parser/) or a metric validator (internal/analyze/) with every trap this repo has hit — the same-commit surfaces, the fuzz and golden contract, the capability matrix, the published counts. Use "new parser", "support tool X", "add a validator", "new metric", "connector".
argument-hint: "<source|metric> <name>"
allowed-tools: Read, Edit, Write, Bash, Grep, Glob, Agent
---

Kind and name: $ARGUMENTS

The walkthroughs are authoritative — read the one you need before writing code:
`docs/extending/data-source.md` (parser) or `docs/extending/metric-validator.md` (validator,
with `metric-validator-example.md`). This skill is the list of what those pages cannot enforce.

## Before starting (a source)

- `ROADMAP.md` gates a new in-tree parser: a stable discoverable source, a real redacted
  corpus and a user who will rerun it. Without all three, propose an exec plugin
  (`docs/extending/parser-plugin.md`) instead — no fork, any language.
- A connector issue first (`.github/ISSUE_TEMPLATE/connector.yml`), per the intake path.

## The same-commit surfaces (each has been missed before)

| Surface | What changes |
|---|---|
| `PRIVACY.md` | directories opened, fields extracted — also when the source reads *less* |
| `README.md` sources table, `site/llms.txt` | the source named with its limit |
| `AGENTS.md` layout, `CITATION.cff` abstract | the package; the "across …" tool list (`consistency.yml`) |
| `internal/pricing/litellm.json` | every model the source names has a price, or the unpriced share widens |
| `docs/extending/source-fields.md` | the capability matrix row (ADR 0011): what the source can answer |
| `FEATURES.md`, `CHANGELOG.md`, `BACKLOG.md` | the lifecycle (`.claude/rules/surfaces.md`) |
| `Makefile` `fuzz` target, `fuzz.yml` | the new `FuzzParse` (the workflow diffs discovered fuzzers against the recipe) |
| `doctor` | the source detected, its canaries (`internal/drift`) |

`make docs` regenerates the reference and the site's source count in both directions.

## The contract (parser)

Single-root `Discover`; skip-and-count on corrupt lines; shared scanner with `MaxLineBytes`;
`NonNeg`; deterministic `DedupeKey`; hermetic (no git, no network); golden files from a real
redacted capture; `FuzzParse` with a seed corpus; granularity and tier declared honestly
(ADR 0017: a source without a token counter is `activity-only`, never zeros).

## The contract (validator)

One file, self-registered; reads only the sources that record its field (ADR 0011); states its
layer (ADR 0013); `—` for absence; a threshold with a source or derived from the window; what
its pattern cannot be told apart from; pseudonymized bars. It appears in the CLI, the dashboard
and the reference automatically — check all three, then `/ui-check`.

Done means: gate full green, `corpus-prover` on the real corpus (or the honest statement that
this machine holds no such log — `B144`), `/review`, and the table above ticked in the work file.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.