# Design philosophy This document is the design contract of `ai-research-skills` — what the catalog promises to do, and what it deliberately does not. The catalog is a curated index of [Claude Code](https://claude.ai/code) plugins for researcher workflows. Each plugin's code lives in a maintained source repo; this repo is the registry plus docs. Languages: [English](design-philosophy.md) | [繁中](design-philosophy.zh-TW.md) --- ## What the catalog is Five plugins that map to 17 SKILL.md files in the Claude marketplace cache after plugin installation; the separate research-hub CLI installer writes to the selected host skills directory: | Plugin | Source repo | What's in it | |---|---|---| | `research-workspace` | [`WenyuChiou/research-hub`](https://github.com/WenyuChiou/research-hub) | 12 research-hub skills, including `research-workflow-orchestrator`, literature triage, project memory, NotebookLM brief verification, paper summarisation, … | | `academic-writing-skills` | [`WenyuChiou/academic-writing-skills`](https://github.com/WenyuChiou/academic-writing-skills) | Manuscript revision, banned-word audit, claim-evidence check, journal format, reviewer response | | `zotero-skills` | [`WenyuChiou/zotero-skills`](https://github.com/WenyuChiou/zotero-skills) | Full Zotero CRUD (local + Web API) | | `codex-delegate` | [`WenyuChiou/codex-delegate`](https://github.com/WenyuChiou/codex-delegate) | Claude → Codex CLI handoff for code-heavy work | | `antigravity-delegate` | [`WenyuChiou/antigravity-delegate`](https://github.com/WenyuChiou/antigravity-delegate) | Claude → Antigravity CLI handoff for bounded non-honesty-critical mechanical work | --- ## Design choices 1. **Curated, not auto-discovered.** Every plugin in the catalog is hand-picked for a specific researcher use case, and is used by the maintainer in active research projects. 2. **Lifecycle orchestration with human gates.** Skills can still be invoked individually, but `research-workflow-orchestrator` coordinates orient, scope, discover, synthesize, design, execute, write, and release. It advances read-only or reversible work automatically and pauses at scope commitment, external write, experiment authorization, semantic revision, and release authorization. 3. **Opinionated subset, not exhaustive coverage.** Five plugins, 17 skills — chosen because they close gaps the maintainer hit in real research, not because they cover everything an academic might want. 4. **Bilingual entry points.** README, install, verification, pipeline, skill-directory, and this design doc are all maintained in both English and Traditional Chinese. Internal reference files inside each skill are English-only by convention. 5. **Honest scope.** The README has a Limitations section; each plugin's source repo carries its own. The catalog was assembled and tested by one graduate-student researcher; it is not corpus-scale-validated, and the maintainer's domain bias (water resources, agent-based modeling) is acknowledged in writing rather than papered over. --- ## What the catalog machine-checks CI runs on every push and PR to `main`. It runs `python -m pytest tests/ -q`, `python scripts/check_marketplace_consistency.py`, and `python scripts/check_catalog_schema.py`. Together these guard: - `catalog/skills.yml` — every field shape against [`schema/skills.schema.json`](../schema/skills.schema.json) (JSON Schema Draft 2020-12): required fields per skill / family / top-level, URL pattern regexes, enum-restricted `verification_status` / `verification_tier`, ISO-date `verified_on` and `updated`, unknown fields rejected (`additionalProperties: false`). - `.claude-plugin/marketplace.json` — well-formed schema, expected plugin order, every plugin has a source URL. - Cross-document consistency — every catalog skill's `repo_url` maps to a plugin source URL; the `research-workspace` description's ` research-hub skills` count matches the actual catalog count; every `skill_url` is a real `/blob//SKILL.md` shape. - README content — researcher-facing audience phrases present (Zotero, Obsidian, NotebookLM mentioned by name); persona table present in both languages; canonical install command (`research-hub setup`) consistent across README + install docs + catalog YAML. - Verification counts — 17 skills total with the documented status split (see [`docs/verification.md`](verification.md)). A red CI run blocks merge. The full check list is in [`tests/test_catalog.py`](../tests/test_catalog.py), [`tests/test_catalog_schema.py`](../tests/test_catalog_schema.py), [`scripts/check_marketplace_consistency.py`](../scripts/check_marketplace_consistency.py), and [`scripts/check_catalog_schema.py`](../scripts/check_catalog_schema.py). --- ## What the catalog does NOT machine-check - **SKILL.md content quality.** That's the source repo's responsibility. Each plugin's source repo carries its own tests. - **Upstream URL liveness.** A network test would be flaky; manual review on PRs. - **Cross-skill artifact contracts** — e.g. `paper-memory-builder` writes `.paper/claims.yml`, `academic-writing-skills` reads it. Both must agree on path/schema, but the catalog does not enforce it. See [CONTRIBUTING.md](../CONTRIBUTING.md) §2 for the manual coordination rule. - **Behavioral correctness on real-world inputs.** Layer-3 acceptance (running each skill against a real manuscript) is the source repo's responsibility, not the catalog's. --- ## What's borrowed from related projects [`Imbad0202/academic-research-skills`](https://github.com/Imbad0202/academic-research-skills) ("ARS") is the mature, comprehensive reference for academic skill suites in Claude Code. Patterns adapted (shape, not scale) into this catalog and its plugins: - **Schema-driven validation** at the catalog layer — [`schema/skills.schema.json`](../schema/skills.schema.json) (JSON Schema Draft 2020-12) formalises the shape of `catalog/skills.yml`, enforced by [`scripts/check_catalog_schema.py`](../scripts/check_catalog_schema.py) in CI and by [`tests/test_catalog_schema.py`](../tests/test_catalog_schema.py) on every PR. - **Honest provenance** — every comparison to another project (in this doc, in plugin READMEs, in CHANGELOG entries) is paired with a verifiable link to the source it cites. - **Per-skill `Limitations` sections** — convention is to ship one per source repo's `README`, plus a catalog-wide one here. Patterns deliberately **not** ported: - Pipeline orchestrator stages — the catalog is a registry, not a runner. - Opt-in feature flags (e.g. `_*` env vars). Every check that ships, ships on. - Declarative-only annotations that aren't runtime-enforced. If you want pipeline orchestration with maximum coverage, ARS is the right pick. If you want a curated subset that loads into Claude Code one plugin at a time, this catalog is. --- ## Roadmap The catalog has open work and acknowledged gaps. See open issues + PRs for current progress. Items not yet promised by any version: - Independent behavioral evaluation beyond the primary model and delegated mechanical executors. - Corpus-scale FNR/FPR calibration of any plugin. - Generalisation tested beyond the maintainer's domain (water resources, agent-based modeling). - Translation of internal reference files (only top-level docs bilingual; convention). --- This document is the catalog's design contract. If you find behaviour that contradicts a claim above, open an issue.