Skip to content

Inject spaces, schemas, and CLI help dynamically in skill - #275

Merged
mindsocket merged 1 commit into
mainfrom
feat/89-skill-dynamic-context
Nov 30, 2026
Merged

mindsocket merged 1 commit into
mainfrom
feat/89-skill-dynamic-context

Conversation

@mindsocket

Copy link
Copy Markdown
Owner

Closes #89

Summary

  • Use Claude Code skill dynamic context injection (! commands) in plugin/skills/structured-context/SKILL.md to inject sctx --version, sctx spaces, sctx schemas list, and sctx --help on skill load.
  • Guard injected commands with 2>&1 || true so missing installs or unconfigured spaces surface their message inline instead of blocking skill load.
  • Replace the hardcoded command list and redundant orientation prose with the injected output.

@claude

claude Bot commented Nov 30, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@mindsocket
mindsocket merged commit 986991b into main Nov 30, 2026
2 checks passed
@mindsocket
mindsocket deleted the feat/89-skill-dynamic-context branch November 30, 2026 21:57
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.

Skill improvement - add inline commands to initialise skill

1 participant