Skip to content

Commit b279bd3

Browse files
wphillipmoorewphillipmoore-claude
andauthored
chore: migrate to PATH-based standard-tooling consumption (#361)
Delete all synced scripts (scripts/lint/, scripts/git-hooks/, synced scripts/dev/ files). Remove commit-cutoff-sha from CI. Update CLAUDE.md for st-commit/st-submit-pr/st-validate-local. Reconfigure git hooks to standard-tooling. Co-authored-by: wphillipmoore-claude <255925739+wphillipmoore-claude@users.noreply.github.com>
1 parent adeac0b commit b279bd3

20 files changed

Lines changed: 15 additions & 1859 deletions

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,9 @@ jobs:
3030
steps:
3131
- name: Checkout code
3232
uses: actions/checkout@v6
33-
with:
34-
fetch-depth: 0
3533

3634
- name: Validate standards
3735
uses: wphillipmoore/standard-actions/actions/standards-compliance@develop
38-
with:
39-
commit-cutoff-sha: "df45093"
4036

4137
dependency-audit:
4238
name: "ci: dependency-audit"

CLAUDE.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ Both files share the same underlying standards via include directives, ensuring
9898

9999
## Development Commands
100100

101+
### Standard Tooling
102+
103+
```bash
104+
cd ../standard-tooling && uv sync # Install standard-tooling
105+
export PATH="../standard-tooling/.venv/bin:../standard-tooling/scripts/bin:$PATH" # Put tools on PATH
106+
git config core.hooksPath ../standard-tooling/scripts/lib/git-hooks # Enable git hooks
107+
```
108+
101109
### Environment Setup
102110

103111
```bash
@@ -278,7 +286,7 @@ The include directives at the top of this file load the full repository standard
278286
**Pre-flight Checklist**:
279287
- Check current branch: `git status -sb`
280288
- If on `develop`, create `feature/*` branch or get explicit approval
281-
- Enable git hooks: `git config core.hooksPath scripts/git-hooks`
289+
- Enable git hooks: `git config core.hooksPath ../standard-tooling/scripts/lib/git-hooks`
282290

283291
**Python Invocation**: Always use `uv run python3 <script>`
284292

@@ -354,14 +362,14 @@ This approach ensures all AI agents (Codex, Claude, etc.) have access to the sam
354362

355363
## Commit and PR Scripts
356364

357-
**NEVER use raw `git commit`** — always use `scripts/dev/commit.sh`.
358-
**NEVER use raw `gh pr create`** — always use `scripts/dev/submit-pr.sh`.
365+
**NEVER use raw `git commit`** — always use `st-commit`.
366+
**NEVER use raw `gh pr create`** — always use `st-submit-pr`.
359367

360368
### Committing
361369

362370
```bash
363-
scripts/dev/commit.sh --type feat --scope session --message "add retry logic" --agent claude
364-
scripts/dev/commit.sh --type fix --message "correct attribute mapping" --agent claude
371+
st-commit --type feat --scope session --message "add retry logic" --agent claude
372+
st-commit --type fix --message "correct attribute mapping" --agent claude
365373
```
366374

367375
- `--type` (required): `feat|fix|docs|style|refactor|test|chore|ci|build`
@@ -373,8 +381,8 @@ scripts/dev/commit.sh --type fix --message "correct attribute mapping" --agent c
373381
### Submitting PRs
374382

375383
```bash
376-
scripts/dev/submit-pr.sh --issue 42 --summary "Add retry logic to session"
377-
scripts/dev/submit-pr.sh --issue 42 --linkage Ref --summary "Update docs" --docs-only
384+
st-submit-pr --issue 42 --summary "Add retry logic to session"
385+
st-submit-pr --issue 42 --linkage Ref --summary "Update docs" --docs-only
378386
```
379387

380388
- `--issue` (required): GitHub issue number (just the number)

scripts/dev/commit.sh

Lines changed: 0 additions & 122 deletions
This file was deleted.

scripts/dev/finalize_repo.sh

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)