Skip to content
Conduit

skill

platxa-skill-generator

Platxa Skill Generator

platxa/platxa-skill-generatorcommunitylistedunreviewed

Set up

Skills are installed by placing their folder where your agent loads skills.

The download comes from github.com/platxa/platxa-skill-generator itself, not from our server, so what you get is exactly what its author published.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below.

README

synced Oct 26, 2026

Platxa Skill Generator

Autonomous skill creator for Claude Code CLI using multi-phase orchestrated workflows with Task tool subagents.

Created by: DJ Patel -- Founder & CEO, Platxa | https://platxa.com

Based on: Anthropic's Agent Skills Open Standard + Claude Code Extensions


Table of Contents


Skills Catalog

17 ready-to-use skills for the community. Browse and install production-ready skills:

SkillTypeDescription
code-documenterAutomationGenerate docs for Python, JS/TS, Java, Go, Rust
commit-messageAutomationGenerate conventional commit messages
test-generatorBuilderGenerate comprehensive unit tests
pr-descriptionAutomationGenerate PR descriptions from git history
platxa-code-reviewAnalyzerCode quality, security, and efficiency analysis
platxa-frontend-builderBuilderReact/Next.js component generation
platxa-sidecar-builderBuilderNode.js sidecar service builder
platxa-error-handlingGuideError handling patterns across Platxa stack
platxa-jwt-authBuilderRS256 JWT authentication with JWKS
platxa-k8s-opsAutomationKubernetes operations automation
platxa-k8s-scalingGuideKubernetes scaling patterns (HPA, scale-to-zero)
platxa-loggingGuideStructured logging and correlation IDs
platxa-monaco-configGuideMonaco editor configuration
platxa-monitoringGuidePrometheus/Loki observability
platxa-secrets-managementGuideFernet encryption and K8s secrets
platxa-testingGuidepytest/Vitest testing patterns
platxa-yjs-serverGuideYjs CRDT WebSocket servers
./scripts/install-from-catalog.sh --list           # Browse with quality scores
./scripts/install-from-catalog.sh code-documenter   # Install one skill
./scripts/install-from-catalog.sh --all             # Install all (topologically ordered)

See the full Skills Catalog for details.


Overview

Platxa Skill Generator creates production-ready Claude Code skills by orchestrating specialized subagents through a multi-phase workflow:

  1. Discovery -- Research domain knowledge via web search and existing skill analysis
  2. Architecture -- Design skill structure based on type (Builder/Guide/Automation/Analyzer/Validator)
  3. Generation -- Create SKILL.md, scripts, and reference documentation
  4. Validation -- Verify against Anthropic's spec with 5-dimension quality scoring
  5. Eval Loop (optional) -- Test with real prompts, grade, iterate, optimize description
  6. Installation -- Deploy to user or project skills directory

Two-Layer Spec Compliance

The generator supports both specification layers:

LayerFieldsCompatibility
Agent Skills Open Standard (agentskills.io)name, description, license, compatibility, metadata, allowed-toolsclaude.ai, Cursor, Gemini CLI, Codex CLI, VS Code Copilot
Claude Code Extensions (code.claude.com)model, effort, context, agent, paths, hooks, argument-hint, user-invocable, disable-model-invocation, shellClaude Code CLI only

Use --claude-ai flag on validation scripts to check open-standard-only compliance.


Features

FeatureDescription
Autonomous CreationMinimal user input, maximum automation
Multi-Phase Workflow9 specialized subagents for each phase
Five Skill TypesBuilder, Guide, Automation, Analyzer, Validator
Advanced PatternsParallel sub-agents, auto-fix, CLAUDE.md integration, smart scoping
Eval InfrastructureTest prompts, grading, benchmarking, description optimization, A/B comparison
Quality Scoring5-dimension scorer with advanced pattern bonuses and spec compliance checks
Full Frontmatter Validation30 valid tools, constraint patterns, claude.ai compatibility mode
Dependency Systemdepends-on and suggests fields (experimental) with cycle detection
Token Budget ManagementSKILL.md optimized for context efficiency
Script SecurityShellCheck + security pattern scanning
Skill Packaging.skill archive creation for distribution
Web ResearchAutomatic domain knowledge discovery
Trigger TestingKeyword-based trigger accuracy testing with should/should-not-trigger prompts
Anthropic Guide Alignment3-part description structure, XML security, reserved names, negative triggers
145 Reference FilesDomain knowledge across 60 patterns, 9 templates, 9 agents
20 ScriptsValidation, installation, scoring, eval, trigger testing, dependency, packaging
164 TestsComprehensive test suite across 7 test files with catalog regression

Prerequisites

RequirementVersionPurpose
Claude Code CLILatestRequired runtime environment
Bash4.0+Run validation and installation scripts
Python3.10+Token counting, quality scoring, eval infrastructure
Git2.0+Clone the repository

Optional: tiktoken (pip install) for precise token counting, shellcheck for script linting, jq for eval runner and trigger testing, yq for YAML syntax validation.


Quick Start

1. Install

git clone https://github.com/platxa/platxa-skill-generator.git
cd platxa-skill-generator
./scripts/install-skill.sh . --user

2. Verify

./scripts/validate-all.sh .

3. Generate a skill

In Claude Code:

/platxa-skill-generator
> A skill that formats JSON files

The generator researches, designs, generates, validates (score >= 7.0/10), and installs.


Installation

Option 1: Using install script (recommended)

git clone https://github.com/platxa/platxa-skill-generator.git
cd platxa-skill-generator
./scripts/install-skill.sh . --user    # User-wide (~/.claude/skills/)
./scripts/install-skill.sh . --project # Project-only (.claude/skills/)

Option 2: Manual copy

git clone https://github.com/platxa/platxa-skill-generator.git
cp -r platxa-skill-generator ~/.claude/skills/platxa-skill-generator

Install catalog skills

cd platxa-skill-generator
./scripts/install-from-catalog.sh --list    # Browse available skills
./scripts/install-from-catalog.sh --all     # Install all (respects dependency order)

Scripts Reference

Validation

ScriptPurpose
validate-all.sh <dir>Run all validators (structure, frontmatter, tokens, shellcheck, quality)
validate-structure.sh <dir>Check directory structure and file presence
validate-frontmatter.sh [--claude-ai] <dir>Validate YAML frontmatter (30 tools, constraint patterns, open-standard mode)
validate-skill.sh <dir>Field validation with 0-10 scoring
validate-catalog-entry.sh <dir>Validate a catalog entry for PR submission
count-tokens.py <dir>Token counting with budget enforcement
score-skill.py <dir>5-dimension quality scorer (--json, --verbose)
security-check.sh <dir>Scan scripts for dangerous patterns

Evaluation & Trigger Testing

ScriptPurpose
run-eval.sh <dir> [--baseline] [--iteration N]Run eval prompts against a skill via claude -p
test-triggers.sh <dir> [--json] [--dry-run]Test trigger accuracy (should-trigger vs should-NOT-trigger prompts)
aggregate-benchmark.py <iter-dir> --skill-name <name>Aggregate grading/timing into benchmark.json (mean/stddev)
optimize-description.py <dir> [--json] [--verbose]Optimize description trigger accuracy with negative trigger generation

Installation & Distribution

ScriptPurpose
install-skill.sh <dir> [--user|--project]Install a skill with validation and dependency check
install-from-catalog.sh <name>Install from catalog with auto-dependency resolution
package-skill.py <dir> [--output <path>]Package skill into .skill archive for distribution

Dependency Management

ScriptPurpose
check-dependencies.sh <dir>Check if depends-on requirements are installed
detect-circular-deps.sh [--dir <path>]Find cycles in dependency graph (DFS)
skill-graph.sh [--dir <path>]Output dependency graph in DOT format
list-installed.sh [--user|--project]List installed skills with dependency info

Testing

ScriptPurpose
test-scripts.shTest runner for script validation
test-triggers.sh <dir>Trigger accuracy testing (90% trigger rate, 0% false positive target)

Skill Types

TypePurposeKey Sections
BuilderCreate new thingsWorkflow, Templates, Output Checklist
GuideTeach/explainSteps, Examples, Best Practices
AutomationAutomate tasksTriggers, Scripts, Verification
AnalyzerInspect/auditChecklist, Metrics, Reports
ValidatorVerify qualityRules, Thresholds, Pass/Fail Criteria

Frontmatter Reference

Required Fields

---
name: hyphen-case-name  # ≤64 chars, no consecutive hyphens
description: >-         # ≤1024 chars, trigger context in first 250 chars
  Analyzes X for Y. Use when the user asks to "do X", "check Y",
  or "review Z". Produces structured reports with actionable findings.
---

The description field is the primary trigger mechanism. Front-load the first 250 chars with what the skill does AND when to use it. Include quoted trigger phrases. Write in third person.

Agent Skills Open Standard Fields

These fields work on claude.ai, Cursor, Gemini CLI, and all Agent Skills-compatible tools:

FieldTypePurpose
namestringSkill identifier (required)
descriptionstringWhat it does + when to use (required)
licensestringLicense name
compatibilitystringEnvironment requirements
metadataobjectArbitrary key-value pairs (e.g., version: "1.0.0")
allowed-toolslistPre-approved tool permissions

Claude Code Extension Fields

These fields work in Claude Code CLI only:

FieldTypeValuesPurpose
modelstringopus, sonnet, haikuOverride conversation model
effortstring/intlow, medium, high, max, or integerToken budget control
contextstringforkRun as isolated sub-agent
agentstringExplore, Plan, general-purposeAgent type (with context: fork)
pathsstring/listGlob patternsConditional activation by file type
argument-hintstringArgument formatHelp text for /skill arguments
user-invocablebooltrue/falseAllow user slash-command
disable-model-invocationbooltrue/falsePrevent auto-invocation
shellstringbash, powershellShell for inline code blocks
hooksobjectHook configurationLifecycle hooks (PreToolUse, PostToolUse, TaskCreated, etc.)

Deprecated / Experimental Fields

FieldStatusMigration
when_to_useDeprecatedFold trigger phrases into description (first 250 chars)
version (top-level)DeprecatedMove to metadata.version
depends-onExperimentalOpen proposal only, not yet in spec
suggestsExperimentalOpen proposal only, not yet in spec

Tool Constraint Patterns

allowed-tools:
  - Read
  - Bash(git:*)                              # Only git commands
  - Write(src/*)                             # Only writes in src/
  - Bash(${CLAUDE_SKILL_DIR}/scripts/run.sh:*)  # Only specific script

Variable Substitution

VariablePurpose
$ARGUMENTSAll arguments passed to the skill
$ARGUMENTS[0], $0First argument by index
${CLAUDE_SKILL_DIR}Skill's installation directory (portable)
${CLAUDE_SESSION_ID}Current session ID

Eval Infrastructure

Inspired by Anthropic's skill-creator, the eval system enables iterative skill improvement:

Workflow

Draft skill → Write eval prompts → Run evals → Grade → Review → Improve → Repeat

evals.json

Create evals/evals.json in your skill directory:

{
  "skill_name": "my-skill",
  "evals": [
    {
      "id": 1,
      "name": "realistic-test-case",
      "prompt": "Detailed, realistic user prompt...",
      "expected_output": "What success looks like",
      "expectations": [
        "Output includes file:line references",
        "Score uses weighted formula"
      ]
    }
  ]
}

Running Evals

# Run all evals against skill
./scripts/run-eval.sh my-skill/

# Run baseline (without skill) for comparison
./scripts/run-eval.sh my-skill/ --baseline

# Grade results with grader agent (via Task tool)
# See references/agents/grader-agent.md

# Aggregate into benchmark
python3 scripts/aggregate-benchmark.py my-skill/eval-workspace/iteration-1 --skill-name my-skill

Trigger Testing

Test that your skill's description activates it for relevant queries and NOT for irrelevant ones:

# Create trigger-tests.json in your skill directory
cat > my-skill/trigger-tests.json << 'EOF'
{
  "skill_name": "my-skill",
  "should_trigger": ["Help me format JSON", "Format this JSON file"],
  "should_not_trigger": ["What's the weather?", "Write Python code"]
}
EOF

# Run trigger tests (goal: >=90% trigger rate, 0% false positives)
./scripts/test-triggers.sh my-skill/
./scripts/test-triggers.sh my-skill/ --json    # Machine-readable output

See references/validation/trigger-test-schema.md for the full schema.

Description Optimization

# Optimize description for trigger accuracy (with negative trigger generation)
python3 scripts/optimize-description.py my-skill/ --json --verbose

Agents

AgentPurpose
grader-agent.mdEvaluate expectations against outputs with evidence
comparator-agent.mdBlind A/B comparison between skill versions

See references/validation/eval-schema.md for full JSON schemas.


Project Structure

platxa-skill-generator/
├── SKILL.md                    # Main skill definition (entry point)
├── README.md                   # This file
├── CLAUDE.md                   # Claude Code guidance
├── pyproject.toml              # Python project config
├── LICENSE                     # MIT License
│
├── scripts/                    # 20 executable scripts
│   ├── validate-all.sh         # Master validation orchestrator
│   ├── validate-structure.sh   # Directory structure checks
│   ├── validate-frontmatter.sh # YAML frontmatter validation (--claude-ai mode)
│   ├── validate-skill.sh       # Field validation with scoring
│   ├── validate-catalog-entry.sh # Catalog entry validator
│   ├── count-tokens.py         # Token counting (tiktoken)
│   ├── score-skill.py          # 5-dimension quality scorer
│   ├── security-check.sh       # Script security scanning
│   ├── install-skill.sh        # Skill installer
│   ├── install-from-catalog.sh # Catalog installer (batch, deps)
│   ├── check-dependencies.sh   # Dependency checker
│   ├── detect-circular-deps.sh # Cycle detection (DFS)
│   ├── skill-graph.sh          # DOT graph output
│   ├── list-installed.sh       # Installed skills lister
│   ├── test-scripts.sh         # Script test runner
│   ├── test-triggers.sh        # Trigger accuracy testing
│   ├── run-eval.sh             # Eval prompt runner (claude -p)
│   ├── aggregate-benchmark.py  # Benchmark aggregation (mean/stddev)
│   ├── optimize-description.py # Description trigger optimizer
│   └── package-skill.py        # .skill archive packager
│
├── catalog/                    # 17 production-ready skills
│   ├── code-documenter/
│   ├── commit-message/
│   ├── test-generator/
│   ├── pr-description/
│   ├── platxa-code-review/
│   ├── platxa-frontend-builder/
│   ├── platxa-sidecar-builder/
│   ├── platxa-error-handling/
│   ├── platxa-jwt-auth/
│   ├── platxa-k8s-ops/
│   ├── platxa-k8s-scaling/
│   ├── platxa-logging/
│   ├── platxa-monaco-config/
│   ├── platxa-monitoring/
│   ├── platxa-secrets-management/
│   ├── platxa-testing/
│   └── platxa-yjs-server/
│
├── references/                 # 145 domain knowledge files
│   ├── agents/                 # 9 subagent definitions (incl. grader, comparator)
│   ├── patterns/               # 60 implementation patterns
│   ├── templates/              # 9 skill type templates
│   ├── orchestration/          # 7 workflow patterns
│   ├── discovery/              # 3 research patterns
│   ├── generation/             # 13 content generation patterns
│   ├── validation/             # 7 quality validation patterns (incl. eval-schema, trigger-test-schema)
│   ├── installation/           # 10 install/export patterns
│   ├── interaction/            # 9 user interaction patterns
│   ├── architecture/           # 2 architecture patterns
│   ├── scripts/                # 11 script generation patterns
│   ├── spec/                   # 2 specification references
│   └── examples/               # 2 example skills
│
├── tests/                      # 164 tests across 7 test files
│   ├── test_validate_frontmatter.py  # 56 frontmatter tests (XML, reserved names, claude-ai mode)
│   ├── test_validate_structure.py    # 18 structure tests (README.md presence check)
│   ├── test_count_tokens.py          # 10 token tests
│   ├── test_score_skill.py           # 50 quality scorer tests (3-part structure, actionability)
│   ├── test_check_dependencies.py    # 8 dependency tests
│   ├── test_circular_deps.py         # 9 cycle detection tests
│   ├── test_integration.py           # 13 integration tests (incl. catalog regression)
│   ├── conftest.py                   # Fixtures
│   └── helpers.py                    # Test utilities
│
└── .github/workflows/          # CI/CD
    ├── ci.yml                  # Tests, validation, shellcheck
    └── validate-catalog.yml    # Catalog PR validation

Quality Standards

Quality Scorer (score-skill.py)

Every generated skill is scored across 5 dimensions:

DimensionWeightWhat It Checks
Spec Compliance25%Frontmatter validity, name format, Anthropic 3-part description structure [What]+[When]+[Capabilities], XML tag security, reserved name check, trigger context in first 250 chars, deprecated field penalties
Content Depth25%Placeholders, generic filler, vocabulary diversity, instruction actionability, advanced pattern bonuses
Example Quality20%Code blocks, language labels, substance, YAML/JSON validity
Structure15%Required sections, heading count, hierarchy, progressive disclosure
Token Efficiency15%Line count, word count (5,000-word Anthropic limit), sentence length, references
ScoreLevelDecision
9.0-10.0ExcellentAPPROVE
8.0-8.9GoodAPPROVE
7.0-7.9AcceptableAPPROVE with suggestions
5.0-6.9Needs WorkREVISE
< 5.0PoorREJECT
python3 scripts/score-skill.py catalog/code-documenter --json     # JSON output
python3 scripts/score-skill.py catalog/code-documenter --verbose   # Detailed signals

Advanced Pattern Bonuses

PatternBonusDetection
Parallel sub-agents+0.5Task/Agent tool + parallel/concurrent language
Auto-fix capability+0.5Edit tool + fix/apply workflow language
CLAUDE.md integration+0.3References project conventions
${CLAUDE_SKILL_DIR} usage+0.3Portable script references
argument-hint declared+0.3Better discoverability
Smart scope detection+0.2git diff or dynamic context
Finding filtering+0.2Deduplication and false-positive filtering

Consistency Checks

  • argument-hint without $ARGUMENTS in body triggers a warning
  • $ARGUMENTS without argument-hint suggests adding it
  • SKILL.md > 3000 tokens without references/ triggers progressive disclosure penalty
  • Quoted trigger phrases in description beyond first 250 chars get penalized
  • Non-string metadata values warned for claude.ai compatibility
  • XML angle brackets (<, >) in frontmatter field values are rejected (security)
  • Reserved names containing claude or anthropic segments are rejected
  • README.md inside skill folder generates a warning (all docs go in SKILL.md or references/)
  • Vague instructions ("validate the data before proceeding") get penalized vs specific actionable ones
  • Descriptions missing Anthropic 3-part structure [What]+[When]+[Capabilities] lose points
  • SKILL.md exceeding 5,000 words triggers large context warning (Anthropic limit)

Execution Tiers

TierCriteriaCapabilities
Simple1-2 dimensions, no code modificationRead, Grep, Glob, Bash
Intermediate2-3 dimensions, optional mechanical fixes+ Task, Edit
Advanced3+ dimensions, parallel agents, auto-fix+ Task, Edit, Write + CLAUDE.md + filtering

Testing

# Run all 164 tests
pytest tests/ -v

# Run specific test file
pytest tests/test_score_skill.py -v

# Run by marker
pytest tests/ -m frontmatter
pytest tests/ -m integration

# Run catalog regression only
pytest tests/test_integration.py -k catalog -v

# Run claude-ai compatibility tests
pytest tests/test_validate_frontmatter.py -k claude_ai -v

All tests use real file system operations -- no mocks or simulations.


Troubleshooting

Skill not recognized after installation

ls ~/.claude/skills/platxa-skill-generator/SKILL.md   # Verify location
head -5 ~/.claude/skills/platxa-skill-generator/SKILL.md  # Check frontmatter

Quality score too low

Run score-skill.py --verbose for actionable suggestions. Common fixes:

  • Add trigger phrases to description (first 250 chars)
  • Move version to metadata.version
  • Remove when_to_use field (fold into description)
  • Add code block language labels

validate-frontmatter.sh shows deprecation warnings

Fields not in the Agent Skills open standard trigger warnings:

  • when_to_use -- fold trigger phrases into description
  • version (top-level) -- move to metadata.version
  • depends-on / suggests -- experimental, open proposal only

Use --claude-ai flag for strict open-standard-only validation.

Scripts not executable

chmod +x scripts/*.sh

Contributing

See CONTRIBUTING.md. Run before submitting:

./scripts/validate-all.sh .    # All validators pass
pytest tests/ -v               # All 164 tests pass
shellcheck scripts/*.sh        # No warnings
ruff check scripts/            # Python linting

License

MIT License -- See LICENSE for details.


Version: 3.1.0 Created by: DJ Patel -- Founder & CEO, Platxa | https://platxa.com Based on: Anthropic's Agent Skills Open Standard + The Complete Guide to Building Skills for Claude + skill-creator

↑↓ navigate openesc close