Skip to content

Commit 65713b5

Browse files
authored
feat(ecc): harmonize PR #24 ECC bundle onto current merged (#25)
feat(ecc): harmonize PR #24 ECC bundle onto current merged
2 parents 73b6701 + 2bf1977 commit 65713b5

8 files changed

Lines changed: 376 additions & 4 deletions

File tree

.agents/skills/periscope/SKILL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,6 @@ and handoff notes before expanding scope.
235235
| `/add-or-update-backend-feature-with-tests` | `.claude/commands/add-or-update-backend-feature-with-tests.md` |
236236
| `/frontend-component-update-with-i18n-and-tests` | `.claude/commands/frontend-component-update-with-i18n-and-tests.md` |
237237
| `/documentation-and-blueprint-update` | `.claude/commands/documentation-and-blueprint-update.md` |
238+
| `/add-or-update-database-feature` | `.claude/commands/add-or-update-database-feature.md` |
239+
| `/add-new-parser-or-provider` | `.claude/commands/add-new-parser-or-provider.md` |
240+
| `/feature-development-with-tests-and-docs` | `.claude/commands/feature-development-with-tests-and-docs.md` |
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: add-new-parser-or-provider
3+
description: Workflow command scaffold for add-new-parser-or-provider in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /add-new-parser-or-provider
8+
9+
Use this workflow when working on **add-new-parser-or-provider** in `periscope`.
10+
11+
## Goal
12+
13+
Adds support for a new agent/provider/parser, including implementation, integration, and test coverage.
14+
15+
## Common Files
16+
17+
- `internal/parser/*_provider.go`
18+
- `internal/parser/*.go`
19+
- `internal/parser/testdata/*/*.json`
20+
- `internal/parser/*_test.go`
21+
- `internal/parser/provider.go`
22+
- `internal/sync/engine.go`
23+
24+
## Suggested Sequence
25+
26+
1. Understand the current state and failure mode before editing.
27+
2. Make the smallest coherent change that satisfies the workflow goal.
28+
3. Run the most relevant verification for touched files.
29+
4. Summarize what changed and what still needs review.
30+
31+
## Typical Commit Signals
32+
33+
- Add new parser/provider Go files (e.g., internal/parser/<provider>_provider.go, internal/parser/<provider>.go).
34+
- Update provider registry or discovery (e.g., internal/parser/provider.go).
35+
- Add or update test data and test cases (e.g., internal/parser/testdata/<provider>/*.json, internal/parser/<provider>_test.go).
36+
- Integrate with sync engine if needed (e.g., internal/sync/engine.go).
37+
- Update documentation and format sources (e.g., docs/internal/session-format-sources.md, docs/configuration.md).
38+
39+
## Notes
40+
41+
- Treat this as a scaffold, not a hard-coded script.
42+
- Update the command if the workflow evolves materially.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: add-or-update-database-feature
3+
description: Workflow command scaffold for add-or-update-database-feature in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /add-or-update-database-feature
8+
9+
Use this workflow when working on **add-or-update-database-feature** in `periscope`.
10+
11+
## Goal
12+
13+
Implements a new database-backed feature or updates existing database logic, including schema changes, new tables, triggers, and related Go logic.
14+
15+
## Common Files
16+
17+
- `internal/db/schema.sql`
18+
- `internal/db/*.go`
19+
- `internal/db/*_test.go`
20+
- `cmd/agentsview/*_test.go`
21+
- `docs/superpowers/specs/*.md`
22+
23+
## Suggested Sequence
24+
25+
1. Understand the current state and failure mode before editing.
26+
2. Make the smallest coherent change that satisfies the workflow goal.
27+
3. Run the most relevant verification for touched files.
28+
4. Summarize what changed and what still needs review.
29+
30+
## Typical Commit Signals
31+
32+
- Edit or add SQL schema files (e.g., internal/db/schema.sql).
33+
- Update Go code for database access and logic (e.g., internal/db/*.go).
34+
- Add or update trigger DDL and migration logic in Go (e.g., internal/db/db.go).
35+
- Write or update tests for new/changed database logic (e.g., internal/db/*_test.go, cmd/agentsview/*_test.go).
36+
- Update or add documentation/specs if the feature is significant (e.g., docs/superpowers/specs/...).
37+
38+
## Notes
39+
40+
- Treat this as a scaffold, not a hard-coded script.
41+
- Update the command if the workflow evolves materially.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: feature-development-with-tests-and-docs
3+
description: Workflow command scaffold for feature-development-with-tests-and-docs in periscope.
4+
allowed_tools: ["Bash", "Read", "Write", "Grep", "Glob"]
5+
---
6+
7+
# /feature-development-with-tests-and-docs
8+
9+
Use this workflow when working on **feature-development-with-tests-and-docs** in `periscope`.
10+
11+
## Goal
12+
13+
Implements a new feature or significant enhancement, accompanied by tests and documentation/specs.
14+
15+
## Common Files
16+
17+
- `internal/*/*.go`
18+
- `internal/*/*_test.go`
19+
- `cmd/agentsview/*_test.go`
20+
- `docs/superpowers/specs/*.md`
21+
- `docs/configuration.md`
22+
- `frontend/src/lib/utils/agents.ts`
23+
24+
## Suggested Sequence
25+
26+
1. Understand the current state and failure mode before editing.
27+
2. Make the smallest coherent change that satisfies the workflow goal.
28+
3. Run the most relevant verification for touched files.
29+
4. Summarize what changed and what still needs review.
30+
31+
## Typical Commit Signals
32+
33+
- Implement feature in Go (e.g., internal/<area>/*.go).
34+
- Write or update tests (e.g., internal/<area>/*_test.go, cmd/agentsview/*_test.go).
35+
- Update or add documentation/specs (e.g., docs/superpowers/specs/*.md, docs/configuration.md).
36+
- Update frontend if feature is user-facing (e.g., frontend/src/lib/utils/agents.ts).
37+
38+
## Notes
39+
40+
- Treat this as a scaffold, not a hard-coded script.
41+
- Update the command if the workflow evolves materially.

.claude/ecc-tools.json

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,10 @@
189189
".claude/commands/refactoring.md",
190190
".claude/commands/add-or-update-backend-feature-with-tests.md",
191191
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
192-
".claude/commands/documentation-and-blueprint-update.md"
192+
".claude/commands/documentation-and-blueprint-update.md",
193+
".claude/commands/add-or-update-database-feature.md",
194+
".claude/commands/add-new-parser-or-provider.md",
195+
".claude/commands/feature-development-with-tests-and-docs.md"
193196
],
194197
"packageFiles": {
195198
"runtime-core": [
@@ -210,7 +213,10 @@
210213
".claude/commands/refactoring.md",
211214
".claude/commands/add-or-update-backend-feature-with-tests.md",
212215
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
213-
".claude/commands/documentation-and-blueprint-update.md"
216+
".claude/commands/documentation-and-blueprint-update.md",
217+
".claude/commands/add-or-update-database-feature.md",
218+
".claude/commands/add-new-parser-or-provider.md",
219+
".claude/commands/feature-development-with-tests-and-docs.md"
214220
]
215221
},
216222
"moduleFiles": {
@@ -232,7 +238,10 @@
232238
".claude/commands/refactoring.md",
233239
".claude/commands/add-or-update-backend-feature-with-tests.md",
234240
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
235-
".claude/commands/documentation-and-blueprint-update.md"
241+
".claude/commands/documentation-and-blueprint-update.md",
242+
".claude/commands/add-or-update-database-feature.md",
243+
".claude/commands/add-new-parser-or-provider.md",
244+
".claude/commands/feature-development-with-tests-and-docs.md"
236245
]
237246
},
238247
"files": [
@@ -315,6 +324,21 @@
315324
"moduleId": "workflow-pack",
316325
"path": ".claude/commands/documentation-and-blueprint-update.md",
317326
"description": "Workflow command scaffold for documentation-and-blueprint-update."
327+
},
328+
{
329+
"moduleId": "workflow-pack",
330+
"path": ".claude/commands/add-or-update-database-feature.md",
331+
"description": "Workflow command scaffold for add-or-update-database-feature."
332+
},
333+
{
334+
"moduleId": "workflow-pack",
335+
"path": ".claude/commands/add-new-parser-or-provider.md",
336+
"description": "Workflow command scaffold for add-new-parser-or-provider."
337+
},
338+
{
339+
"moduleId": "workflow-pack",
340+
"path": ".claude/commands/feature-development-with-tests-and-docs.md",
341+
"description": "Workflow command scaffold for feature-development-with-tests-and-docs."
318342
}
319343
],
320344
"workflows": [
@@ -329,6 +353,18 @@
329353
{
330354
"command": "documentation-and-blueprint-update",
331355
"path": ".claude/commands/documentation-and-blueprint-update.md"
356+
},
357+
{
358+
"command": "add-or-update-database-feature",
359+
"path": ".claude/commands/add-or-update-database-feature.md"
360+
},
361+
{
362+
"command": "add-new-parser-or-provider",
363+
"path": ".claude/commands/add-new-parser-or-provider.md"
364+
},
365+
{
366+
"command": "feature-development-with-tests-and-docs",
367+
"path": ".claude/commands/feature-development-with-tests-and-docs.md"
332368
}
333369
],
334370
"adapters": {
@@ -341,7 +377,10 @@
341377
".claude/commands/refactoring.md",
342378
".claude/commands/add-or-update-backend-feature-with-tests.md",
343379
".claude/commands/frontend-component-update-with-i18n-and-tests.md",
344-
".claude/commands/documentation-and-blueprint-update.md"
380+
".claude/commands/documentation-and-blueprint-update.md",
381+
".claude/commands/add-or-update-database-feature.md",
382+
".claude/commands/add-new-parser-or-provider.md",
383+
".claude/commands/feature-development-with-tests-and-docs.md"
345384
]
346385
},
347386
"codex": {

0 commit comments

Comments
 (0)