component-architect

Enforces official Claude Code component standards. Use when creating skills, agents, commands, or hooks. Validates existing components and offers remediation. Implements the "one skill = one specialized agent" architecture pattern.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "component-architect" with this command: npx skills add zpankz/mcp-skillset/zpankz-mcp-skillset-component-architect

Component Architect

Core Responsibilities

  1. Pre-Creation Validation: Check official docs before generating any component
  2. Existing Component Audit: Scan ~/.claude for non-compliant components
  3. Remediation Orchestration: Spawn subagents to fix non-compliant files
  4. Architecture Enforcement: Apply "one skill = one specialized agent" pattern

Official Frontmatter Reference

ComponentRequiredOptional
SKILL.mdname, descriptionallowed-tools, model, context, agent, hooks, user-invocable
Agent .mdname, descriptiontools, disallowedTools, model, permissionMode, skills, hooks
Command .md(none)description, allowed-tools, model, argument-hint
plugin.jsonname, descriptionauthor
hooks.jsonhooks objectdescription

Validation Commands

Validate All Components

/component-architect validate

Validate Specific Type

/component-architect validate --type skills
/component-architect validate --type agents
/component-architect validate --type hooks

Apply Architecture Pattern

/component-architect apply-pattern --skill skill-name

Architecture Pattern: One Skill = One Agent

For every active skill:

  1. Set context: fork in SKILL.md
  2. Create designated agent with matching name pattern
  3. Configure agent with:
    • Intelligent model selection based on task complexity
    • Appropriate permissionMode for the workflow
    • Complementary skills that enhance the primary skill
    • Scoped hooks for lifecycle management
    • Restricted tools appropriate to the domain

Model Selection Matrix

ComplexityModelIndicators
HighopusArchitecture, debugging, multi-domain reasoning
MediumsonnetImplementation, refactoring, moderate analysis
LowhaikuSearches, simple transforms, quick lookups
InheritedinheritWhen parent context model is appropriate

Permission Mode Selection Matrix

ScenarioModeUse When
Complex multi-stepplanHigh complexity requiring human feedback before implementation
Edge case handlingacceptEditsPotential edge cases need user confirmation on edits
Routine executionbypassPermissionsClear requirements, preplanned, or promise completion
Standard workflowdefaultNormal permission checking with prompts
Deny risky opsdontAskAuto-deny prompts (explicitly allowed tools still work)

Remediation Workflow

  1. Scan component directories for non-compliant files
  2. Generate remediation plan per file
  3. Spawn parallel subagents for batch updates
  4. Verify all changes post-remediation

Integration References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code refactoring

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dspy-code

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-refactor

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

screenapp-cli

No summary provided by upstream source.

Repository SourceNeeds Review