This file provides guidance to AI coding agents when working with code in this repository.
Centralized repo for shared AI agent configuration (skills, commands) used across WalletConnect projects. Files here mirror ~/.claude/ structure for syncing to local machines.
# Validate all files (frontmatter, structure)
./scripts/validate.sh
# Install to local ~/.claude/
./scripts/install.sh
./scripts/install.sh --force # overwrite existing
# Sync between repo and local
./scripts/sync.sh # interactive bi-directional
./scripts/sync.sh --pull # repo → local
./scripts/sync.sh --push # local → repo
./scripts/sync.sh --dry-run # preview onlynpm equivalents: npm run validate, npm run install-files, npm run sync
.claude/
├── skills/ # Full skills with SKILL.md + optional references
│ └── <name>/
│ ├── SKILL.md # Required: frontmatter + instructions
│ ├── REFERENCE.md # Optional: API docs, schemas
│ ├── WORKFLOWS.md # Optional: multi-step procedures
│ └── references/ # Optional: supporting files
└── commands/ # Simple prompt templates (flat .md files)
- Skills (
skills/<name>/SKILL.md): Complex, multi-file capabilities with structured workflows. Requirenameanddescriptionfrontmatter. - Commands (
commands/<name>.md): Simple prompt templates. Frontmatter optional.
Skills require YAML frontmatter:
---
name: lowercase-hyphen-only
description: What it does. When to use it.
---The validate.sh script checks:
- Frontmatter exists and is valid YAML
- Required fields present (
name,description) modelfield valid if present (haiku/sonnet/opus)- Skill directory names match skill names
Always run ./scripts/validate.sh before committing changes to .claude/.
When adding, removing, or meaningfully changing any skill, command, or script, you MUST update README.md to reflect the change. This includes updating the tables of available skills/commands and any relevant documentation sections.