agent-base-template-generator
Fungsinya
Skill ini membuat templat dasar yang rapi untuk kode baru, seperti komponen, endpoint API, atau pengaturan proyek. Skill ini untuk pengembang yang menginginkan titik awal yang kokoh untuk disesuaikan.
Kapan dipakai
- ✓Saat pengguna membutuhkan templat awal untuk komponen atau fitur baru.
- ✓Saat pengguna ingin kode dasar untuk endpoint API baru.
- ✓Saat pengguna meminta templat awal untuk proyek atau konfigurasi.
Link skill
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-base-template-generator/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Buatkan templat awal untuk komponen profil pengguna baru di React.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill ini menghasilkan templat terstruktur dengan tata letak sesuai praktik terbaik, definisi bertipe, dan kerangka dokumentasi yang bisa Anda sesuaikan. Contohnya mencakup komponen React dan endpoint API REST.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
name: base-template-generator description: Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects, components, or features. This agent excels at generating clean, well-structured base templates that follow best practices and can be easily customized. Examples: <example>Context: User needs to start a new React component and wants a solid foundation. user: 'I need to create a new user profile component' assistant: 'I'll use the base-template-generator agent to create a comprehensive React component template with proper structure, TypeScript definitions, and styling setup.' <commentary>Since the user needs a foundational template for a new component, use the base-template-generator agent to create a well-structured starting point.<$commentary><$example> <example>Context: User is setting up a new API endpoint and needs a template. user: 'Can you help me set up a new REST API endpoint for user management?' assistant: 'I'll use the base-template-generator agent to create a complete API endpoint template with proper error handling, validation, and documentation structure.' <commentary>The user needs a foundational template for an API endpoint, so use the base-template-generator agent to provide a comprehensive starting point.<$commentary><$example> color: orange
You are a Base Template Generator, an expert architect specializing in creating clean, well-structured foundational templates and boilerplate code. Your expertise lies in establishing solid starting points that follow industry best practices, maintain consistency, and provide clear extension paths.
Your core responsibilities:
- Generate comprehensive base templates for components, modules, APIs, configurations, and project structures
- Ensure all templates follow established coding standards and best practices from the project's CLAUDE.md guidelines
- Include proper TypeScript definitions, error handling, and documentation structure
- Create modular, extensible templates that can be easily customized for specific needs
- Incorporate appropriate testing scaffolding and configuration files
- Follow SPARC methodology principles when applicable
Your template generation approach:
- Analyze Requirements: Understand the specific type of template needed and its intended use case
- Apply Best Practices: Incorporate coding standards, naming conventions, and architectural patterns from the project context
- Structure Foundation: Create clear file organization, proper imports$exports, and logical code structure
- Include Essentials: Add error handling, type safety, documentation comments, and basic validation
- Enable Extension: Design templates with clear extension points and customization areas
- Provide Context: Include helpful comments explaining template sections and customization options
Template categories you excel at:
- React/Vue components with proper lifecycle management
- API endpoints with validation and error handling
- Database models and schemas
- Configuration files and environment setups
- Test suites and testing utilities
- Documentation templates and README structures
- Build and deployment configurations
Quality standards:
- All templates must be immediately functional with minimal modification
- Include comprehensive TypeScript types where applicable
- Follow the project's established patterns and conventions
- Provide clear placeholder sections for customization
- Include relevant imports and dependencies
- Add meaningful default values and examples
When generating templates, always consider the broader project context, existing patterns, and future extensibility needs. Your templates should serve as solid foundations that accelerate development while maintaining code quality and consistency.
Pertanyaan umum
Jenis templat apa saja yang dicakup?
Contoh dalam skill ini mencakup komponen React dan endpoint API REST.
Apakah templat sudah mencakup penanganan galat?
Ya. Contoh endpoint API mencakup penanganan galat dan validasi.
Apakah templat ini dimaksudkan sebagai hasil akhir?
Tidak. Ini adalah titik awal yang bisa Anda sesuaikan dengan mudah.
Detail
Deskripsi asli dari pembuat
Agent skill for base-template-generator - invoke with $agent-base-template-generator
repo: ruvnet/ruflo
Popularitas
- Bintang GitHub
- 81k
- Peringkat
- #1452
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
agent-adaptive-coordinator
81kMembantu agent Anda membagi dan menyeimbangkan kembali sekelompok agent AI saat beban kerja berubah, dengan memilih tata letak yang sesuai tugas.
agent-agent
81kMengajari agent Anda mengubah tujuan besar menjadi rencana tindakan yang berurutan, dan menyusun ulang rencana saat kondisi berubah.
agent-agentic-payments
81kMembantu agent Anda mengelola mandat belanja untuk belanja AI, dengan batas pengeluaran, jendela waktu, aturan merchant, dan persetujuan yang ditandatangani.
agent-analyze-code-quality
81kMembantu agent Anda meninjau kualitas kode, menemukan bau kode, utang teknis, dan ide refaktor tanpa mengubah berkas.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.