agentleFS
castle-xcastle-x/skills-x/CLAUDE.md

skills-x

CLAUDE.md18 starsChanged 7 months agoMITView on GitHub

Skills-X is a Go-based CLI tool for downloading and managing AI agent skills. It supports multiple AI IDEs (Claude Code, Cursor, Windsurf, CodeBuddy) and distributes skills via npm and Go install. This project uses a plan-first workflow (see .cursor/rules/development-workflow.mdc):

  • Installs packages

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Discussion Phase: When users提出需求, discuss the approach first

    line 47
  2. Distinctive:

    Plan Confirmation: Wait for user to confirm the plan

    line 48
  3. Distinctive:

    Execution Phase: Only start coding after explicit instructions like "开始开发" or "start development"

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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.

Project Overview

Skills-X is a Go-based CLI tool for downloading and managing AI agent skills. It supports multiple AI IDEs (Claude Code, Cursor, Windsurf, CodeBuddy) and distributes skills via npm and Go install.

Common Commands

# Build the binary
make build

# Run tests
make test

# Run a single test
go test -v ./cmd/skills-x/command/initcmd/...

# Install to ~/.local/bin
make install-local

# Build cross-platform binaries for npm release
make build-npm

# Build all platforms to bin/
make build-all

Architecture

  • CLI Framework: Uses Cobra (github.com/spf13/cobra)
  • Commands: list, init, tui (see cmd/skills-x/command/)
  • Core Packages:
    • pkg/registry/ - Skill registry (registry.yaml)
    • pkg/discover/ - Skill discovery
    • pkg/gitutil/ - Git utilities for cloning skills
    • pkg/versioncheck/ - Version checking against GitHub releases
  • Skills: Embedded in binary at cmd/skills-x/skills/skills/ via go:embed. Run make sync-skills before building to update embedded skills.
  • i18n: Translations in cmd/skills-x/i18n/locales/ (en.yaml, zh.yaml)

Development Workflow

This project uses a plan-first workflow (see .cursor/rules/development-workflow.mdc):

  1. Discussion Phase: When users提出需求, discuss the approach first
  2. Plan Confirmation: Wait for user to confirm the plan
  3. Execution Phase: Only start coding after explicit instructions like "开始开发" or "start development"
  4. Documentation: Save implementation plans to docs/ before coding

Key Files

  • cmd/skills-x/main.go - Entry point, registers commands
  • cmd/skills-x/command/initcmd/init.go - Download/install skills
  • cmd/skills-x/command/list/list.go - List available skills
  • cmd/skills-x/tui/ - Interactive TUI for skill management
  • pkg/registry/registry.yaml - Skill registry definition

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.