Skip to content

feat: add stagecraft skill library — list and run commands#902

Merged
stevez merged 1 commit into
mainfrom
feat/stagecraft-skill-library
May 18, 2026
Merged

feat: add stagecraft skill library — list and run commands#902
stevez merged 1 commit into
mainfrom
feat/stagecraft-skill-library

Conversation

@stevez

@stevez stevez commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #897 — Phase 3 of #829.

  • Skill discovery & parsing (packages/stagecraft/src/skills.ts): scans a skills directory for SKILL.md frontmatter, parses into typed SkillInfo objects (name, description, category, parameters, preconditions, output, file paths)
  • CLI entry point (packages/stagecraft/src/stagecraft.ts): stagecraft list displays skills grouped by category; stagecraft run <name> --variable key=value loads the .pw file via SessionPlayer, launches Chromium, and executes via resolveCommand
  • 14 unit tests covering discovery, frontmatter parsing, error handling, sorting, and the real rogers skill

Test plan

  • pnpm run --filter @playwright-repl/stagecraft build — compiles clean
  • pnpm run --filter @playwright-repl/stagecraft test — 14/14 pass
  • stagecraft list — shows rogers skill under tax/bills/telecom
  • stagecraft help — prints usage
  • stagecraft run nonexistent — proper error message

🤖 Generated with Claude Code

@stevez stevez force-pushed the feat/stagecraft-skill-library branch from 3eeccf6 to 0a79baa Compare May 12, 2026 04:06
Implement skill discovery, parsing, and execution via a stagecraft CLI.
Skills are SKILL.md-annotated directories with .pw files that can be
discovered, listed by category, and executed via SessionPlayer + resolveCommand.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stevez stevez force-pushed the feat/stagecraft-skill-library branch from 0a79baa to 5f0e952 Compare May 18, 2026 20:35
@stevez stevez merged commit 256e297 into main May 18, 2026
8 checks passed
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.

Stagecraft: skill library — list and run commands

1 participant