This guide will help you understand how to add new rules to the AI Stack Directory.
Start by forking the repository to your GitHub account. This creates a copy of the repository that you can modify.
View Repository on GitHubIf you want to submit a new rule that does not already exist in the Directory, follow these steps:
Rules are stored in the rules/ directory as JSON files.
Create a new JSON file in the rules/ directory with a descriptive name (e.g., typescript-senior-developer.json).
Use the following JSON structure:
{
"title": "Your Rule Title",
"category": "TypeScript",
"tags": ["typescript", "react", "nextjs"],
"content": "Your rule content here...",
"is_official": false,
"is_popular": false,
"author": {
"name": "Your Name or GitHub Username",
"url": "https://github.com/yourusername",
"avatar": "https://github.com/yourusername.png"
}
}After adding your rule: