afc:learner

Cluster recurring coding patterns into project-specific rules for review and promotion.

7|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/jhlee0409/all-for-claudecode --skill afc-learner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: afc:learner
Source: https://github.com/jhlee0409/all-for-claudecode/tree/main/skills/learner
Command: npx skills add https://github.com/jhlee0409/all-for-claudecode --skill afc-learner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about afc:learner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically convert recurring coding patterns into project rules?

You can promote learned coding patterns into project rules by using a mechanism that detects recurring corrections from user sessions, clusters them into actionable rules, and saves approved patterns to a project-specific rule file.

How does pattern learning work for maintaining coding standards?

Pattern learning works by analyzing detected signals from development sessions and clustering recurring coding corrections and preferences into actionable rules for review and promotion to project standards.

How do I review and approve detected coding corrections for a project?

You can review pending learned patterns by checking the learner status, examining the clustered signals from your sessions, and approving the corrections to be saved as permanent rules in your project rule file.

Can I disable signal collection for pattern learning if I don't need it?

Yes, you can disable signal collection by using the management commands to turn off the learning mechanism, clear the pending queue of detected patterns, or check the current status of the learner.

Where are promoted coding standards and rules stored in the project?

Promoted coding standards and rules are stored in a project-specific rule file located at `.claude/rules/afc-learned.md`, ensuring that approved patterns are enforced consistently across the entire project.

What is the best way to standardize code quality using AI assisted development?

The best way to standardize code quality is to let the AI detect recurring corrections during sessions, cluster them into rules, and promote the approved best practices into a permanent project rule file for consistent enforcement.