learn

仓库创建 2025年10月21日最近提交 1 个月前SkillHot 收录 22 天前
▸ 精选理由

能让智能代理快速适应项目惯例,减少人为教学成本,有利于长期维护。

▸ 风险提示

需要深度读取代码库,可能会写入规则文件并需相应权限

这个 Skill 做什么

自动分析代码库以提取开发惯例并生成项目规则文件(.claude/rules/)。

把代码库扫一遍,自动找出团队的开发习惯、架构决策和编码规范,并把这些规则生成机器可读的 .claude/rules/ 文件。需要让 Claude Code 遵循项目独有约定或一键提取项目规范时用。它还会当协调者收集上下文并分配深入分析任务,省掉很多人工摸索。

▸ 展开 SKILL.md 英文原文

Provides autonomous project pattern learning by analyzing the codebase to discover development conventions, architectural patterns, and coding standards, then generates project rule files in .claude/rules/. Use when user asks to "learn from project", "extract project rules", "analyze codebase conventions", "discover project patterns", or wants to auto-generate Claude Code rules for the current project.

开发编程项目学习规则提取代码规范通用
311
Stars
37
Forks
40
仓库内 Skill
+10
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-core/skills/learn/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/main/plugins/developer-kit-core/skills/learn/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Learn

Autonomously analyzes a project's codebase to discover development patterns, conventions, and architectural decisions, then generates project rule files in `.claude/rules/` for Claude Code to follow.

## Overview

This skill acts as the **Orchestrator** in a two-agent architecture. It coordinates the overall workflow: gathering project context, delegating deep analysis to the `learn-analyst` sub-agent, filtering and ranking results, presenting findings to the user, and persisting approved rules to `.claude/rules/`.

The separation of concerns ensures the analyst operates with a focused forensic prompt while the orchestrator manages user interaction and file persistence.

## When to 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有