projx / scripts
CLAUDE.md71 starsChanged 4 months agoMITView on GitHub
Stack-scoped notes. The root ../CLAUDE.md carries cross-cutting standards — read both, they compose. This dir holds the projx repo's own CI/dev scripts. Some setup scripts are also copied into scaffolded projects (root §layout: "Static scripts copied into scaffolded projects") — keep those project-agnostic. No package manifest; these are plain bash + one python3.
In this repository15 other files it gives its agents.
- admin-panel/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- cli/CLAUDE.mdCLAUDE.md
- e2e/CLAUDE.mdCLAUDE.md
- express/CLAUDE.mdCLAUDE.md
- fastapi/CLAUDE.mdCLAUDE.md
- fastify/CLAUDE.mdCLAUDE.md
- go/CLAUDE.mdCLAUDE.md
- infra/CLAUDE.mdCLAUDE.md
- laravel/CLAUDE.mdCLAUDE.md
- mobile/CLAUDE.mdCLAUDE.md
- nextjs/CLAUDE.mdCLAUDE.md
- rust/CLAUDE.mdCLAUDE.md
- vitejs/CLAUDE.mdCLAUDE.md
- projxSkill
The file
Files
scripts — projx repo CI / dev tooling
Stack-scoped notes. The root
../CLAUDE.mdcarries cross-cutting standards — read both, they compose.This dir holds the projx repo's own CI/dev scripts. Some setup scripts are also copied into scaffolded projects (root §layout: "Static scripts copied into scaffolded projects") — keep those project-agnostic. No package manifest; these are plain
bash+ onepython3.
What's here
| Script | Purpose |
projx-dirs.sh | Shared, bash 3.2-safe resolver (projx_dirs_of_type, projx_first_dir_of_type, projx_has_type, projx_primary_*). Maps a component type → its actual directory(ies) by scanning */.projx-component markers, falling back to conventional names when none exist. Sourced by ci-local.sh, both setup-ssl.sh, and validate-nginx-config.sh so --name'd / multi-instance components are never silently skipped. Copied into scaffolds. |
ci-local.sh | Run every CI gate locally, in parallel. Sections auto-detected from .projx-component markers via projx-dirs.sh (so renamed / multi-instance components are found), iterating all instances of each type. Args: none (all), changed (only sections touched vs origin/main + working tree), or named sections. Knobs: E2E_SKIP_REAL, E2E_BACKEND_PORT, E2E_HEALTH_PATH, LOGS_DIR. |
ci-scaffold-matrix.sh | Scaffold-matrix smoke — scaffolds combinations and checks they build |
ci-runner-gc.sh | CI runner disk/cache GC |
check-bundle-size.sh + check-bundle-size.test.sh | Frontend bundle-size budget gate (+ its self-test) |
style-check.py | CSS discipline linter — flags raw background/color values and raw element selectors. The enforcer behind root §"CSS discipline" |
validate-nginx-config.sh | Validates the nginx serving config (wired into CI) |
setup.sh, setup-aws.sh, setup-docker.sh, setup-ssl.sh | Environment / deploy setup |
Conventions
- Language choice (root §"Script language choice"):
bashfor single-pass regex scans; Python stdlib for parsing / sets / multi-pass — which is whystyle-check.pyis Python while the CI orchestration is bash. ci-local.shis the single source for "what CI runs locally" — mirror new template gates into its section list rather than inventing a parallel runner.- Bash scripts use
set -euo pipefail(orset -uo pipefailwhere partial failures are aggregated, as inci-local.sh).
Gates
These scripts are the gates — they're invoked by CI (.github/workflows/ci.yml), .githooks/pre-commit, and developers locally. When editing one, run it end-to-end before committing; check-bundle-size.sh has a companion .test.sh — keep it green.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

