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
RHIDP-13413: Bootstrap basic AGENTS.md for RHDH AI workspaces (#3230)
* RHIDP-13413: Bootstrap basic AGENTS.md for RHDH AI workspaces
Assisted-by: Claude Sonnet 4.6
Signed-off-by: John Collier <jcollier@redhat.com>
* Address PR review
Signed-off-by: John Collier <jcollier@redhat.com>
---------
Signed-off-by: John Collier <jcollier@redhat.com>
- Test single file: `yarn test -- path/to/test.ts`
9
+
- Lint: `yarn lint`
10
+
- Lint single file: `yarn lint --fix path/to/file.ts`
11
+
- Type check: `yarn tsc`
12
+
- Dev environment (no frontend): `yarn start-backend`
13
+
- Debug: `yarn dev:debug`
14
+
15
+
## Key Conventions
16
+
17
+
- MCP tools are stored in separate files (one tool per file)
18
+
- MCP tools are organized based on the Backstage component/plugin they are associated with (e.g. src/scaffolder for scaffolder tools)
19
+
- MCP actions should inherit the authentication/credentials passed into the tool by the MCP framework, rather than acquiring new credentials
20
+
- MCP action descriptions should be kept short
21
+
22
+
## Porting from Upstream
23
+
24
+
- Use https://github.com/redhat-ai-dev/rhdh-ai-skills/blob/main/skills/port-mcp-tool/SKILL.md when porting changes from upstream (github.com/backstage) to downstream (here)
25
+
26
+
## Architecture (only non-obvious parts)
27
+
28
+
- When running the workspace dev environment (), the `MCP_TOKEN` environment variable `MCP_TOKENS` must be set to an 8+ character value
29
+
- packages/ is strictly a frontend for dev environment and autogenerated. Do not put changes under there unless it is to add new plugins to the dev environment
30
+
31
+
## PR Conventions
32
+
33
+
- All commits must have an `Assisted-by: <model>` footer below the sign offs
34
+
- When porting upstream MCP PRs, link to the original branch in the PR text
0 commit comments