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
* fix: update husky hooks for v9 compatibility and install missing commitlint
* fix: convert commitlint config to ES module syntax for type: module compatibility
* fix: remove prettier from CI and lint-staged, use eslint only for formatting
* fix: remove duplicate @types/node dependency
* docs: reorganize documentation into docs/ directory with CAPITAL file naming
* chore: add image
* chore: update rule
* chore: move changelog back
* feat: add release-please configuration with prerelease support
- Configure release-please for Node.js prerelease management
- Add release-please manifest and repo metadata files
- Update CI workflow to handle prerelease branches (main/develop)
- Create release workflow for automatic publishing
- Remove semantic-release dependencies and scripts
- Set up beta releases from develop branch
Copy file name to clipboardExpand all lines: .cursor/rules/coding-guidelines.mdc
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,4 +17,5 @@ DIRECTIVES:
17
17
- Classes should be small
18
18
- functions, classes, methods should have TSDoc with example usage
19
19
- top-level directories represent core features, and should each have a README.md that describes the feature and its purpose.
20
-
- Never use .js extensions in import statements
20
+
- Never use .js extensions in import statements
21
+
- Always use package init commands rather than writing configs manually (e.g., use `npx eslint --init` or `pnpm exec husky init` instead of creating config files directly)
Superagents is a CLI tool and a set of standards for agent building.
4
6
5
-
It supercharges your coding assistant (Claude Code, Cursor, etc), making it an expert in any agent framework you choose (Agno, Mastra, etc) and all their best practices, being able to autodiscover MCP tools to augment your agent.
6
-
7
-
The Superagent Structure and AGENTS.md ensures industry best practices, making your agent ready for production:
8
-
-[Scenario](https://github.com/langwatch/scenario) agent tests written for every feature to ensure agent behaviour
9
-
- Versioning of the prompts for collaboration
10
-
- Evaluation notebooks for measuring specific prompts performance
11
-
- Already instrumented for full observability
12
-
- Standardization of structure for better project maintainability
13
-
14
-
15
-
### The Superagent Structure
16
-
17
-
```
18
-
my-agent-project/
19
-
├── app/ (or src/) # The actual agent code, structured according to the chosen framework
20
-
├── tests/
21
-
│ ├── evaluations/ # Jupyter notebooks for evaluations
22
-
│ │ └── example_eval.ipynb
23
-
│ └── scenarios/ # End-to-end scenario tests
24
-
│ └── example_scenario.test.{py,ts}
25
-
├── prompts/ # Versioned prompt files for team collaboration
26
-
│ └── sample_prompt.yaml
27
-
├── prompts.json # Prompt registry
28
-
├── .mcp.json # MCP server configuration
29
-
├── AGENTS.md # Development guidelines
30
-
├── .env # Environment variables
31
-
└── .gitignore
32
-
```
33
-
34
-
The structure and guidelines on `AGENTS.md` ensure every new feature required for the coding assistant is properly tested, evaluated, and that the prompts are versioned.
35
-
36
-
The `.mcp.json` comes with all the right MCPs set up so you coding assistant becomes an expert in your framework of choice and know where to find new tools.
7
+
It supercharges your coding assistant (Claude Code, Cursor, Kilocode, etc), making it an expert in any agent framework you choose (Agno, Mastra, etc) and all their best practices, being able to autodiscover MCP tools to augment your agent.
37
8
38
-
[`scenarios/`](https://github.com/langwatch/scenario) tests guarantee the agent behaves as expected, which simulates a conversation with the agent making sure it does what expected.
39
-
40
-
`evaluations/` notebooks holds dataset and notebooks for evaluating pieces of your agent pipeline such as a RAG or classification tasks it must do
41
-
42
-
Finally, `prompts/` hold all your versioned prompts in yaml format, synced and controlled by `prompts.json`, to allow for playground and team collaboration.
9
+
The Superagent Structure ensures industry best practices, making your agent ready for production with proper testing, observability, and prompt management.
-**Agno**: Automatically downloads `.cursorrules` and `llms.txt`
99
-
-**Mastra**: Configures Mastra MCP for real-time documentation
100
-
101
-
### 🧪 LangWatch Integration
102
-
103
-
-**Prompt CLI**: Manage versioned prompts
104
-
-**Scenario Testing**: End-to-end agent testing
105
-
-**Evaluations**: Measure component performance
106
-
-**MCP Server**: Expert guidance built into your coding assistant
107
-
108
-
### 🔧 MCP Tool Integration
109
-
110
-
-**Smithery Toolbox** (optional): When you provide a Smithery API key during setup, your coding agent gets automatic access to MCP tools for enhanced capabilities
111
-
- Auto-configured in `.mcp.json` for seamless integration
112
-
- Your coding assistant can discover and use tools to help build your agent
113
-
114
-
### 🤖 Coding Assistant Setup
115
-
116
-
Your coding assistant (e.g., Claude Code, Cursor, Kilocode CLI) is:
117
-
-**Automatically launched** after project setup with initial prompt
118
-
- Pre-configured with framework-specific knowledge (via MCP or docs)
119
-
- Loaded with LangWatch best practices
120
-
- Equipped with prompt management expertise
121
-
- Set up with testing methodologies
122
-
- Auto-detected - the CLI shows which assistants are installed on your system
46
+
The CLI will guide you through selecting your programming language, agent framework, coding assistant, LLM provider, and API keys.
123
47
124
48
## Requirements
125
49
@@ -134,53 +58,6 @@ Your coding assistant (e.g., Claude Code, Cursor, Kilocode CLI) is:
134
58
- LangWatch API key (get one at https://app.langwatch.ai/authorize)
135
59
- Smithery API key (optional - for MCP tool auto-discovery, get one at https://smithery.ai/account/api-keys)
# Select: Python, Agno, your preferred coding assistant, OpenAI
161
-
# Goal: "Build an agent that can analyze stock prices and provide trading recommendations"
162
-
```
163
-
164
-
### TypeScript + Mastra
165
-
166
-
```bash
167
-
superagents init customer-support
168
-
# Select: TypeScript, Mastra, your preferred coding assistant, OpenAI
169
-
# Goal: "Build a customer support agent that can handle common queries and escalate complex issues"
170
-
```
171
-
172
-
### Coding Assistant Auto-Launch
173
-
174
-
After project setup completes, Superagents **automatically launches** your chosen coding assistant with a customized initial prompt that includes:
175
-
- Your project goal
176
-
- Framework-specific context
177
-
- Best practices guidance
178
-
- Next steps to get started
179
-
180
-
The CLI detects which coding assistants are installed on your system and shows installed options first in the selection menu. Not installed assistants appear in gray with "(not installed)" but can still be selected.
181
-
182
-
You can also select **"None - I will prompt it myself"** if you prefer to manually launch your coding assistant later with the provided initial prompt.
183
-
184
61
## Resources
185
62
186
63
-[LangWatch](https://langwatch.ai)
@@ -193,11 +70,6 @@ You can also select **"None - I will prompt it myself"** if you prefer to manual
193
70
194
71
MIT
195
72
196
-
## Contributing
197
-
198
-
Contributions are welcome! Please open an issue or submit a pull request.
0 commit comments