[FEATURE] Dynamic skill.md -> skill.js or skill.py
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Context overflow issue, token efficiency.
Proposed Solution
TLDR; you are scaffolding a skill definition before it is used to reduce unused context being provided to AI.
E.g., you write skill.md with such logic:
if A
do A
if B
do B
Then it could have a context it will never use. Especially for long workflows like 1000 instructions, reducing context could be beneficial.
So instead of the above, you write a skill.js file that provides just:
do B
Without unnecessary information.
do B could be an .md file.
Skill.js via code (variables, if statements, and everything humanity invented) is just scaffolding FINAL.MD, which is then injected into AI.
This final MD has precisely what you want AI to reason about.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
Configuration and settings
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗