source-types
БесплатноБез исполняемых скриптовНе проверенThe canonical, extensible source-type registry for a research corpus — paper, preprint, blog, repo, book, chapter, standard, doc, discussion, encyclopedia…
от jmagly★ 233 звезды на GitHubОб этом скилле
Source-Type Registry
A research corpus outgrows "papers" — it catalogs preprints, code repos, blog posts, lab announcements, vendor docs, books, RFCs, discussions, and more. This skill is the canonical, extensible source-type registry that makes source type a first-class, config-driven dimension.
The problem it solves
Corpora accumulate three drifting type vocabularies:
| Surface | Example values | Drift |
|---|---|---|
frontmatter type: |
book, reference, gap-note, internal-research |
mixes source type with doc role |
frontmatter source_type: |
conference-paper / conference_paper, book_chapter |
hyphen vs underscore |
| body "Source Type" | paper, maintainer-doc, discussion |
a third overlapping enum |
The registry folds all three (plus a venue-classification fallback) into one canonical source type per artifact.
How to use
# List the registry — canonical types + per-type rules
aiwg corpus source-types
aiwg corpus source-types --json
# The by-source-type index view groups the corpus by normalized type
aiwg index build --graph by-source-type # → indices/by-source-type.md
What each type declares
Per canonical type: template, required-sections, citation-format,
acquisition, storage, quality-rules, default-radar-cadence. Example:
| type | template | citation | acquisition | storage | cadence |
|---|---|---|---|---|---|
| paper | reference-academic | doi-bibtex | pdf-download | sources/pdfs/full | quarterly |
| preprint | reference-academic | arxiv-id | pdf-download | sources/pdfs/full | quarterly |
| blog | reference-web | url-venue-retrieved | web-snapshot | sources/web | biannual |
| repo | reference-repo | repo-url-commit | git-clone | sources/repos | on-demand |
| standard | reference-web | standard-id | web-snapshot | sources/web | annual |
| video | reference-media | timestamp-transcript | media-curator | media/video | on-demand |
| podcast | reference-media | timestamp-transcript | media-curator | media/audio | on-demand |
(17 canonical types ship by default; aiwg corpus source-types lists them all.)
Adding a new source type is config, not code
Create documentation/source-types.yaml in your corpus to replace the
default registry (include the defaults you keep). Adding a podcast, dataset, or
talk type is a registry entry:
version: 1
types:
podcast:
description: Podcast episode.
aliases: [podcast, episode]
template: reference-media
required_sections: [Citation, Media Profile, Summary, Key Timestamps]
citation_format: timestamp-transcript
acquisition: media-curator
storage: media/audio
quality_rules: interview-hedged-grade
default_radar_cadence: on-demand
venue_fallback: { … }
meta_roles: [redirect, stub, gap-note]
Normalization rules
source_type:→type:→ body "Source Type" are checked in that order; the first that matches a canonical type or alias wins.- Doc-role values (
redirect,stub,gap-note,merged,index) map to themetapseudo-type (excluded from source-type analytics). - If no explicit type matches, the classified venue falls back to a type
(academic venues →
paper, arXiv →preprint, GitHub →repo, RFC →standard, lab/vendor research posts →blog, Wikipedia →encyclopedia). - Otherwise →
other.
Validated on a real 1,273-ref corpus: the registry normalizes ~93% (paper,
preprint, blog, repo, standard, book, chapter, encyclopedia, internal-review),
with meta excluding redirects/stubs and other capturing genuinely untyped refs.
Consumers
The registry is the foundation other subsystems read:
- by-source-type index view (this framework) — groups refs by normalized type.
- Per-type induction audit (
induction-audit/ #1504) — required-section + depth checks vary by type (don't flag a blog for missing Ablation Studies). - Acquisition dispatch (
research-acquire/ #1507) — PDF download vs web snapshot vs git clone by type. - Templates (#1497) — per-type reference templates selected by source type.
- Quality/GRADE — non-peer-reviewed types carry different hedging expectations.
Triggers
- "source type registry"
- "normalize source types"
- "what source types does the corpus have"
- "add a new source type"
- "by source type"
Notes
- Authoritative runtime default:
src/artifacts/corpus-tools/source-types.ts(DEFAULT_SOURCE_TYPES); human-readable + override form:agentic/code/frameworks/research-complete/config/source-types.yaml. A drift test keeps them in sync. - The venue fallback reuses the existing
VENUE_PATTERNSclassifier (src/artifacts/corpus-views/taxonomies.ts).
Установить source-types в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл source-types?
The canonical, extensible source-type registry for a research corpus — paper, preprint, blog, repo, book, chapter, standard, doc, discussion, encyclopedia, expert-material, video, audio, podcast, lecture, internal-review. Replaces the drifting type / source_type / "Source Type" vocabularies with one registry that declares per-type template, required sections, citation format, acquisition method, storage, quality rules, and radar cadence. Surfaced via `aiwg corpus source-types`; consumed by the by-source-type index view, per-type induction audit, and acquisition dispatch.
Как установить скилл source-types?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл source-types запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic