Skip to content

Commit a3ebbad

Browse files
committed
feat(skill): add lint-shell target and update shell linting description to repository-template skill
1 parent ab47915 commit a3ebbad

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

  • .github/skills/repository-template

.github/skills/repository-template/SKILL.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ make version-create-effective-file # Create .version from VERSION
185185
- `make env` — Set up project environment (placeholder)
186186
- `make deps` — Install project dependencies (placeholder)
187187
- `make format` — Auto-format code (placeholder)
188-
- `make lint-file-format`, `make lint-markdown-format`, `make lint-markdown-links` — Run individual checks
189-
- `make lint` — Runs the three lint targets above
188+
- `make lint-file-format`, `make lint-markdown-format`, `make lint-markdown-links`, `make lint-shell` — Run individual checks
189+
- `make lint` — Runs all four lint targets above
190190
- `make typecheck`, `make test`, `make build`, `make publish`, `make deploy` — Project-specific placeholders you implement
191191

192192
**To adopt**:
@@ -204,21 +204,21 @@ make version-create-effective-file # Create .version from VERSION
204204

205205
**Essential make targets from `init.mk`** (do not remove or modify):
206206

207-
| Target | Purpose |
208-
| ------------------------------- | ----------------------------------------------------------- |
209-
| `help` | Self-documenting target list |
210-
| `config` | Base configuration (extended via `config::`) |
211-
| `clean` | Base cleanup (extended via `clean::`) |
212-
| `scan-secrets` | Scan for secrets using the gitleaks wrapper |
213-
| `check-file-format` | Check EditorConfig compliance |
214-
| `check-markdown-format` | Check Markdown formatting |
215-
| `check-markdown-links` | Check Markdown links |
216-
| `check-shell-lint` | Lint shell scripts (reports issues without failing the run) |
217-
| `version-create-effective-file` | Create the `.version` file from `VERSION` placeholders |
218-
| `_install-dependencies` | Install all tools from `.tool-versions` via asdf |
219-
| `_install-dependency` | Install a single asdf tool |
220-
| `githooks-config` | Install pre-commit hooks |
221-
| `githooks-run` | Run all pre-commit hooks |
207+
| Target | Purpose |
208+
| ------------------------------- | ---------------------------------------------------------------------------------------------------------- |
209+
| `help` | Self-documenting target list |
210+
| `config` | Base configuration (extended via `config::`) |
211+
| `clean` | Base cleanup (extended via `clean::`) |
212+
| `scan-secrets` | Scan for secrets using the gitleaks wrapper |
213+
| `check-file-format` | Check EditorConfig compliance |
214+
| `check-markdown-format` | Check Markdown formatting |
215+
| `check-markdown-links` | Check Markdown links |
216+
| `check-shell-lint` | Lint shell scripts (fails on errors, excludes `.github/skills/repository-template/` and `.specify/` paths) |
217+
| `version-create-effective-file` | Create the `.version` file from `VERSION` placeholders |
218+
| `_install-dependencies` | Install all tools from `.tool-versions` via asdf |
219+
| `_install-dependency` | Install a single asdf tool |
220+
| `githooks-config` | Install pre-commit hooks |
221+
| `githooks-run` | Run all pre-commit hooks |
222222

223223
**Verification** (run after adoption):
224224

@@ -667,7 +667,7 @@ lychee --config scripts/config/lychee.toml --no-progress --quiet "**/*.md"
667667

668668
**Check modes**:
669669

670-
- All scripts: `make check-shell-lint` (scans every `*.sh` in the repo)
670+
- All scripts: `make check-shell-lint` (scans every `*.sh` in the repo, excluding `.github/skills/repository-template/` and `.specify/` paths)
671671
- Single script: `file=path/to/script.sh ./scripts/quality/check-shell-lint.sh`
672672

673673
**Extra options**:

0 commit comments

Comments
 (0)