forked from bchanot/claude
feat(generators): onboarder and scaffolder emit docker/testing/ci path rules from templates/project-rules
This commit is contained in:
1 parent
041e04b1d6
commit
dbd20dd575
7 files changed
+86
No files matched your search
@@ -2,6 +2,7 @@
|
||||
|
||||
# Generated by /init-project or /onboard. Single source of truth for Claude in this repo.
|
||||
# Global rules: ~/.claude/CLAUDE.md — this file extends or overrides them.
|
||||
# Path-scoped rules: .claude/rules/<name>.md (paths: frontmatter), loaded on Read of a matching file.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
paths: [".github/workflows/**", ".gitlab-ci.yml", ".circleci/**"]
|
||||
---
|
||||
|
||||
# CI
|
||||
|
||||
<!-- Generated by /init-project or /onboard: loads on Read of a pipeline file. -->
|
||||
<!-- TODO(/onboard STEP 3): jobs — lint, test, build, deploy; which run on PR vs main; required checks. -->
|
||||
<!-- TODO(/onboard STEP 3): secrets — names only (never values), where they are set. -->
|
||||
<!-- TODO(/onboard STEP 3): runtime versions pinned here must match the Stack section of CLAUDE.md. -->
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
paths: ["Dockerfile*", "docker-compose*", "compose*.y*ml", ".dockerignore"]
|
||||
---
|
||||
|
||||
# Docker
|
||||
|
||||
<!-- Generated by /init-project or /onboard: loads on Read of a Docker file. -->
|
||||
<!-- TODO(/onboard STEP 3): image — base image + version; multi-stage? what the final stage holds. -->
|
||||
<!-- TODO(/onboard STEP 3): compose — services, volumes, ports, the env file it reads (.env, never a secret in the image). -->
|
||||
<!-- TODO(/onboard STEP 3): commands — docker compose up --build / down -v, where they differ from the native run. -->
|
||||
@@ -0,0 +1,10 @@
|
||||
---
|
||||
paths: ["tests/**", "test/**", "**/*.test.*", "**/*.spec.*", "**/conftest.py"]
|
||||
---
|
||||
|
||||
# Testing conventions
|
||||
|
||||
<!-- Generated by /init-project or /onboard: loads on Read of a test file. -->
|
||||
<!-- TODO(/onboard STEP 3): layout — where tests live, one file per module? naming (test_x.py / x.test.ts). -->
|
||||
<!-- TODO(/onboard STEP 3): fixtures and factories — shared setup, what is mocked, what hits a real service. -->
|
||||
<!-- TODO(/onboard STEP 3): rules — a bug fix ships its regression test; no sleep-based waits; coverage target if any. -->
|
||||
Reference in new issue
Block a user