Skip to content

Commit cefa280

Browse files
Umaazclaude
andauthored
ci: add cspell spell check workflow and make target (#9)
Adds a GitHub Actions workflow that runs cspell on pushes to main and PRs. Includes a cspell.json config with project-specific dictionary and a `make spellcheck` target for local use. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4ecd368 commit cefa280

3 files changed

Lines changed: 60 additions & 1 deletion

File tree

.github/workflows/spellcheck.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Spell Check
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
spellcheck:
9+
name: Spell Check
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- uses: streetsidesoftware/cspell-action@9cd41bb518a24fefdafd9880cbab8f0ceba04d28
15+
with:
16+
config: cspell.json

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PLUGIN_NAME := opentrace
22
MARKETPLACE := opentrace-marketplace
33
SCOPE := user
44

5-
.PHONY: install uninstall reinstall validate list marketplace-add marketplace-remove marketplace-reinstall dev
5+
.PHONY: install uninstall reinstall validate list marketplace-add marketplace-remove marketplace-reinstall dev spellcheck
66

77
## Install the plugin from the marketplace
88
install:
@@ -33,3 +33,7 @@ dev: uninstall marketplace-reinstall install
3333
## List installed plugins
3434
list:
3535
claude plugin list
36+
37+
## Run spell check
38+
spellcheck:
39+
npx cspell --config cspell.json "**/*.{md,txt,sh,json}"

cspell.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"version": "0.2",
3+
"language": "en",
4+
"ignorePaths": [
5+
".claude/",
6+
".git/",
7+
".idea/",
8+
"node_modules/",
9+
"*.log"
10+
],
11+
"words": [
12+
"opentrace",
13+
"codebase",
14+
"submodule",
15+
"submodules",
16+
"guardrail",
17+
"guardrails",
18+
"hookSpecificOutput",
19+
"hookEventName",
20+
"additionalContext",
21+
"systemMessage",
22+
"maxDepth",
23+
"edgeTypes",
24+
"nodeTypes",
25+
"edgeFilter",
26+
"nodeFilter",
27+
"mcpServers",
28+
"pipefail",
29+
"CURDIR",
30+
"jq",
31+
"gitignored",
32+
"uninstall",
33+
"reinstall",
34+
"tooluse",
35+
"PreToolUse",
36+
"PostToolUse",
37+
"SessionStart"
38+
]
39+
}

0 commit comments

Comments
 (0)