agentleFS
lijiganglijigang/ljg-skills/CLAUDE.md

ljg-skills

CLAUDE.md7.4k starsChanged 4 months agoMITView on GitHub

This is a personal Claude Code skills repository. Each skill is a self-contained directory that can be installed to ~/.claude/skills/ to extend Claude Code's capabilities. Each SKILL.md follows this structure: ljg-card requires Playwright for screenshot capture: Several skills share a common pattern for content ingestion: - URL → WebFetch - File path → Read tool - Raw text → Direct use The most complex skill with multiple rendering modes: Org-mode output (ljg-paper, ljg-writes): - Bold: *text* (single asterisk, not **)…

  • Installs packages

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the lijigang/ljg-skills repository that our weekly crawl found: only 4 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When modifying skill logic, update both the SKILL.md and any referenced files in references/

    line 111
  2. Distinctive:

    After modifying a skill:

    line 115
  3. Very specific:

    Test via natural language trigger or /skill-name

    line 118

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Overview

This is a personal Claude Code skills repository. Each skill is a self-contained directory that can be installed to ~/.claude/skills/ to extend Claude Code's capabilities.

Repository Structure

ljg-skills/
├── ljg-*/              # Each skill is a directory with "ljg-" prefix
│   ├── SKILL.md        # Skill definition with YAML frontmatter
│   ├── references/     # Reference docs for complex skills
│   ├── assets/         # Templates, images, scripts
│   └── scripts/        # Helper scripts (bash, node)
├── README.md
└── .gitignore          # Ignores everything except ljg-*/ and specific files

Skill Format

Each SKILL.md follows this structure:

---
name: skill-name
description: "What this skill does. Use when user says..."
user_invocable: true|false
version: "x.x.x"
---

# Skill content in markdown...

Skill Inventory

SkillPurposeExternal Dependencies
ljg-cardContent → PNG visuals (long cards, infographs, posters)Node.js + Playwright
ljg-paperAcademic paper analysis pipelineNone
ljg-explainClear explanations of concepts, formulas, and principlesNone
ljg-mechanismEvidence-grounded mechanism researchWeb search and source retrieval
ljg-wordEnglish word deep-diveNone
ljg-writesWriting engine for thinking through ideasNone

Commands

Install ljg-card Dependencies

ljg-card requires Playwright for screenshot capture:

cd ljg-card && npm install && npx playwright install chromium

Install Skills (for users)

# Copy all skills to Claude Code
mkdir -p ~/.claude/skills
cp -r ljg-* ~/.claude/skills/

Architecture Notes

Skill Invocation

  • Skills with user_invocable: true can be triggered via /skill-name or natural language
  • Trigger phrases are defined in each skill's description field
  • Skills can call other skills via the Skill tool

Content Processing Pipeline

Several skills share a common pattern for content ingestion:

  • URL → WebFetch
  • File path → Read tool
  • Raw text → Direct use

ljg-card Architecture

The most complex skill with multiple rendering modes:

  1. HTML Templates: Stored in assets/ (long_template.html, infograph_template.html, poster_template.html)
  2. Capture Script: assets/capture.js uses Playwright to screenshot HTML → PNG
  3. Reference Docs: references/taste.md (design guidelines), references/mode-*.md (mode-specific instructions)
  4. Output: PNG files written to ~/Downloads/

Shared Conventions

Org-mode output (ljg-paper, ljg-writes):

  • Bold: *text* (single asterisk, not **)
  • Filenames: {timestamp}--{title}__{type}.org
  • Output directory: ~/Documents/notes/
  • Timestamps: date +%Y%m%dT%H%M%S

Conversation-first output (ljg-explain, ljg-mechanism):

  • Deliver explanations and mechanism research directly in the conversation using Markdown.
  • Save a file only when the user explicitly requests one, following the requested format.

ASCII Art:

  • Allowed: + - | / \ > < v ^ * = ~ . : # [ ] ( ) _ , ; ! ' "
  • Forbidden: Unicode box-drawing characters

Development Guidelines

  • Skills are atomic units—each skill directory is self-contained
  • Version numbers are manually maintained in SKILL.md frontmatter
  • The .gitignore ignores all files by default; explicitly unignore with !pattern
  • When modifying skill logic, update both the SKILL.md and any referenced files in references/

Testing Changes

After modifying a skill:

  1. Copy to ~/.claude/skills/
  2. Restart Claude Code to reload skills
  3. Test via natural language trigger or /skill-name

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.