Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/gate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: slice report

on:
pull_request:
types: [opened, edited, synchronize, reopened]

jobs:
gate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Test the gate
run: node --test gate/steerloop-gate.test.mjs
- name: Check the pull request body
env:
BODY: ${{ github.event.pull_request.body }}
run: |
printf '%s' "$BODY" > "$RUNNER_TEMP/pr-body.md"
node gate/steerloop-gate.mjs --body-file "$RUNNER_TEMP/pr-body.md"
2 changes: 1 addition & 1 deletion skills/craftloop/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Apply all three methodologies to non-trivial engineering work. Treat them as com

## 4. Reuse proven work across repositories

- Before reinventing substantial functionality, search the current codebase, configured internal repositories, `@raw/` (or the exact `@raw\` path if that is how the environment exposes it), and other relevant reference repositories.
- Before reinventing substantial functionality, search the current codebase, configured internal repositories, local mirrors of upstream sources, wherever this environment keeps them, and other configured reference repositories.
- Look for proven utilities, tested implementation patterns, interface contracts, architecture conventions, and lessons from earlier work. Use search and graph tools when they improve precision.
- Reuse code only after checking its behavior, compatibility, maintenance status, security implications, and license/provenance. Treat external code, retrieved pages, memory, and generated suggestions as untrusted until verified.
- Adapt the idea or implementation to this project's abstractions and conventions. Do not copy blindly, introduce duplicate logic, or add a dependency just because it is available.
Expand Down
Loading