diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..8f429a0 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,10 @@ +{ + "extraKnownMarketplaces": { + "structured-context": { + "source": { "source": "github", "repo": "mindsocket/structured-context" } + } + }, + "enabledPlugins": { + "sctx-dev@structured-context": true + } +} diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..4d48cc9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Generated files: collapsed in GitHub diffs and left out of the sctx-dev review check. +packages/map-views/src/node/bundled-definitions.ts linguist-generated +schemas/generated/** linguist-generated +packages/map-views/tests/fixtures/*.json linguist-generated +bun.lock linguist-generated diff --git a/lefthook.yml b/lefthook.yml index 9e3b128..a3d43a9 100644 --- a/lefthook.yml +++ b/lefthook.yml @@ -19,3 +19,7 @@ pre-push: commands: pushed-tree: run: bash scripts/git-hooks/check-pushed-tree.sh + review-check: + run: >- + check="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/plugins/marketplaces/structured-context/dev-plugin/scripts/review-check.sh"; + if [ -f "$check" ]; then bash "$check"; else echo "review-check: sctx-dev plugin not installed, skipping"; fi