my-cubrid-skills-create
Installation
SKILL.md
Create a New Skill in my-cubrid-skills
Scaffolds a new skill directory and writes a complete SKILL.md inline from gathered context.
Steps
Step 1: Determine the collection root
Walk up from cwd looking for a justfile containing npx skills add. If found, that directory is the collection root. Otherwise ask the user for the path.
Step 2: Derive a candidate skill name
If $ARGUMENTS is empty, or would produce an empty or tautological name (e.g. "save this as a skill" collapses to nothing after filler removal), skip naming for now and proceed to Step 4 to gather workflow context first — then derive the name from the workflow's primary verb + object.
Otherwise, from $ARGUMENTS:
- Drop filler words:
a,the,this,that,which,skill,save,as. - Convert verbs to imperative form and lowercase-hyphenate — e.g.
"a skill that closes greptile comments"→close-greptile-comments. - Apply the
cubrid-prefix when the skill touches CUBRID source, tests, JIRA tooling, or CI. The prefix rule applies even when the input is already kebab-case.