What problem does it solve?
This Skill automates the process of identifying, reviewing, and promoting recurring coding patterns and corrections observed during development sessions into reusable project rules, thereby standardizing code quality and consistency.
Core Features & Use Cases
- Pattern Learning: Automatically detects and clusters recurring coding corrections and preferences.
- Rule Promotion: Allows users to review and approve learned patterns to be saved as project-specific rules in
.claude/rules/afc-learned.md.
- Status & Management: Provides commands to check the learner's status, enable/disable signal collection, and clear the pending queue.
- Use Case: After several coding sessions where the AI consistently suggests using
const over let for immutable variables, /afc:learner can review these suggestions, and if approved, add a permanent rule to enforce this best practice across the project.
Quick Start
Review pending learned patterns and promote approved ones to project rules.