Skip to content

feat(params): parameterized skills with CLI/env overrides - #35

Merged
00200200 merged 1 commit into
mainfrom
feat/skill-params
Sep 30, 2026
Merged

00200200 merged 1 commit into
mainfrom
feat/skill-params

Conversation

@00200200

Copy link
Copy Markdown
Owner

Summary

  • Add typed parameters frontmatter (string / int / boolean / choice) with schema validation and safe {{ name }} / $name substitution (stdlib only).
  • Resolve values with CLI --param key=value > CINCH_PARAM_* env > defaults, prompting via questionary only for required unset params on a TTY without --yes.
  • Apply substitution when compiling/wiring skill bodies (init + preview); strip the parameters block from dialect output.

Closes #14

Test plan

  • uv run pytest
  • uv run ruff check .
  • uv run ruff format --check .
  • Manual: cinch init ... --param framework=pytest against a skill with a parameters block

Let skills declare reusable inputs in frontmatter and resolve them at wire
time via CLI/env/defaults instead of forking near-duplicate skill files.
@github-actions

Copy link
Copy Markdown

👋 Thanks for opening this pull request, @00200200!

We're thrilled to have your contribution to cinch! Here is a quick checklist to help get your PR merged smoothly:

  • Linked Issue: Issue reference detected in PR body. ✅
  • Local Verification: Verify all checks pass locally using uv run pytest and uv run ruff check ..
  • Commit Hygiene: Ensure commit messages follow conventional commit style (feat:, fix:, docs:).

A maintainer will review your code shortly. Feel free to ping in comments if you have any questions! 🚀

@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance labels Sep 29, 2026
@00200200
00200200 merged commit 8432019 into main Sep 30, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(params): Parameterized skills with interactive CLI input wizard & template interpolation

1 participant