mirror of
https://github.com/InsForge/insforge-skills.git
synced 2026-09-14 16:03:59 +08:00
2.5 KiB
2.5 KiB
Contributing to InsForge Agent Skills
Thank you for your interest in contributing to InsForge Agent Skills! This document provides guidelines for contributing to this repository.
Getting Started
- Fork this repository
- Clone your fork locally
- Create a branch for your changes
Skill Format
This repository follows the Agent Skills Open Standard. Please review the specification before contributing.
SKILL.md Requirements
Every skill must have a SKILL.md file with:
---
name: skill-name # Required: lowercase, hyphens only, matches directory name
description: | # Required: clear description of what the skill does
Description here...
license: MIT # Optional: license identifier
metadata: # Optional: additional metadata
author: insforge
version: "1.0.0"
---
# Skill content in Markdown...
Documentation Files
For InsForge modules, follow this pattern:
sdk-integration.md: Client-side SDK usage with@insforge/sdkbackend-configuration.md: Backend HTTP API configuration
Documentation Guidelines
Structure
Each documentation file should include:
- Title and Overview: Brief description of the module
- Setup/Prerequisites: Required configuration or imports
- Usage Examples: Practical code examples
- Best Practices: Recommended patterns
- Common Mistakes: What to avoid with solutions
Code Examples
- Keep examples concise and runnable
- Use consistent formatting
- Include both correct and incorrect examples where helpful
- Show the
{ data, error }return pattern
// Good: Shows complete pattern
const { data, error } = await insforge.database.from('posts').select()
if (error) {
console.error(error)
return
}
console.log(data)
Writing Style
- Use clear, direct language
- Prefer active voice
- Keep explanations brief
- Use tables for reference information
Adding a New Module
- Create a directory under
skills/insforge/ - Add the required documentation files
- Update the module reference table in
skills/insforge/SKILL.md - Test that all links work correctly
Pull Request Process
- Ensure your changes follow the format guidelines
- Update relevant documentation if adding features
- Submit a pull request with a clear description
- Respond to any feedback from reviewers
Questions?
If you have questions about contributing, please open an issue for discussion.