ajbcoding/claude-skill-eval/moai-alfred-config-schema
- community
Checking that the SKILL.md file is still in the repository.
Enterprise configuration schema validation and management orchestrator with JSON Schema v2024-12, Context7 integration, semantic versioning compliance, environment variable management, secrets handling, multi-environment support, and configuration-as-code best practices; activates for config validation, schema enforcement, environment setup, secrets management, and configuration audits
Install
npx vskill@latest install ajbcoding/claude-skill-eval/moai-alfred-config-schemaSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Enterprise Configuration Schema Management v4.0.0
Skill Metadata
| Field | Value | |
|---|---|---|
| Skill Name | moai-alfred-config-schema | |
| Version | 4.0.0 Enterprise (2025-11-12) | |
| Standards | JSON Schema v2024-12, RFC 8174 keywords, TOML/YAML best practices | |
| AI Integration | ✅ Context7 MCP for official docs | |
| Auto-load | When config validation or management needed | |
| Environments | development, staging, production + custom | |
| Lines of Content | 900+ with 12+ production examples | |
| Progressive Disclosure | 3-level (quick-start, patterns, advanced) |
What It Does
Provides comprehensive guidance for managing project configuration with JSON Schema validation, environment-specific overrides, secrets management, semantic versioning compliance, and configuration-as-code best practices.
Configuration Hierarchy (3-Layer)
Layer 1: Base Configuration
File: .moai/config/config.json (checked into repo)
Key Points:
- Checked into version control
- No secrets, credentials, or API keys
- Environment-agnostic defaults
- Semantic versioning format
Layer 2: Environment Overrides
Files: .moai/config/.env.{environment} (NOT checked in)
Key Points:
- One file per environment
- Contains secrets and env-specific values
- MUST be in
.gitignore - Loaded at runtime based on NODE_ENV/ENVIRONMENT
Layer 3: Local Development Overrides
File: .moai/config/.env.local (NOT checked in)
Key Points:
- Developer-specific settings
- Takes precedence over everything
- NEVER committed to repo
- Used for local testing with real services
JSON Schema v2024-12 Validation
Base Schema Structure
Configuration Validation Checklist
Required Validations
| Check | Standard | Tool | |
|---|---|---|---|
| JSON Schema v2024-12 compliance | JSON Schema | ajv, jsonschema | |
| No hardcoded secrets | Security | grep, git-secrets | |
| Semantic versioning format | RFC 8174 | regex, semver library | |
| Environment variables defined | Best practice | dotenv-cli, envman | |
| Type correctness | JSON typing | JSON validator | |
| Required fields present | Schema | JSON Schema validator |
Security Validation
Environment Management
Standard Environments
Loading Strategy
Secrets Management Best Practices
DO
- ✅ Store secrets in
.env.{environment}files - ✅ Load at runtime via environment variables
- ✅ Use secret management tools (AWS Secrets Manager, Vault, etc.)
- ✅ Rotate secrets regularly
- ✅ Use strong, random values
- ✅ Document secret naming conventions
- ✅ Audit access to secrets
- ✅ Enable secret scanning in CI/CD
DON'T
- ❌ Commit
.envfiles to repo - ❌ Hardcode API keys, passwords, tokens
- ❌ Share secrets in Slack, email, or tickets
- ❌ Use weak or predictable values
- ❌ Leave old secrets in git history
- ❌ Print secrets in logs
- ❌ Commit credentials to
.gitignore - ❌ Use same secret across environments
Git Safety for Configuration
.gitignore Configuration
Pre-Commit Verification
Semantic Versioning in Config
Format: MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
Upgrade Rules:
- MAJOR (0→1): Breaking changes, major rewrites
- MINOR (22→23): New features, backward compatible
- PATCH (5→6): Bug fixes only
- Pre-release: Experimental, not production-ready
- Build metadata: Informational only, doesn't affect version precedence
Configuration-as-Code Best Practices
Pattern 1: Type-Safe Configuration
Pattern 2: Environment-Specific Defaults
Pattern 3: Secrets Validation
Related Skills
moai-alfred-practices(Best practices patterns)moai-foundation-specs(Specification management)
For detailed schema reference: reference.md For real-world examples: examples.md Last Updated: 2025-11-12 Status: Production Ready (Enterprise v4.0.0)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/moai-alfred-config-schema/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Apr 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ajbcoding/claude-skill-eval/moai-alfred-config-schema)