Skip to main content

Module skill

Module skill 

Source

Enums§

AgentEditor
Editors whose agents read per-repository rule files.
PromptKind
Which onboarding prompt --prompt prints on its own, with no header or fence — so it is pipeable straight into a clipboard tool or a file.

Constants§

EMBEDDED_RULES_MD
The condensed rules --agent writes: what the tool is, the non-negotiables, and a pointer at the full SKILL.md — short enough that an editor loads it on every turn.
EMBEDDED_SKILL_MD

Functions§

detect_editors
Every editor whose traces are on this machine — or, when repo is given, in that repository. Both roots come in as parameters so tests can hand in a fabricated machine instead of reading the real one.
run
Run devp skill to export SKILL.md, report the detected editors and display AI Agent onboarding prompts; devp skill --agent <editor> writes per-repository rules for one editor; devp skill --rules-file <path> writes them into an exact path instead; devp skill --prompt <kind> [--copy] prints one prompt on its own; and devp skill --detected writes them for every editor the report would list.