add-source-provider
Skill1 starsChanged 2 months agoApache-2.0View on GitHub
This skill should be used when the user asks to "add a source provider", "integrate a new personal-data source", or extend Aptuni source ingestion.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-licensesSkill
- releaseSkill
- run-evalsSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Add one bounded source integration that emits immutable snapshots and reviewable candidate deltas without writing canonical facts directly.
- Distinctive: line 18
Treat source bytes, metadata, paths, filenames, and parsed values as untrusted private data.
- Very specific: line 19
Never silently change src/aptuni/sources/contract.py, a common record, plugin entry-point semantics, or an existing locator schema.
- Distinctive: line 22
Use synthetic or sanitized fixtures only.
- Very specific: line 28
Add failing tests for admission denial, stable identity, idempotent replay, move/delete/reappear, partial coverage, truncation, parser or …
- Very specific: line 33
Add or update the plugin manifest under src/aptuni/advisor/catalog/plugins/, both locale files, user documentation, and one Recipe example …
- Distinctive: line 35
Do not label a non-builtin provider installable.
- Distinctive: line 36
Run the focused provider/contract tests, then the full test, lint, type and relay gates.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Add a SourceProvider
Goal
Add one bounded source integration that emits immutable snapshots and reviewable candidate deltas without writing canonical facts directly.
Boundaries
- Read
docs/dev/DECISIONS/ADR-0002-mvp-package-and-plugin-boundaries.md,docs/dev/DECISIONS/ADR-0006-source-snapshots-and-candidate-deltas.md, and the closest provider insrc/aptuni/sources/before editing. - Treat source bytes, metadata, paths, filenames, and parsed values as untrusted private data.
- Never silently change
src/aptuni/sources/contract.py, a common record, plugin entry-point semantics, or an existing locator schema. A public contract or new extension-version decision needs an ADR, migration/compatibility coverage, and independent review. - Use synthetic or sanitized fixtures only. Never add real profile data, credentials, or tokens.
Workflow
- Lock the provider ID, approved roots/origins, identity keys, completeness semantics, authority policy, retention class, secret references, resource bounds, and failure behavior.
- Add failing tests for admission denial, stable identity, idempotent replay, move/delete/reappear, partial coverage, truncation, parser or redirect attacks, instruction injection, and crash retry where the source can encounter them.
- Implement the narrow provider behind the existing snapshot/delta contract. Register a provider-specific locator only when its versioned fields are required.
- Add or update the plugin manifest under
src/aptuni/advisor/catalog/plugins/, both locale files, user documentation, and one Recipe example when the provider is installable in that Recipe. Do not label a non-builtin provider installable. - Run the focused provider/contract tests, then the full test, lint, type and relay gates. Request independent review when a public plugin interface, schema, migration, privacy, or deletion path changed.
Completion evidence
Report the provider and contract versions, fixture cases, privacy/retention behavior, exact commands run, manifest/Recipe status, and any compatibility or real-data validation still pending.
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.

