claude-ground

作者 akinalpfdn已验证

A modular rules & skills system for Claude Code — organize, share, and supercharge your AI coding workflow

109
Stars
5
Forks
JavaScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/akinalpfdn/claude-ground

快速入门

使用 claude-ground 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

claude-ground

A minimal rule system for Claude Code. Gives Claude the structural discipline it lacks by default — phase tracking, decision logging, honest pushback, debug discipline, language-specific best practices, and reusable skills.


The problem

Claude Code is capable. But left to its own defaults it tends to:

  • Lose track of the original plan mid-implementation
  • Silently simplify or pivot when blocked, without asking
  • Agree with you when it should push back
  • Brute-force the same failed approach instead of stopping to think
  • Modify existing code without understanding it first
  • Skip tests or write superficial ones
  • Use inline styles, hardcoded colors, and generic AI aesthetics

These aren't model failures — they're defaults that go unchallenged without explicit rules.


What this does

rules/common/ — Always active, every project:

Rule fileWhat it does
core.mdPhase management, approval gates, honest opposition, time estimates, periodic analysis
decisions.mdDecision log format and rules
git.mdBranch strategy, conventional commits, commit discipline, versioning
testing.mdWhen to test, naming, structure, mocks vs integration, coverage
debug.mdTwo-attempt rule, structured analysis, no error masking
existing-code.mdRead before touch, follow existing patterns, separate refactoring from features
frontend.mdTheme-first, no inline styles, intentional design (UI projects only)
security.mdInput validation, auth, secrets, headers, rate limiting essentials (production)
deploy.mdServer hardening, TLS, systemd, monitoring essentials (production)
observability.mdStructured logging, health checks, external monitoring essentials (production)
oss-hygiene.mdBranch protection, tag immutability, signing, governance (open source)

rules/[language]/ — Language-specific best practices:

LanguageKey rules
GoGoroutine lifecycle, error wrapping, interface design, package structure, table-driven tests
SwiftMVVM structure, async/await + actors, memory management, error handling, testable ViewModels
TypeScriptComponent granularity, API layer separation, strict types, state discipline, RTL testing
KotlinCoroutine scopes, sealed UI state, Compose theming, repository pattern, coroutine testing
FlutterWidget granularity, state management, AppTheme, platform isolation, widget/golden tests
RustOwnership patterns, thiserror/anyhow, tokio consistency, unsafe discipline, proptest
PythonType hints, project structure, custom exceptions, dependency management, pytest
.NETConstructor DI, layered architecture, async + CancellationToken, Result pattern, Testcontainers
SpringConstructor injection, layered architecture, exception handling, transactions, Testcontainers

commands/ — Reusable skills (slash commands):

SkillWhat it does
cg-mac-releaseBuild, sign, notarize, and publish a macOS app as a GitHub release with a professional DMG
cg-devplanGenerate structured development plans for Claude Code to follow
cg-store-listingGenerate ASO-optimized App Store / Google Play listing metadata
cg-security-hardeningFull security hardening guide — OWASP-aligned, multi-language, with validation tests
cg-indie-deployDeploy to a single VPS — Caddy/nginx, systemd, TLS, backups, rollback
cg-indie-observabilityStructured logging, error tracking, uptime monitoring, alerting
cg-oss-git-hygieneOSS repo setup — rulesets, signing, templates, Dependabot, triage

All rules use MUST / SHOULD / RECOMMENDED severity levels so Claude knows what is a hard rule vs a best practice.

templates/ — Starting point for new projects:

  • CLAUDE.md — Project context file. Tech stack, architecture, active rules.
  • DECISIONS.md — Empty decisions log, ready to fill.
  • phases/PHASE-01.md — First phase template.

Install

Three things get installed — they go to different places:

WhatWhereEffect
Rules~/.claude/rules/ (global)Active in every project, every session
Skills~/.claude/commands/ (global)Slash commands available everywhere
TemplatesCurrent working directoryCLAUDE.md, DECISIONS.md, phases/ for one project

Rules and skills are always global. Templates are always local to whatever directory you run the command from.

npm install -g claude-ground

No dependencies — uses only Node.js built-ins.

Step 1 — Install rules + skills globally (once)

claudeground                       # interactive — pick languages + skills
claudeground install go typescript # non-interactive — specify languages directly

This installs common rules + your chosen language rules to ~/.claude/rules/, and selected skills to ~/.claude/commands/. Done once, works everywhere.

Step 2 — Set up a project (per project)

From your project directory:

cd your-project
claudeground init                  # interactive — pick languages, skills, UI
claudeground init go swift         # non-interactive — specific languages

This asks if the project has a UI (to enable frontend rules), then creates:

your-project/
├── CLAUDE.md                        ← fill this in
├── DECISIONS.md                     ← log your first stack decision
└── .claude/
    ├── commands/                    ← project-level skills (if selected)
    │   └── cg-mac-release.md
    └── phases/
        └── PHASE-01-active.md       ← define your first phase

Step 3 — Fill in CLAUDE.md

Open CLAUDE.md and fill in:

  • What the project does
  • Your tech stack and why
  • Uncomment the language rules that apply
  • Any project-specific constraints for Claude

Updating

When you update the package (npm update -g claude-ground), re-apply your rules and skills:

claudeground update                # re-installs using your saved preferences

Your language and skill selections are saved to ~/.claude/.claude-ground.json on first install — no need to re-select every time.


Phase workflow

Long implementations use phase files to survive context resets:

.claude/phases/
├── PHASE-01-done.md       ← completed
├── PHASE-02-done.md       ← completed
├── PHASE-03-active.md     ← Claude reads this when context fills
└── PHASE-04-pending.md    ← not started

Each phase file contains: goal, task list, acceptance criteria. No code snippets — phases are goals, not implementations.

Claude checks the active phase file before continuing work. It will not start the next phase without your approval.


Folder structure

claude-ground/
├── cli.js
├── package.json
├── rules/
│   ├── common/
│   │   ├── core.md            # phase management, approval gates, honest pushback
│   │   ├── decisions.md       # decision log format and rules
│   │   ├── git.md             # branch strategy, commits, versioning
│   │   ├── testing.md         # test discipline, naming, coverage
│   │   ├── debug.md           # two-attempt rule, structured analysis
│   │   ├── existing-code.md   # read before touch, pattern respect
│   │   ├── frontend.md        # theme-first, intentional design (UI only)
│   │   ├── security.md        # security essentials → refs full guide
│   │   ├── deploy.md          # deploy essentials → refs full guide
│   │   ├── observability.md   # observability essentials → refs full guide
│   │   └── oss-hygiene.md     # OSS repo essentials → refs full guide
│   ├── go/
│   │   └── go.md
│   ├── swift/
│   │   └── swift.md
│   ├── typescript/
│   │   └── typescript.md
│   ├── kotlin/
│   │   └── kotlin.md
│   ├── flutter/
│   │   └── flutter.md
│   ├── rust/
│   │   └── rust.md
│   ├── python/
│   │   └── python.md
│   ├── dotnet/
│   │   └── dotnet.md
│   └── spring/
│       └── spring.md
├── commands/
│   ├── cg-mac-release.md         # macOS app release pipeline
│   ├── cg-devplan.md             # development plan generator
│   ├── cg-store-listing.md       # app store listing generator
│   ├── cg-security-hardening.md  # full security hardening guide
│   ├── cg-indie-deploy.md        # VPS deployment guide
│   ├── cg-indie-observability.md # production observability guide
│   └── cg-oss-git-hygiene.md     # OSS repository setup guide
└── templates/
    ├── CLAUDE.md
    ├── DECISIONS.md
    └── phases/
        └── PHASE-01.md

Contributing

Rules should be:

  • Specific enough to change behavior, not just remind Claude of good practices
  • Language-idiomatic — written from the perspective of someone who knows the ecosystem well
  • Free of code snippets that Claude would write anyway
  • Tagged with severity: MUST (hard rule), SHOULD (best practice), RECOMMENDED (nice to have)

Skills should be:

  • Generic — no hardcoded user-specific values, use placeholders
  • Self-contained — one .md file per skill in commands/
  • Production-focused — real workflows, not demos

New language rules, skills, corrections, and improvements are welcome.

常见问题

What is claude-ground?

claude-ground is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by akinalpfdn. A modular rules & skills system for Claude Code — organize, share, and supercharge your AI coding workflow. It has 109 GitHub stars.

Is claude-ground safe to use?

Yes. claude-ground passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install claude-ground?

Clone the repository with "git clone https://github.com/akinalpfdn/claude-ground" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is claude-ground written in?

claude-ground is primarily written in JavaScript. It is open-source under akinalpfdn on GitHub, so you can review or fork the full source.

Are there alternatives to claude-ground?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-ground against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情