opencode-agent-kit
Version:
Multi-stack OpenCode agent toolkit โ 33+ specialized AI agents, 200+ skills, 46 commands, 8 MCP servers (Nuxt, React, Node.js, Laravel, CI3, Android, Flutter, DevOps, SEO, SonarQube, and more)
475 lines (362 loc) โข 9.9 kB
Markdown
# ๐ฆ Frontend Developer Agent - Installation Summary
## โ
Instalasi Berhasil!
Selamat! Anda telah berhasil menginstall **Frontend Developer Agent** yang lengkap dan profesional untuk OpenCode.
## ๐ Yang Telah Dibuat
### Struktur Directory
```
.opencode/
โโโ config.json # OpenCode agent configuration (779B)
โโโ agents/
โโโ frontend-developer.md # Agent definition - 773 lines (18K)
โโโ README.md # User guide - 505 lines (12K)
โโโ WORKFLOWS.md # 8 workflows - 758 lines (15K)
โโโ CHEATSHEET.md # Quick reference - 621 lines (11K)
โโโ QUICK_START.md # Quick start - 544 lines (11K)
โโโ SUMMARY.md # This file
```
### Total Statistics
- **Files Created**: 6 files
- **Total Lines**: 3,201 lines of documentation & configuration
- **Total Size**: ~67 KB of comprehensive guides
- **Time Investment**: Production-ready agent system
## ๐ฏ File Overview
### 1. **frontend-developer.md** (18KB - Core Agent)
**Isi:**
- Core identity & responsibilities
- Technical skills integration (10+ skills)
- Memory management system
- Working methodology & protocols
- Framework-specific expertise (Nuxt, Vue)
- Design & aesthetics philosophy
- Accessibility commitment (WCAG 2.1)
- Performance optimization strategies
- Quality checklist
**Kapan Baca:**
- Untuk memahami bagaimana agent bekerja internally
- Saat ingin customize agent behavior
- Reference untuk advanced usage
### 2. **README.md** (12KB - Complete Guide)
**Isi:**
- Cara menggunakan agent (2 methods)
- 10+ skills integration explanation
- 5 detailed usage examples
- Tips & best practices
- Troubleshooting guide
- Memory management
- Advanced usage patterns
- Team collaboration guide
**Kapan Baca:**
- **FIRST TIME** - Baca ini terlebih dahulu!
- Untuk memahami full capabilities
- Saat butuh troubleshooting
- Reference lengkap untuk daily use
### 3. **WORKFLOWS.md** (15KB - 8 Workflows)
**Isi:**
8 complete workflows dengan step-by-step:
1. โ
Membuat Component Library
2. โ
Performance Optimization
3. โ
Implementasi Design Figma
4. โ
Form dengan Validation
5. โ
Testing Integration
6. โ
Dark Mode Implementation
7. โ
Progressive Enhancement
8. โ
Analytics Integration
**Kapan Baca:**
- Saat mulai task baru yang complex
- Butuh guidance untuk specific scenario
- Ingin learn best practices workflows
- Template untuk common tasks
### 4. **CHEATSHEET.md** (11KB - Quick Reference)
**Isi:**
- Quick commands & patterns
- Component creation templates
- Styling & design shortcuts
- Performance quick wins
- Testing commands
- Accessibility audit steps
- Debugging helpers
- Emergency commands
- Pro tips
**Kapan Baca:**
- **KEEP OPEN** saat coding!
- Quick lookup untuk commands
- Refresh memory on patterns
- Emergency reference
### 5. **QUICK_START.md** (11KB - Getting Started)
**Isi:**
- 3-step quick start
- 5 example use cases
- Skills reference
- Configuration guide
- Best practices
- Common issues & solutions
- Quality checklist
- Learning path
- Next steps
**Kapan Baca:**
- **START HERE** jika baru pertama kali
- Quick onboarding guide
- Share dengan new team members
- When you need a refresher
### 6. **config.json** (779B - Configuration)
**Isi:**
```json
{
"agent": {
"frontend": {
"description": "Expert frontend developer",
"mode": "subagent",
"model": "claude-sonnet-4",
"temperature": 0.4,
"permissions": { ... }
}
}
}
```
**Customize:**
- Change `mode` to `"primary"` untuk default agent
- Adjust `temperature` untuk creativity level
- Modify `permissions` untuk control access
## ๐ Quick Start (3 Steps)
### 1๏ธโฃ Test Agent
```bash
@frontend-developer Hello! Analyze project structure ini.
```
### 2๏ธโฃ Try Example
```bash
@frontend-developer Buat Button component dengan:
- 5 variants (primary, secondary, success, error, ghost)
- 3 sizes (sm, md, lg)
- Loading state & icons
- Accessible (ARIA + keyboard)
- File: app/components/ui/Button.vue
```
### 3๏ธโฃ Read Documentation
- **First:** QUICK_START.md
- **Next:** README.md
- **Bookmark:** CHEATSHEET.md
## ๐ก Key Features
### โจ Skills Integration
Agent terintegrasi dengan **10+ professional skills**:
**Core Skills (Auto-loaded):**
- โ
coding-standards
- โ
frontend-patterns
- โ
impeccable
- โ
web-design-guidelines
**Contextual Skills (On-demand):**
- โ
nuxt-ui
- โ
vercel-composition-patterns
- โ
building-components
- โ
security-review
- โ
tdd-workflow
### ๐ง Memory Management
Agent menggunakan **progressive context building**:
- Tracks session context
- Remembers user preferences
- Maintains project patterns
- Builds deep understanding over time
- Smart context compaction
### ๐ฏ Quality Standards
Agent ensures:
- โ
TypeScript strict mode (no `any`)
- โ
Immutability (spread operators)
- โ
Accessibility (WCAG 2.1 AA)
- โ
Performance optimization
- โ
Error handling
- โ
Responsive design
- โ
SSR compatibility (Nuxt)
- โ
Clean, maintainable code
### ๐จ Framework Expertise
Supports:
- **Nuxt 4** (primary - current project)
- **Vue 3** Composition API
- TypeScript strict mode
- Modern CSS & Tailwind
## ๐ Recommended Learning Path
### Day 1: Getting Started
1. โ
Read QUICK_START.md (this takes 10 minutes)
2. โ
Test agent dengan simple request
3. โ
Try 2-3 examples dari QUICK_START
### Day 2: Deep Dive
1. โ
Read README.md completely
2. โ
Try workflow dari WORKFLOWS.md
3. โ
Bookmark CHEATSHEET.md
### Week 1: Integration
1. โ
Use agent untuk daily tasks
2. โ
Explore different workflows
3. โ
Customize agent untuk project needs
### Week 2: Mastery
1. โ
Read frontend-developer.md untuk understand internals
2. โ
Create custom workflows
3. โ
Share dengan team
## ๐ Example Use Cases
### 1. Build Component
```bash
@frontend-developer Buat MarketCard component untuk display market data
```
### 2. Optimize Performance
```bash
@frontend-developer Dashboard lambat dengan 500+ items, optimize please
```
### 3. Implement Design
```bash
@frontend-developer Implement hero section dengan aesthetic futuristic
[attach design screenshot]
```
### 4. Add Accessibility
```bash
@frontend-developer Audit Modal.vue untuk accessibility issues
```
### 5. Review Code
```bash
@frontend-developer Review CreateMarketForm.vue untuk best practices
```
## โ๏ธ Customization Options
### Change Agent Mode
Edit `.opencode/config.json`:
```json
{
"agent": {
"frontend": {
"mode": "primary" // Change to primary agent
}
}
}
```
### Adjust Temperature
```json
{
"agent": {
"frontend": {
"temperature": 0.2 // More focused (0.0-0.5)
// or
"temperature": 0.7 // More creative (0.6-1.0)
}
}
}
```
### Modify Permissions
```json
{
"agent": {
"frontend": {
"permission": {
"edit": "ask", // Ask before editing
"bash": {
"*": "deny", // Deny all bash
"npm *": "allow" // Allow npm only
}
}
}
}
}
```
## ๐ง Maintenance
### Update Agent
1. Edit `.opencode/agents/frontend-developer.md`
2. Modify sections as needed
3. Save file
4. Changes active on next session
### Version Control
```bash
# Track changes
git add .opencode/
git commit -m "feat: add frontend developer agent"
git push
# Team members can now use the same agent!
```
### Share with Team
```bash
# All files are in version control
# Team members just need to:
git pull
opencode
@frontend-developer ...
```
## ๐ Get Help
### Documentation
- **Quick Start:** QUICK_START.md
- **Full Guide:** README.md
- **Workflows:** WORKFLOWS.md
- **Reference:** CHEATSHEET.md
- **Internals:** frontend-developer.md
### Ask Agent
```bash
@frontend-developer How do I [question]?
@frontend-developer Explain [concept]
@frontend-developer Help me with [task]
```
### Community
- OpenCode Discord: https://opencode.ai/discord
- OpenCode Docs: https://opencode.ai/docs
- GitHub: https://github.com/anomalyco/opencode
## โ
Verification Checklist
Pastikan semuanya berfungsi:
- [ ] Agent file exists: `.opencode/agents/frontend-developer.md`
- [ ] Config exists: `.opencode/config.json`
- [ ] Can invoke agent: `@frontend-developer test`
- [ ] Skills accessible: `~/.opencode/skills/`
- [ ] Documentation readable
- [ ] Examples work
Test command:
```bash
@frontend-developer Analyze this project dan suggest next steps
```
## ๐ You're All Set!
Anda sekarang memiliki:
โ
**Fully configured** Frontend Developer Agent
โ
**10+ integrated skills** untuk berbagai tasks
โ
**3,201 lines** of professional documentation
โ
**8 detailed workflows** untuk common scenarios
โ
**Comprehensive guides** untuk quick reference
โ
**Memory management** untuk smart assistance
โ
**Quality standards** enforcement
โ
**Framework expertise** (Nuxt, Vue)
## ๐ Next Actions
### Immediate (Now)
```bash
@frontend-developer Hello! Let's start building.
```
### Today
- [ ] Read QUICK_START.md
- [ ] Try 2-3 example commands
- [ ] Bookmark CHEATSHEET.md
### This Week
- [ ] Read README.md
- [ ] Try a workflow dari WORKFLOWS.md
- [ ] Integrate ke daily workflow
- [ ] Share dengan team
## ๐ช Happy Coding!
Your Frontend Developer Agent is ready to help you build:
โจ **Beautiful** components
โก **Performant** applications
๐จ **Stunning** designs
โฟ **Accessible** interfaces
๐ **Secure** code
๐งช **Well-tested** features
**Start building amazing things!** ๐
```bash
@frontend-developer Let's create something extraordinary! โจ
```
**Frontend Developer Agent v1.0.0**
*Created with โค๏ธ for exceptional development experience*
*April 2026*