Expand description
Skillify (#290): distill a project’s recurring session patterns into versioned,
git-committable .cursor/rules/skillify-*.mdc rule files.
Pipeline: candidate::mine_candidates (read diary + knowledge) →
gate::judge (precision-biased KEEP/SKIP) → rule_file::write_candidate
(create / merge / unchanged). Runs on demand only; nothing is written unless
the miner is invoked, and re-runs are idempotent.
Modules§
- candidate
- Skill candidates mined from the project’s session diary + knowledge facts.
- gate
- Precision-biased gate: decide whether a candidate is durable enough to codify.
- rule_
file - Read / render / merge generated skillify rule files (
.cursor/rules/<slug>.mdc).
Structs§
- Mine
Report - Summary of one mining run, for human + machine reporting.
- Rule
Summary - One generated rule on disk.
Functions§
- current_
config - Current skillify configuration, for
status. - list_
rules - List the generated rules currently on disk for the configured scope.
- mine
- Run the miner end-to-end. Returns an error only when skillify is disabled or a write fails; an empty project simply yields an empty report.
- promote
- Copy a project-scoped generated rule into the global
~/.cursor/rulesso it applies to every project. Returns the destination path on success.