validate
Validate that a generated project's Claude infrastructure is complete and well-formed. Use when the user says "validate", "check project", or "verify".
- License 许可
- MIT
- 所属仓库
- xeeva/Genesis
- 最近更新
- 2026-03-31
- Stars
- ★ 17
- Forks
- 4
01 前言 Front Matter
- name
- validate
- description
- Validate that a generated project's Claude infrastructure is complete and well-formed. Use when the user says "validate", "check project", or "verify".
- allowed-tools
- Read, Glob, Grep, Bash
- user-invocable
- true
03 SKILL.md 正文
Project Validator
Check that a target project directory has all expected Claude Code infrastructure files and that they are well-formed.
Usage
The user provides a project name or path. Default to the most recently created project if none specified.
Checks
Required Files
- [ ]
CLAUDE.mdexists and is non-empty - [ ]
.claude/settings.jsonexists and is valid JSON - [ ]
.claude/agents/directory has at least 3 agent files (test-runner, code-reviewer, doc-writer) - [ ]
.claude/skills/directory has at least 4 skill directories (test, lint, review, commit) - [ ] Each skill directory contains a
SKILL.mdwith valid YAML frontmatter - [ ]
docs/README.mdexists - [ ]
docs/architecture.mdexists - [ ]
.gitignoreexists - [ ] Git repo is initialised (
.git/exists)
Memory Files
- [ ]
~/.claude/projects/-home-xeeva-claude-<name>/memory/MEMORY.mdexists - [ ]
~/.claude/projects/-home-xeeva-claude-<name>/memory/user-profile.mdexists - [ ]
~/.claude/projects/-home-xeeva-claude-<name>/memory/project-context.mdexists
Content Quality
- [ ] CLAUDE.md contains "Australian English" rule
- [ ] CLAUDE.md contains "em dash" rule
- [ ] CLAUDE.md contains "fail fast" or error handling section
- [ ] CLAUDE.md contains testing section
- [ ] settings.json has permissions.allow array
- [ ] settings.json has at least one hook
Optional Files
- [ ]
.mcp.jsonexists if integrations were specified (report if missing but expected) - [ ] Stack-specific config files exist (tsconfig.json, pyproject.toml, etc.)
Output
Report results as a checklist:
Validating: ~/claude/<name>/
Required Files: [12/12 passed]
Memory Files: [3/3 passed]
Content Quality: [5/6 passed]
- MISSING: settings.json has no hooks configured
Optional Files: [2/2 passed]
Overall: 22/23 checks passed
If all checks pass: "Project is fully configured and ready to use." If checks fail: list the failures with specific remediation steps.
04 同仓库更多 Skills
update
Pull the latest Genesis updates from the remote repository. Use when the user says "update", "pull updates", "upgrade genesis", "check for updates", or "sync".
registry
View the registry of all projects created by Genesis. Use when the user says "registry", "list projects", "what projects", or "show projects".
genesis
Bootstrap a new Claude Code project with full infrastructure. Use this when the user wants to create a new project, scaffold a project, or says "new project", "create", "bootstrap", or "build me".