feat: add harness-agnostic ytstudio agent skill#36
Merged
Conversation
Author a model- and harness-agnostic SKILL.md (open SKILL standard) at skills/ytstudio/ that teaches any skill-aware agent to drive the CLI: prerequisites, the dry-run/--execute and -o json rules, and per-group usage with pointers rather than a full dump. Bundle the full command reference at skills/ytstudio/references/reference.md, generated from the live typer app via scripts/build_skill_reference.py and guarded against drift by tests/test_skill_reference.py. Add an example upload sidecar asset, a docs page, and README/docs links. Closes #29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #29.
Authors and publishes a harness-agnostic ytstudio agent skill, following the open SKILL standard. Per the issue discussion, it lives in this repo at
skills/ytstudio/(no separate repo), and the bundled reference is generated from the CLI so it cannot drift.What's included
SKILL.md—name: ytstudio/ one-linedescriptionof when to use it. Body uses progressive disclosure: prerequisites (install, one-time OAuth, profiles), the two rules an agent must know (-o jsonfor parseable output; mutations are dry-run until--execute), per-command-group usage, quota awareness, and a recommended agent workflow. Points atreferences/reference.mdrather than dumping every flag. No MCP, nothing harness- or vendor-specific.references/reference.md— the full command reference, generated from the live typer app.assets/upload-sidecar.example.yaml— example sidecar mirroring thevideos uploadschema.Keeping the reference in sync
docs/reference.mdis built on the fly by mkdocs and git-ignored; the skill copy is checked in (it travels with the skill), so it can drift. Two guards, both from the same typer source as the docs:uv run python scripts/build_skill_reference.pyregenerates it.tests/test_skill_reference.pyre-renders and fails if the committed copy is stale, so the existingpytestCI job catches drift.Docs
docs/agent-skill.mdpage (added to the mkdocs nav) explains usage and the sync workflow.Verification
uv run pytest— 254 passed (includes the new drift test).uv run ruff check/ruff format --check— clean.uv run mkdocs build --strict— clean (no broken links).SKILL.mdagainst the typer dump and source, validated the frontmatter against the spec, and checked the sidecar againstupload_pipeline.py: no defects.Follow-up (not in this PR)
Listing on skills.sh is an external action: once merged, point the registry at the
skills/ytstudio/subpath.