Skip to content

Commit de7af7a

Browse files
authored
Merge pull request #53 from canvas-medical/db-20260204-ignore-tools-folders
ignore the folders managed by the tools
2 parents c4bfc03 + 70db990 commit de7af7a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

canvas-plugin-assistant/commands/new-plugin.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,15 @@ elif ! grep -q "^\.claude$" .gitignore; then
164164
fi
165165
```
166166

167+
The same way, add to `.gitignore`:
168+
- `.pytest_cache`
169+
- `.__pycache__`
170+
- `.coverage`
171+
- any other files or directories that git should ignored
172+
173+
**DO NOT add the folder `.cpa-workflow-artifacts` to `.gitignore`: it has to be committed to the repo.**
174+
175+
167176
**Replace `pyproject.toml` with the minimal version:**
168177

169178
```toml
@@ -234,7 +243,7 @@ cd "$CPA_WORKSPACE_DIR/$plugin_name"
234243
git add -A .
235244
git commit -m "initialize $plugin_name plugin scaffold
236245
237-
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>"
246+
Co-Authored-By: Claude <noreply@anthropic.com>"
238247
git push -u origin HEAD
239248
```
240249

canvas-plugin-assistant/commands/security-review.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ Check if the plugin exposes any API endpoints:
2828
grep -rn "SimpleAPI\|WebSocket\|SimpleAPIRoute" --include="*.py" .
2929
```
3030

31+
Ignore all directories that are not part of the project, e.g. `.venv`, `.pytest_cache`... with `--exclude-dir`.
32+
33+
3134
**If endpoints exist:**
3235
- Invoke the **plugin-api-server-security** skill
3336
- Review all handlers for:

0 commit comments

Comments
 (0)