lc-rules

仓库创建 2026年7月26日最近提交 2 天前SkillHot 收录 2 天前
▸ 精选理由

按任务抽取关键指南,适合多项目或多代理环境管理。

▸ 风险提示

会修改工作区文件,需写权限并注意备份。

这个 Skill 做什么

为工作区创建或审计规则路由,保留现有项目文件并预览变更。

把工作区的规则路由化并做审计,生成小而精的规则集让 agent 只加载当前任务相关的代码、QA、Git、环境和团队指引。用在初始化或刷新项目规则、继承参考项目规范或切换分支/分支策略时,能发现并保留现有项目文件。特点是不改写原有文件、每次变更都有预览,并把规则路由到最相关的任务上。

▸ 展开 SKILL.md 英文原文

Create, audit, or change a workspace's routed rules/ tree and concise agent guidance without overwriting existing project instructions. Use when the user says "lc-rules 스킬 초기화 해줘", asks to initialize or refresh workspace rules, discover conventions across multiple projects, prepare rules for a new frontend/backend project, inherit rules from a reference project, connect AGENTS.md/CLAUDE.md/GEMINI.md to project rules, choose Git or branch conventions, says "브랜치 규칙 전환해줘", or checks an existing lc-rules installation.

Skill 开发管理工作区规则路由器代理配置通用
0
Stars
0
Forks
1
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/cloudh0/lc-rules/main/skills/lc-rules/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/cloudh0/lc-rules/main/skills/lc-rules/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# LC Rules

Create a small evidence-based rules router. Let agents load only the critical, code, QA, environment, team, and Git guidance relevant to the current task. Preserve existing project files and preview every mutation.

## Core workflow

1. Resolve the project root. Prefer the Git root; otherwise use the user's explicit workspace path or current directory.
2. Inspect the entire workspace for Git roots, package manifests, framework configuration, instruction files, existing `rules/`, and nested projects before changing anything.
3. Read [install-contract.md](references/install-contract.md).
4. Select the evidence mode:
   - **Existing workspace**: infer rules from current configuratio
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有