Skip to main content

Module skillify

Module skillify 

Source
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§

MineReport
Summary of one mining run, for human + machine reporting.
RuleSummary
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/rules so it applies to every project. Returns the destination path on success.