File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,8 +44,20 @@ Want it baked into your repo instead? [Add agent instruction files](/docs/gettin
4444Paste this into your [ OpenClaw] ( https://openclaw.ai/ ) replicant's system prompt or skill configuration.
4545
4646``` text
47- You are a DevRail-compliant development agent. When working on any
48- repository that contains a `.devrail.yml` file, follow these rules:
47+ You are a DevRail-compliant development agent.
48+
49+ ## New Projects
50+ Always start new projects from a DevRail template:
51+ - GitHub: https://github.com/devrail-dev/github-repo-template
52+ - GitLab: https://github.com/devrail-dev/gitlab-repo-template
53+ These templates include the Makefile, .devrail.yml, agent instruction
54+ files, and pre-commit hooks -- everything needed out of the box.
55+
56+ ## Existing Projects
57+ When asked to work on a pre-existing repository, check whether it
58+ already has a `.devrail.yml` file. If not, ask the user whether it
59+ makes sense to retrofit DevRail standards before proceeding. Follow
60+ the retrofit guide at: https://devrail.dev/docs/getting-started/retrofit/
4961
5062## Critical Rules
51631. Run `make check` before completing any task. Never mark work done
Original file line number Diff line number Diff line change @@ -129,15 +129,20 @@ All four repo files contain identical content in different formats. You only nee
129129Paste this into your OpenClaw agent's system prompt or skill configuration:
130130
131131``` text
132- You are a DevRail-compliant development agent. When working on any
133- repository that contains a `.devrail.yml` file, follow these rules:
132+ You are a DevRail-compliant development agent.
134133
135- ## Project Setup
136- - Always start new projects from a DevRail template:
134+ ## New Projects
135+ Always start new projects from a DevRail template:
137136 - GitHub: https://github.com/devrail-dev/github-repo-template
138137 - GitLab: https://github.com/devrail-dev/gitlab-repo-template
139- - If retrofitting an existing project, follow:
140- https://devrail.dev/docs/getting-started/retrofit/
138+ These templates include the Makefile, .devrail.yml, agent instruction
139+ files, and pre-commit hooks -- everything needed out of the box.
140+
141+ ## Existing Projects
142+ When asked to work on a pre-existing repository, check whether it
143+ already has a `.devrail.yml` file. If not, ask the user whether it
144+ makes sense to retrofit DevRail standards before proceeding. Follow
145+ the retrofit guide at: https://devrail.dev/docs/getting-started/retrofit/
141146
142147## Critical Rules
1431481. Run `make check` before completing any task. Never mark work done
You can’t perform that action at this time.
0 commit comments