跳到正文
TakoAPI
返回技能列表

claude-optimised

由 hexnickk 提供

Coding Agents & IDEs
3.9k下载量由 clawskills.sh 提供
9星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Guide for writing and optimizing CLAUDE.md files.

描述

该技能的功能

A guide for writing lean, effective CLAUDE.md files that Claude Code will actually follow. Covers what to include, what to cut, file placement, and how to maintain the file over time.

Most CLAUDE.md files are too long, causing Claude to skip critical rules — this guide enforces a pruning-first mindset that keeps instructions short enough to actually work.

何时使用

  • Creating a CLAUDE.md for a new project from scratch
  • Auditing an existing CLAUDE.md that Claude seems to be ignoring
  • Deciding which conventions are worth documenting vs. leaving implicit
  • Setting up subdirectory-level CLAUDE.md files for monorepos
  • Trimming a bloated CLAUDE.md after it grows past 50 lines

示例工作流

输入

User asks: review my CLAUDE.md and help me improve it

智能体
  1. 1

    Reads the existing CLAUDE.md file

  2. 2

    Checks each line against the 'would removing this cause mistakes?' test

  3. 3

    Identifies redundant rules, obvious patterns, and prose that should be bullets

  4. 4

    Suggests removals and rewrites remaining content as terse bullet points

  5. 5

    Outputs a revised CLAUDE.md under 50 lines

输出

A trimmed CLAUDE.md containing only non-obvious conventions, critical warnings, and project-specific commands

安装

clawhub install hexnickk/claude-optimised

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接