@@ -44,20 +44,22 @@ This script:
4444The ` dso.plugin_root ` key tells the shim where the plugin lives when ` CLAUDE_PLUGIN_ROOT ` is not set as an
4545environment variable. See [ dso.plugin_root in the Configuration Reference] ( CONFIGURATION-REFERENCE.md#dsoplugin_root ) .
4646
47- ### Step 3 — Copy example configuration files
47+ ### Step 3 — Customize configuration files
4848
49- Copy the pre-commit config and workflow-config.conf template (skip any that already exist):
49+ ` dso-setup.sh ` (Step 2) already copies default ` .pre-commit-config.yaml ` and ` .github/workflows/ci.yml `
50+ into your project if they don't exist. This step is about reviewing and customizing them.
51+
52+ If you ran a manual install (without ` dso-setup.sh ` ), copy the defaults first:
5053
5154``` bash
52- # Pre-commit hook configuration (skip if .pre-commit-config.yaml already exists )
53- cp $CLAUDE_PLUGIN_ROOT /examples/pre-commit-config.example.yaml .pre-commit-config.yaml
55+ # Pre-commit hook configuration (if not already present )
56+ cp " $CLAUDE_PLUGIN_ROOT /examples/pre-commit-config.example.yaml" .pre-commit-config.yaml
5457
55- # Workflow config (skip if workflow-config.conf already exists)
56- cp $CLAUDE_PLUGIN_ROOT /docs/workflow-config.example.conf workflow-config.conf
58+ # CI workflow (if not already present)
59+ mkdir -p .github/workflows
60+ cp " $CLAUDE_PLUGIN_ROOT /examples/ci.example.yml" .github/workflows/ci.yml
5761```
5862
59- If ` CLAUDE_PLUGIN_ROOT ` is not set, replace it with the absolute path to the plugin directory.
60-
6163Edit ` workflow-config.conf ` to match your project. All keys are optional except ` version ` — omitted
6264keys fall back to stack-detected defaults. See [ Configuration Reference] ( CONFIGURATION-REFERENCE.md ) .
6365
0 commit comments