agent-creator
Agent Creator
This skill provides a structured process for designing and configuring specialized AI Agents.
When to Use
Use this skill when you need to:
- Create a New Agent: Define a purpose-built agent with specific expertise (e.g., "Make a Frontend Specialist Agent").
- Generate System Prompts: Create robust, effective system instructions for an agent.
- Assemble Capabilities: Select the right combination of Skills, Workflows, and Rules for a specific domain.
- Refine Agent Behavior: specialized tuning of an existing agent's operational guidelines.
Agent Architecture
An Agent in the Antigravity system is defined by a markdown file in .agent/agents/{name}.md containing:
1. Frontmatter (Metadata)
name: Kebab-case identifier (e.g.,backend-specialist).description: Short summary and trigger keywords.tools: List of tools the agent has access to (e.g.,Read, Write, Bash).model: The model usage strategy (usuallyinherit).skills: Comma-separated list of skills from.agent/skills/this agent needs.
2. Identity & Charter
- Role: Who the agent is.
- Philosophy: Core beliefs driving decisions.
- Mindset: Operational mode and priorities.
3. Critical Guidelines (The "Stop & Ask" Protocol)
- CRITICAL: CLARIFY BEFORE CODING: A mandatory section forcing the agent to ask clarifying questions before making assumptions about stack, runtime, or tools.
4. Decision Frameworks
- Tables and logic guides to help the agent make technical decisions (e.g., "Node vs Python", "SQL vs NoSQL").
5. Capabilities & specialized Lists
- Expertise Areas: Deep dive into specific techs.
- Quality Control Loop: Mandatory steps to run after every edit.
Workflow: Creating an Agent
Follow these steps to create a new Agent.
Step 1: Define the Goal
Ask the user for the Agent's primary purpose.
- Prompt: "What is the primary goal of this agent? What domain does it specialize in?"
Step 2: Select Capabilities (Skills)
Analyze the available Skills in .agent/skills/ to recommend the best set to include in the skills frontmatter.
- Example: A Backend Agent needs
nodejs-best-practices,database-design.
Step 3: Draft the Agent Definition
Use the Agent Template in assets/agent_template.md as the mandatory base.
- Frontmatter: Fill in name, tools, and required skills.
- Philosophy & Mindset: Define how the agent thinks, not just what it does.
- Critical Clarifications: Define what the agent MUST ask users before starting (e.g., "Which framework?", "Which DB?").
- Decision Frameworks: Populate tables with current best practices for the domain.
Step 4: Save the Artifact
Save the file to .agent/agents/{name}.md.
- Ensure the filename matches the
namein frontmatter.
Tools & Resources
Agent Template
Use assets/agent_template.md to structure the agent definition. Strictly follow this structure.
Best Practices for specialized Agents
- Opinionated Defaults: Agents should have strong opinions (Philosophy) but flexible execution (Clarification).
- Mandatory Checks: Include a "Quality Control Loop" that forces the agent to validate its own work (Lint, Test, Security).
- Anti-Patterns: Explicitly list what the agent should AVOID.
More from toilahuongg/shopify-agents-kit
shopify-polaris-icons
Guide for using Shopify Polaris Icons in Shopify Apps. Covers icon usage patterns, accessibility, tone variants, and common icon categories for commerce applications.
19email-template-design
Design and build professional HTML email templates with inline CSS for broad email client compatibility. Use this skill when the user asks to create, design, or build email templates, newsletters, transactional emails (order confirmations, receipts, shipping notifications, password resets), marketing emails, welcome series, onboarding emails, abandoned cart emails, drip campaigns, or any HTML email layout. Covers responsive design, dark mode support, and compatibility with Gmail, Outlook (desktop + web), Apple Mail, Yahoo, and mobile clients.
18shopify-extensions
Guide for building and managing Shopify Extensions (Admin, Checkout, Theme, Post-purchase, etc.) using the latest Shopify CLI and APIs.
14shopify-api
Comprehensive guide for Shopify APIs in Remix apps. Covers Admin GraphQL/REST, Storefront API, all resources (products, orders, customers, inventory, collections, discounts, fulfillments, metafields, files), bulk operations, webhooks, resource pickers, and TypeScript patterns. Use when querying/mutating Shopify data or building integrations.
14shopify-polaris-viz
Guide for creating data visualizations in Shopify Apps using the Polaris Viz library. Use this skill when building charts, graphs, dashboards, or any data visualization components that need to integrate with the Shopify Admin aesthetic. Covers BarChart, LineChart, DonutChart, SparkLineChart, and theming.
13code-investigator
Comprehensive code investigation and audit tool. Discovers all project features, then dispatches parallel subagents to analyze issues, risks, dead code, missing functionality, and redundancies. Produces a prioritized risk report. Use this skill when the user asks to "investigate code", "audit project", "find risks", "check code quality", "analyze codebase", "what's wrong with this code", "project health check", "code review entire project", "find dead code", "find redundant code", or any request for a thorough codebase analysis.
11