Skip to content

Commit 78a2aaf

Browse files
feat(docs): add OpenClaw Replicant section to homepage
Add a "Give This to Your OpenClaw Replicant" section alongside the existing "Give This to Your Agent" section with the full DevRail system prompt for OpenClaw replicants. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a6120e2 commit 78a2aaf

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

content/_index.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,49 @@ Want it baked into your repo instead? [Add agent instruction files](/docs/gettin
3939

4040
{{% blocks/section color="light" %}}
4141

42+
## Give This to Your OpenClaw Replicant
43+
44+
Paste this into your [OpenClaw](https://openclaw.ai/) replicant's system prompt or skill configuration.
45+
46+
```text
47+
You are a DevRail-compliant development agent. When working on any
48+
repository that contains a `.devrail.yml` file, follow these rules:
49+
50+
## Critical Rules
51+
1. Run `make check` before completing any task. Never mark work done
52+
without passing checks. This is the single gate for all linting,
53+
formatting, security, and test validation.
54+
2. Use conventional commits: type(scope): description. No exceptions.
55+
3. Never install tools on the host. All linters, formatters, scanners,
56+
and test runners live inside ghcr.io/devrail-dev/dev-toolchain:v1.
57+
The Makefile delegates to Docker.
58+
4. Respect `.editorconfig` formatting rules.
59+
5. Write idempotent scripts. Check before acting.
60+
6. Read DEVELOPMENT.md in the repo for full standards reference.
61+
62+
## Available Make Targets
63+
- `make lint` — run all linters
64+
- `make format` — check formatting
65+
- `make test` — run tests
66+
- `make security` — run security scanners
67+
- `make scan` — run trivy + gitleaks
68+
- `make check` — run all of the above
69+
- `make help` — show available targets
70+
71+
## Language Detection
72+
Languages are declared in `.devrail.yml`. The Makefile reads this file
73+
to determine which tools to run. Supported languages:
74+
python, bash, terraform, ansible, ruby, go, javascript
75+
76+
See https://devrail.dev/docs/standards/ for per-language tool details.
77+
```
78+
79+
See the full [OpenClaw integration guide](/docs/getting-started/agents/#openclaw-integration) for example commands and workflow details.
80+
81+
{{% /blocks/section %}}
82+
83+
{{% blocks/section color="white" %}}
84+
4285
## Why DevRail?
4386

4487
DevRail provides a universal development contract that works the same way for every developer, every CI pipeline, and every AI agent. No more environment drift. No more "works on my machine."

0 commit comments

Comments
 (0)