Skip to content

Add cross-tool AI distribution: npx skills, llms.txt index, Context7 config - #268

Merged
Eigenwise merged 2 commits into
mainfrom
feat/ai-dx-track2-distribution
Jul 18, 2026
Merged

Add cross-tool AI distribution: npx skills, llms.txt index, Context7 config#268
Eigenwise merged 2 commits into
mainfrom
feat/ai-dx-track2-distribution

Conversation

@Eigenwise

Copy link
Copy Markdown
Owner

What

Second slice of the AI DX upgrade, stacked on #267. Makes the AI-assist surface we already ship reachable from outside Claude Code.

npx skills works today. Tested npx skills add eigenwise/atomic-agents against this repo: the CLI discovers all six plugin skills through .claude-plugin/marketplace.json. No restructuring needed. One catch: it also picked up the maintainer-only release skill from .claude/skills/ (which publishes to PyPI, not something consumers should be offered). Fixed with metadata.internal: true frontmatter, re-tested locally: 6 skills, release hidden, still loads fine in Claude Code.

README gets an AI-Assisted Development section. The plugin, the npx path, the llms bundles, and Context7 were all invisible from the repo front page and PyPI. Now they're one section with install commands.

llms.txt front door. The docs site already generates llms-full/docs/source/examples.txt in CI, but served them only under /_static/ (root URLs 404, verified live). The generator now also emits a spec-compliant llms.txt index (short markdown nav with key v2 API facts, guide links, bundle links), and CI places index + bundles at the site root where agents probe by convention. Every URL in the index checked against the live site (all 200s).

context7.json. Atomic Agents is already indexed on Context7 (1,462 snippets). The new config file controls what gets indexed and ships six v2 API rules to assistants pulling docs from there (top-level imports, AtomicAgent[In, Out] generics, Instructor-wrapped client, docstring requirement, provider knobs, Gemini/Anthropic quirks).

Verified

  • npx skills add <local-path> --list: exactly the 6 plugin skills, release hidden
  • generate_index() output starts with H1 + blockquote per llmstxt.org spec
  • All guide/API URLs in the index return 200 on the live site
  • context7.json matches the published schema (fields verified against context7.com/docs/library-owners)

Note: the root llms URLs in the README go live on the next docs deploy after merge.

🤖 Generated with Claude Code

Eigenwise and others added 2 commits July 18, 2026 10:24
…ext7 config

The plugin's skills already follow the cross-tool agent-skills format,
and npx skills discovers them through .claude-plugin/marketplace.json.
Tested against this repo: all six plugin skills surface. The maintainer
release skill leaked into that discovery too, so it now carries
metadata.internal: true (hidden from distribution, still loads locally).

README gains an AI-Assisted Development section: plugin install for
Claude Code, npx skills for everything else, llms bundle links, and
Context7. The plugin README documents the npx path alongside the
existing install routes.

The docs site served its llms bundles only under /_static/ (verified:
root URLs 404 live). generate_llms_files.py now also emits a
spec-compliant llms.txt index (small markdown nav with key API facts,
guide links, and bundle links; all URLs verified against the live
site), and CI copies index + bundles to the site root where the
convention expects them.

context7.json at the repo root controls Context7 indexing and surfaces
the v2 API rules (top-level imports, generics, Instructor-wrapped
client, docstring requirement, provider knobs) to assistants that pull
docs from there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Eigenwise
Eigenwise changed the base branch from fix/ai-dx-track1-agents-md to main July 18, 2026 08:26
@Eigenwise
Eigenwise merged commit cbbc094 into main Jul 18, 2026
@Eigenwise
Eigenwise deleted the feat/ai-dx-track2-distribution branch July 18, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant