Agent, Skill, Command 컴포넌트 생성기 (WebFetch 기반 문서 분석)
Generates Claude Code components (agents, skills, commands) with optional web research and expert composition.
/plugin marketplace add m16khb/claude-integration/plugin install automation-tools@claude-integration[type] [name]claude-opus-4-5-20251101Generate Claude Code components (agent, skill, command) following Anthropic 2025 schema and best practices. Support research-driven generation via WebFetch and orchestrator composition from existing experts.
Input: $ARGUMENTS
This command uses four specialized skills for component generation:
skills/factory-generator/skills/factory-researcher/skills/factory-validator/skills/factory-orchestrator/1. PARSE $ARGUMENTS → extract type, name
2. USE factory-generator skill:
- Handle argument parsing
- Show type selection TUI if needed
- Collect basic info (name, purpose)
3. IF user wants research → USE factory-researcher skill:
- Execute WebSearch/WebFetch
- Extract best practices and examples
- Return structured research_context
4. RETURN to factory-generator skill:
- Collect location, model, tools preferences
- Handle agent-specific configuration
- Prepare generation context
5. IF type = "agent" AND wants composition:
USE factory-orchestrator skill:
- Present composition options
- Select and compose experts
- Generate orchestration structure
6. SYNTHESIZE all inputs:
- User preferences
- Research findings (if any)
- Composition design (if agent)
- Generation templates
7. USE factory-generator skill:
- Generate component content
- Write files to disk
- Update plugin.json if needed
8. USE factory-validator skill:
- Validate schema compliance
- Assess content quality
- Generate validation report
- Apply auto-fixes if approved
User: /factory command typescript-linter "예, 공식문서 분석"
Flow:
1. factory-generator: Parse args, collect info
2. factory-researcher: Analyze TypeScript linting docs
3. factory-generator: Generate with research context
4. factory-validator: Validate and report
User: /factory agent fullstack-reviewer
Flow:
1. factory-generator: Parse args, collect info
2. factory-orchestrator:
- Select code-reviewer + testing-expert
- Design orchestration pattern
3. factory-generator: Generate with orchestration
4. factory-validator: Validate and report
| Component | Common Errors | Recovery |
|---|---|---|
| Generator | Invalid arguments, permission errors | Clear error messages, suggestions |
| Researcher | No results, rate limits | Try alternative sources, use defaults |
| Validator | Schema violations, low scores | Auto-fix suggestions, manual review |
| Orchestrator | Expert conflicts, timeout | Fallback to single agent, retry |
1. Start orchestration
2. Route to appropriate components
3. Coordinate information flow
4. Synthesize final results
5. Ensure quality standards met
6. Provide completion report