record_skill
Author a skill as a markdown procedure to encode how to perform a task in your project, with conflict detection against existing skills.
Instructions
v3.1.0 M3: Author a new skill in the canonical store (.codevira/skills.jsonl). Skills encode 'how to do X in this project' as markdown procedures. Calls check_conflict against the SKILLS corpus before writing; near-duplicate warnings can be overridden via force=True. Use supersede_skill to version an existing skill, or promote_skill_to_playbook to promote a skill into the existing playbook system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short identifier (e.g., 'git-rebase-workflow') | |
| force | No | Skip duplicate-check warning | |
| source | No | explicit | |
| summary | No | Optional one-liner (max 256 B) | |
| triggers | No | Discovery hints: tags (lowercased, set-membership for jaccard ranking) + file_patterns (fnmatch globs for file-scoped retrieval) | |
| procedure | Yes | Markdown body of how to do this thing (max 2 KB) | |
| do_not_revert | No | Exempt from auto-archive sweep; flag canonical doctrine. |