Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Spell Check

on:
pull_request:
branches: [main]

jobs:
spellcheck:
name: Spell Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: streetsidesoftware/cspell-action@9cd41bb518a24fefdafd9880cbab8f0ceba04d28
with:
config: cspell.json
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PLUGIN_NAME := opentrace
MARKETPLACE := opentrace-marketplace
SCOPE := user

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

## Install the plugin from the marketplace
install:
Expand Down Expand Up @@ -33,3 +33,7 @@ dev: uninstall marketplace-reinstall install
## List installed plugins
list:
claude plugin list

## Run spell check
spellcheck:
npx cspell --config cspell.json "**/*.{md,txt,sh,json}"
39 changes: 39 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"version": "0.2",
"language": "en",
"ignorePaths": [
".claude/",
".git/",
".idea/",
"node_modules/",
"*.log"
],
"words": [
"opentrace",
"codebase",
"submodule",
"submodules",
"guardrail",
"guardrails",
"hookSpecificOutput",
"hookEventName",
"additionalContext",
"systemMessage",
"maxDepth",
"edgeTypes",
"nodeTypes",
"edgeFilter",
"nodeFilter",
"mcpServers",
"pipefail",
"CURDIR",
"jq",
"gitignored",
"uninstall",
"reinstall",
"tooluse",
"PreToolUse",
"PostToolUse",
"SessionStart"
]
}