You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add AGENTS.md for AI agent instructions and project overview
- Introduce AGENTS.md as a comprehensive guide for AI coding agents working on RedisInsight.
- Include project overview, setup commands, testing instructions, and development standards.
- Outline boundaries for development practices, emphasizing code quality and testing protocols.
- Update .ai/README.md and GitHub Copilot instructions to reference AGENTS.md for essential commands and guidelines.
This directory contains the **single source of truth** for AI-assisted development rules and workflows in RedisInsight. These rules are used by multiple AI coding assistants:
3
+
This directory contains the **single source of truth** for AI-assisted development rules and workflows in RedisInsight.
4
+
5
+
## Overview
6
+
7
+
This repository uses a centralized approach to AI development rules:
8
+
9
+
-**`AGENTS.md`** (at repository root) - Entry point for AI agents with essential commands, testing instructions, and quick reference
10
+
-**`.ai/rules/`** - Detailed development standards organized by topic
11
+
-**`.ai/commands/`** - AI workflow commands and templates
12
+
13
+
These rules are used by multiple AI coding assistants:
4
14
5
15
-**Cursor** (via symlinks: `.cursor/rules/` and `.cursor/commands/`)
└── commands/ -> ../.ai/commands/ # Cursor AI (commands)
43
+
.augment/ -> .ai/ # Augment AI
44
+
.windsurfrules -> .ai/ # Windsurf AI
45
+
.github/copilot-instructions.md # GitHub Copilot
46
+
```
47
+
48
+
## For AI Agents
49
+
50
+
**Start here**: Read `AGENTS.md` at the repository root for:
51
+
52
+
- Setup and build commands
53
+
- Code quality standards
54
+
- Testing instructions
55
+
- Git workflow guidelines
56
+
- Boundaries and best practices
57
+
58
+
**Then refer to**: `.ai/rules/` for detailed guidelines on specific topics.
59
+
60
+
## For Human Developers
61
+
62
+
This directory contains comprehensive development standards that are automatically used by AI coding assistants. The rules are organized into modular files for easy maintenance:
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
# GitHub Copilot Instructions for RedisInsight
2
2
3
-
> **📚 All development rules and guidelines are in the `.ai/` directory**
3
+
> **🎯 Start here: Read `AGENTS.md` at the repository root for essential commands, testing instructions, and quick reference**
4
4
5
-
This project uses a centralized AI rules structure. All detailed guidelines, standards, and workflows are maintained in the `.ai/` directory as the single source of truth.
5
+
This project uses a centralized AI rules structure:
6
+
7
+
-**`AGENTS.md`** (repository root) - Entry point with commands, testing, and boundaries
8
+
-**`.ai/rules/`** - Detailed development standards organized by topic
9
+
-**`.ai/commands/`** - AI workflow commands and templates
6
10
7
11
## 📂 Rules Structure
8
12
9
13
### Core Development Rules
10
14
11
15
-**Code Quality**: `.ai/rules/code-quality.md`
12
16
13
-
- ESLint configuration (Airbnb base)
14
-
- Prettier formatting standards
15
17
- TypeScript best practices
16
18
- Import organization
17
19
- SonarJS complexity rules
@@ -56,8 +58,9 @@ This project uses a centralized AI rules structure. All detailed guidelines, sta
-**PR Review**: `.ai/commands/pull-request-review.md` - Review pull requests and provide feedback
61
64
62
65
## 🎯 Project Overview
63
66
@@ -76,8 +79,9 @@ This project uses a centralized AI rules structure. All detailed guidelines, sta
76
79
77
80
## 📖 Additional Documentation
78
81
79
-
For a comprehensive introduction and quick reference, see: `.ai/README.md`
82
+
-**For AI agents**: Start with `AGENTS.md` at repository root
83
+
-**For human developers**: See `.ai/README.md` for setup and overview
80
84
81
85
---
82
86
83
-
**Note**: This is a minimal reference file. GitHub Copilot cannot read the referenced files directly, but developers can access the full guidelines in the `.ai/` directory. Other AI tools (Cursor, Augment, Windsurf) access these rules via symlinks.
87
+
**Note**: This is a minimal reference file. GitHub Copilot cannot read the referenced files directly, but developers can access the full guidelines. Other AI tools (Cursor, Augment, Windsurf) access these rules via symlinks and can read `AGENTS.md` directly.
0 commit comments