general

star 0

[WHAT] Canonical engineering standards every `scitex-*` package and research project must follow — 3-layer architecture cascade, dependency/version pinning, local-state directory layout (`~/.scitex/<pkg-short>/` and `<project>/.scitex/<pkg-short>/`), repo layout (src/tests/scripts/examples), the five interfaces (Python API → CLI → MCP → Skills → optional HTTP) with their delegation rules and the noun-verb CLI convention, README/Sphinx docs, version-control workflow plus `scitex-dev ecosystem …` release automation, skill-authoring rules (layout, editable-vs-wheel install, public-vs-private), and the periodic quality checklist. Use as the single entry point for creating, auditing, reviewing, or releasing any SciTeX package. [WHEN] Creating, auditing, reviewing, or releasing any SciTeX package, or onboarding a research repo to ecosystem standards. [HOW] Read SKILL.md as the index, then drill into the per-category sub-dirs (`01_ecosystem/`, `02_package/`, `03_interface/`, `04_docs/`, `05_development/`, `09_qualit

ywatanabe1989 By ywatanabe1989 schedule Updated 6/7/2026

name: general description: | [WHAT] Canonical engineering standards every scitex-* package and research project must follow — 3-layer architecture cascade, dependency/version pinning, local-state directory layout (~/.scitex/<pkg-short>/ and <project>/.scitex/<pkg-short>/), repo layout (src/tests/scripts/examples), the five interfaces (Python API → CLI → MCP → Skills → optional HTTP) with their delegation rules and the noun-verb CLI convention, README/Sphinx docs, version-control workflow plus scitex-dev ecosystem … release automation, skill-authoring rules (layout, editable-vs-wheel install, public-vs-private), and the periodic quality checklist. Use as the single entry point for creating, auditing, reviewing, or releasing any SciTeX package. [WHEN] Creating, auditing, reviewing, or releasing any SciTeX package, or onboarding a research repo to ecosystem standards. [HOW] Read SKILL.md as the index, then drill into the per-category sub-dirs (01_ecosystem/, 02_package/, 03_interface/, 04_docs/, 05_development/, 09_quality/), each with its own SKILL.md index, for the relevant tier. tags: [scitex-general] user-invocable: false primary_interface: mixed interfaces: python: 0-3 cli: 0-3 mcp: 0-3 skills: 3 http: 0

SciTeX General Standards

pip install scitex — standards for all ecosystem packages.

(Interface star ratings live on each interface section header below, not in a single summary callout. See 03_interface/04_skills/13_standard-template.md.)

Sub-skills

Read in this order when building or auditing a package. Each section presupposes the ones above it.

Three tiers of concerns:

  • §1 — Ecosystem-wide rules (cross-package conventions every scitex-* repo follows): cascade hierarchy, dependency pinning, module-vs-standalone decisions, env-var prefix, re-export bridge, local-state directory layout. Audience: anyone touching any scitex-* package.
  • §2–§5 — Per-package concerns (how to build, document, and ship a single scitex-* repo): package layout, the five interfaces (Skills authoring is now §3.4 under Interfaces), docs, release flow. Audience: package authors.
  • §8 — Ecosystem quality (cross-package periodic audits): failure playbook, quality checklist. Audience: ecosystem maintainers.

Research-project usage (@stx.session, CONFIG, SDIR_OUT/SDIR_RUN) lives in ../scientific/ — that is research-methodology, not package engineering.

1. Ecosystem-wide rules — what every scitex-* package must follow

2. Package — how does this scitex-* package's repo live on disk?

Project structure split into one leaf per top-level directory:

3. Interfaces — how do users and agents touch this package?

4. Documentation — how does this package become understandable?

  • 04_docs/01_readme.md — Standard README template, sections, badges, footer
  • 04_docs/02_sphinx.md — Sphinx docs, conf.py, troubleshooting
  • 04_docs/03_rtd.md — Read the Docs onboarding, .readthedocs.yaml, build config
  • 04_docs/04_robust-ci.md — Robust docs-CI: keep sphinx-build -W strict while defending the 4 benign failure modes (docstring reST noise → suppress_warnings=["docutils"]; GH006 commit-back → continue-on-error; missing-peer autodoc → autodoc_mock_imports; math → sphinx.ext.mathjax)

5. Development — version control, periodic audits, release

9. Ecosystem quality — periodic cross-package audits, run when something feels off

Scratch

Install via CLI
npx skills add https://github.com/ywatanabe1989/scitex-dev --skill general
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator
ywatanabe1989
ywatanabe1989 Explore all skills →