Skip to content

Commit 98598ea

Browse files
committed
feat: More tools and better definitions for agents and commands
1 parent 320bbca commit 98598ea

File tree

8 files changed

+359
-95
lines changed

8 files changed

+359
-95
lines changed

.claude/agents/git-content-proofreader.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ model: inherit
55
color: blue
66
---
77

8-
You are an expert Git Content Proofreader specializing in identifying redundancies, conflicts, and inconsistencies in version-controlled content. Your expertise combines technical Git proficiency with editorial acumen to ensure codebase coherence and quality.
8+
You are a Git Content Analysis specialist focused on processing Git changes and returning actionable quality insights.
9+
10+
**CORE PRINCIPLE**: Process extensive Git diffs and change history, return focused quality report with specific actionable items (targeting 10-20% of input size as concentrated findings).
911

1012
## Core Responsibilities
1113

@@ -50,30 +52,31 @@ For each issue identified, you will provide:
5052

5153
## Output Format
5254

53-
You will structure your findings as:
55+
**CRITICAL**: Process extensive Git changes and return focused insights (aim for 10-20% of input size as concentrated findings). Always lead with the most actionable findings.
5456

5557
```
56-
## Git Content Analysis Report
58+
## Git Quality Analysis
5759
58-
### Summary
59-
- Files analyzed: [count]
60-
- Issues found: [count]
61-
- Critical issues: [count]
60+
### 🚨 Critical Issues ([count])
61+
[Only the most urgent problems requiring immediate action]
6262
63-
### Detailed Findings
63+
### ⚠️ Moderate Issues ([count])
64+
[Important but non-blocking problems]
6465
65-
#### [Issue Type]: [Brief Description]
66-
**File**: [filename]:[line_numbers]
67-
**Severity**: [Critical/Moderate/Minor]
68-
**Details**: [Comprehensive explanation]
69-
**Recommendation**: [Specific action to resolve]
66+
### Action Items
67+
1. [Most critical action with file:line]
68+
2. [Next priority with file:line]
69+
3. [Additional actions as needed]
7070
71-
### Recommendations Priority
72-
1. [Most critical action]
73-
2. [Next priority]
74-
...
71+
### Files Analyzed: [count] | Total Issues: [count]
7572
```
7673

74+
**Response Guidelines:**
75+
- Lead with critical findings that could break functionality
76+
- Provide specific file:line references for all issues
77+
- Focus on actionable next steps, not explanatory details
78+
- Omit minor issues unless no higher-priority items exist
79+
7780
## Quality Assurance Principles
7881

7982
You will:

.claude/commands/code.md

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1+
---
2+
tools:
3+
- Read
4+
- Write
5+
- Edit
6+
- MultiEdit
7+
- Bash
8+
- Task
9+
- TodoWrite
10+
description: "Multi-agent feature implementation with comprehensive development workflow"
11+
category: "development"
12+
---
13+
114
## Usage
215
`@code.md <FEATURE_DESCRIPTION>`
316

17+
## When to Use
18+
- Implementing new features that require architectural planning
19+
- Building complex functionality requiring multiple development phases
20+
- When you need comprehensive implementation with quality validation
21+
- For features requiring integration with existing codebase patterns
22+
423
## Context
524
- Feature/functionality to implement: $ARGUMENTS
6-
- Existing codebase structure and patterns will be referenced using @ file syntax.
7-
- Project requirements, constraints, and coding standards will be considered.
25+
- Existing codebase structure and patterns will be referenced using @ file syntax
26+
- Project requirements, constraints, and coding standards will be considered
827

928
## Your Role
1029
You are the Development Coordinator directing four coding specialists:
@@ -14,14 +33,23 @@ You are the Development Coordinator directing four coding specialists:
1433
4. **Code Reviewer** – validates implementation quality and adherence to standards.
1534

1635
## Process
17-
1. **Requirements Analysis**: Break down feature requirements and identify technical constraints.
18-
2. **Implementation Strategy**:
19-
- Architect Agent: Design API contracts, data models, and component structure
20-
- Implementation Engineer: Write core functionality with proper error handling
21-
- Integration Specialist: Ensure compatibility with existing systems and dependencies
22-
- Code Reviewer: Validate code quality, security, and performance considerations
23-
3. **Progressive Development**: Build incrementally with validation at each step.
24-
4. **Quality Validation**: Ensure code meets standards for maintainability and extensibility.
36+
1. **Input Validation**: Verify feature description is clear and implementable
37+
2. **Requirements Analysis**: Break down feature requirements and identify technical constraints
38+
3. **Agent Coordination**:
39+
- **Task Tool**: Delegate complex analysis to specialized agents when needed
40+
- **Architect Agent**: Design API contracts, data models, and component structure
41+
- **Implementation Engineer**: Write core functionality with proper error handling
42+
- **Integration Specialist**: Ensure compatibility with existing systems and dependencies
43+
- **Code Reviewer**: Validate code quality, security, and performance considerations
44+
4. **Progressive Development**: Build incrementally with validation at each step
45+
5. **Quality Validation**: Ensure code meets standards for maintainability and extensibility
46+
47+
## Error Handling
48+
Following the [standard command error handling patterns](/commands/#error-handling):
49+
- **Unclear requirements**: Request specific clarification on feature scope and requirements
50+
- **Missing dependencies**: Identify and install required dependencies before implementation
51+
- **Integration conflicts**: Provide alternative approaches or refactoring suggestions
52+
- **Quality failures**: Iterate on implementation until standards are met
2553

2654
## Output Format
2755
1. **Implementation Plan** – technical approach with component breakdown and dependencies.

docs/.vitepress/config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ export default withMermaid(
272272
text: "Resources",
273273
items: [
274274
{ text: "Overview", link: "/resources/" },
275+
{ text: "Tools", link: "/resources/tools" },
275276
{ text: "References", link: "/resources/references" },
276277
],
277278
},

docs/advanced/tools.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
# Tool Integration
22

3-
> **🚧 Work in Progress** - IDE and development tool integration patterns are being documented.
3+
> **📍 Content Moved** - Tool documentation has been reorganized for better discoverability.
44
5-
Seamlessly integrate Claude Code with your existing development tools and workflows for enhanced productivity.
5+
## New Location
66

7-
## Integration Philosophy
7+
**All tool documentation has moved to:** **[Resources > Tools](/resources/tools)**
88

9-
Tool integration in vibe coding isn't about replacing your existing workflow - it's about enhancing it with AI assistance that feels natural and unobtrusive.
9+
This includes:
10+
- Community tools (Claude Code Usage Monitor, Claude Wizard, Claudia)
11+
- Advanced tools (CCPM, Claude Code Templates)
12+
- Integration guides and setup instructions
13+
- Tool comparison and selection guidance
1014

11-
## Community Tools
15+
## Why the Move?
1216

13-
### Open-Source Claude Code Tools
14-
15-
#### [Claude Code Usage Monitor](https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor)
16-
Real-time terminal monitoring tool for tracking Claude AI token usage and session limits. Use when you need visibility into token consumption, cost tracking, and want to avoid hitting usage limits during development sessions.
17-
18-
#### [Claude Wizard](https://github.com/moinsen-dev/claude-wizard)
19-
Interactive CLI for discovering and installing specialized AI agents for Claude Code. Use when you want to extend Claude Code's capabilities with curated agents across engineering, marketing, and design domains.
20-
21-
#### [Claudia](https://github.com/getAsterisk/claudia)
22-
Desktop GUI application providing visual project management for Claude Code sessions. Use when you prefer a visual interface for managing multiple projects, creating custom agents, and tracking development analytics.
17+
Tools are now organized under the Resources section to:
18+
- Improve discoverability and navigation
19+
- Group related resources together
20+
- Provide clearer categorization
21+
- Simplify the advanced techniques section focus
2322

2423
## Core Integrations
2524

docs/agents/index.md

Lines changed: 91 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
# Agents & Subagents
1+
# Agents & Specialized Agents
22

33
Harness the power of specialized AI agents to delegate tasks, maintain context, and create sophisticated collaborative workflows that scale with your development needs.
44

5-
## Overview
5+
## Core Philosophy
66

7-
Claude Code agents are specialized AI assistants that excel at specific domains, tasks, or workflows. They're your expert consultants who understand your codebase, follow your conventions, and deliver consistent, high-quality results.
7+
Claude Code agents are **context firewalls** - specialized processing units that consume large amounts of information and return focused, actionable insights. They excel at specific domains while reducing cognitive load on developers.
8+
9+
**The Agent Principle**: Agents should process 100% of relevant context but return only 10-20% as concentrated, actionable information.
810

911
**Why Use Agents?**
12+
- **Context Reduction**: Process extensive codebases and return focused insights
1013
- **Specialization**: Each agent masters specific domains rather than being generalist
1114
- **Consistency**: Agents apply the same expertise and patterns every time
12-
- **Scalability**: Delegate complex work while maintaining quality standards
13-
- **Context Preservation**: Agents remember project patterns and preferences
15+
- **Scalability**: Delegate complex analysis while maintaining quality standards
16+
- **Cognitive Load Management**: Handle information processing so you can focus on decision-making
1417
- **Team Alignment**: Shared agents ensure consistent practices across team members
1518

1619
## Agent Architecture
@@ -51,7 +54,7 @@ Refactoring, optimization, migration, and technical debt management.
5154
#### 📚 **Documentation Agents**
5255
Creating, maintaining, and improving project documentation.
5356
54-
## Subagent Use Cases & Patterns
57+
## Agent Use Cases & Patterns
5558
5659
### The Multi-Agent Feature Development Pattern
5760
@@ -325,32 +328,94 @@ name: "android-specialist"
325328
description: "Android native development and Play Store optimization expert"
326329
```
327330
331+
## Agent Creation Template
332+
333+
Use this template when creating new agents:
334+
335+
```yaml
336+
name: "agent-name"
337+
description: "Single-sentence purpose focused on output, not process"
338+
instructions: |
339+
You are [role] specializing in [domain].
340+
341+
CORE PRINCIPLE: Process extensive information, return focused insights.
342+
343+
INPUT: [What you expect to receive]
344+
PROCESS: [How you analyze the input]
345+
OUTPUT: [Specific format of concise results - aim for 10-20% of input size]
346+
347+
FOCUS AREAS:
348+
- [Specific concern 1]
349+
- [Specific concern 2]
350+
- [Specific concern 3]
351+
352+
COMMUNICATION STYLE:
353+
- Lead with actionable findings
354+
- Prioritize critical issues
355+
- Provide specific file/line references
356+
- Suggest concrete next steps
357+
358+
tools:
359+
- name: "Read"
360+
- name: "Grep"
361+
context_files:
362+
- "relevant-project-files.md"
363+
```
364+
365+
## Agent Anti-Patterns
366+
367+
**❌ Avoid These Common Mistakes:**
368+
369+
### The Verbose Responder
370+
- **Problem**: Agents that return as much information as they process
371+
- **Solution**: Always summarize and prioritize findings
372+
373+
### The Generalist Agent
374+
- **Problem**: Agents that try to handle multiple unrelated domains
375+
- **Solution**: Create focused, single-purpose agents
376+
377+
### The Anthropomorphized Assistant
378+
- **Problem**: Agents with personality or conversational behavior
379+
- **Solution**: Focus on processing patterns and consistent output formats
380+
381+
### The Inconsistent Agent Communication
382+
- **Problem**: Mixing "agent" and "subagent" terminology without clear distinction
383+
- **Solution**: Use "agent" consistently, specify "specialized agent" when needed for clarity
384+
385+
### The Simple Task Handler
386+
- **Problem**: Using agents for tasks that don't need context reduction
387+
- **Solution**: Use agents only when processing complexity exceeds output complexity
388+
389+
### The Inter-Agent Communicator
390+
- **Problem**: Agents designed to work with other agents
391+
- **Solution**: Design independent agents with clear handoff points
392+
328393
## Agent Management Best Practices
329394
330-
### 1. **Scope Limitation** 🎯
331-
- Give agents specific, well-defined responsibilities
332-
- Limit tool access to what each agent actually needs
333-
- Avoid creating "do everything" agents
395+
### 1. **Single Purpose Design** 🎯
396+
- Give agents one clear, specific responsibility
397+
- Limit tool access to exactly what each agent needs
398+
- Ensure agents can operate independently
334399
335-
### 2. **Context Optimization** 📋
400+
### 2. **Context Reduction Focus** 📋
401+
- Train agents to process large inputs and return focused outputs
336402
- Include relevant documentation in context_files
337-
- Keep agent instructions focused and actionable
338-
- Update context as project evolves
403+
- Measure success by output conciseness and actionability
339404
340-
### 3. **Quality Validation** ✅
405+
### 3. **Output Standardization** ✅
406+
- Define clear output formats for consistent results
341407
- Test agents with real scenarios before team adoption
342-
- Validate outputs match expected quality standards
343-
- Iterate on instructions based on actual usage
408+
- Validate that outputs are actionable, not just informative
344409
345410
### 4. **Team Coordination** 🤝
346411
- Share successful agent configurations with team
347412
- Establish naming conventions for agent organization
348-
- Document agent capabilities and use cases
413+
- Document specific use cases and expected outcomes
349414
350415
### 5. **Evolution Management** 🔄
351416
- Version control agent configurations
352417
- Update agents as project patterns change
353-
- Retire or merge agents that become redundant
418+
- Retire agents that don't provide sufficient value over simple tasks
354419
355420
## Integration with Command System
356421
@@ -385,4 +450,11 @@ Agents work seamlessly with command workflows:
385450
- `database-perf`: Query optimization and indexing specialist
386451
- `infrastructure-perf`: Scaling and resource optimization expert
387452

388-
This agent ecosystem transforms development from individual effort into orchestrated specialist collaboration, delivering higher quality results while maintaining development velocity.
453+
This agent ecosystem transforms development from individual effort into orchestrated specialist collaboration, delivering higher quality results while maintaining development velocity.
454+
455+
## Quick Setup Resources
456+
457+
Accelerate your agent development:
458+
459+
- **[Claude Code Templates](https://github.com/davila7/claude-code-templates)** - Pre-configured agents for frontend, backend, testing, and specialized domains
460+
- **[CCPM](/resources/tools#ccpm---claude-code-project-management)** - Parallel agent execution system for complex multi-agent workflows

0 commit comments

Comments
 (0)