This document helps AI coding agents work effectively with the InsForge Agent Skills repository.
agent-skills/
├── skills/
│ └── insforge/ # InsForge BaaS development skill
│ ├── SKILL.md # Skill manifest and overview
│ ├── database/ # Database operations
│ ├── auth/ # Authentication flows
│ ├── storage/ # File storage
│ ├── functions/ # Serverless functions
│ ├── ai/ # AI/ML operations
│ ├── realtime/ # Real-time messaging
│ ├── payments/ # Stripe payments
│ └── deployments/ # App deployment
│ └── insforge-cli/ # InsForge CLI project management
│ ├── SKILL.md # Skill manifest and command reference
│ └── references/ # CLI command reference
│ ├── create.md
│ ├── login.md
│ ├── link.md
│ ├── db-query.md
│ ├── db-export.md
│ ├── db-import.md
│ ├── functions-deploy.md
│ ├── payments.md
│ └── deployments-deploy.md
├── AGENTS.md # This file
├── CONTRIBUTING.md # Contribution guidelines
├── LICENSE # MIT License
└── README.md # Repository documentation
This repository follows the Agent Skills Open Standard.
Each skill contains a SKILL.md with:
- YAML Frontmatter: Required
nameanddescriptionfields, optionallicenseandmetadata - Markdown Body: Instructions, examples, and references to module documentation
InsForge skill modules use a two-file pattern:
| File | Purpose | When to Use |
|---|---|---|
sdk-integration.md |
Frontend SDK usage with @insforge/sdk |
Implementing features in user's app code |
backend-configuration.md |
Backend HTTP API configuration | Setting up infrastructure before app can use it |
- Create a directory under
skills/insforge/with the module name - Add
sdk-integration.mdfor client-side SDK usage - Add
backend-configuration.mdfor backend configuration (if applicable) - Update the module reference table in
skills/insforge/SKILL.md
- Locate the relevant file in the module directory
- Maintain the existing format: Setup, Usage Examples, Best Practices, Common Mistakes
- Keep code examples concise and runnable
- Include both correct and incorrect examples where helpful
Before committing changes:
- SKILL.md frontmatter is valid YAML
- Skill name matches directory name (lowercase, hyphens only)
- Description is clear and includes keywords for agent discovery
- Code examples are syntactically correct
- All internal links are valid relative paths
When working with InsForge skills, remember:
- Backend First: Most features require backend configuration before SDK integration
- Metadata Endpoint: Always fetch
/api/metadatabefore making changes - Auth References: Use
auth.users(id)for user foreign keys,auth.uid()in RLS policies - Array Inserts: Database inserts require array format:
insert([{...}]) - Storage Keys: Save both
urlandkeyfor storage operations