connore 0.1.1 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -8
- package/bin/ctxkit.js +5 -5
- package/package.json +2 -1
- package/packs/base/planning/START.md +29 -28
- package/packs/base/planning/blueprint-template.md +46 -46
- package/packs/base/planning/plan-template.md +46 -45
- package/packs/base/rules/anti-patterns.md +19 -16
- package/packs/base/rules/code-style.md +19 -16
- package/packs/base/rules/dependency-policy.md +19 -16
- package/packs/base/rules/error-handling.md +19 -16
- package/packs/base/rules/security-audit.md +47 -0
- package/packs/base/rules/security-baseline.md +19 -16
- package/packs/base/templates/bug-report.md +19 -16
- package/packs/base/templates/feature-spec.md +19 -16
- package/packs/base/templates/handoff.md +19 -16
- package/packs/base/templates/project-brief.md +19 -16
- package/packs/base/workflow/code-review.md +19 -16
- package/packs/base/workflow/debugging.md +18 -14
- package/packs/base/workflow/git-and-commits.md +19 -16
- package/packs/base/workflow/idea-to-spec.md +19 -16
- package/packs/base/workflow/session-handoff.md +19 -16
- package/packs/base/workflow/spec-to-plan.md +19 -16
- package/packs/knowledge/backend/api/conventions.md +21 -0
- package/packs/knowledge/backend/architecture/local-sqlite.md +20 -0
- package/packs/knowledge/backend/authentication/session-and-engine.md +24 -0
- package/packs/knowledge/backend/database/schema.md +21 -0
- package/packs/knowledge/components/custom/ambient-background.md +26 -0
- package/packs/knowledge/components/custom/ambient-background.tsx +12 -0
- package/packs/knowledge/components/custom/corner-frame.md +26 -0
- package/packs/knowledge/components/custom/corner-frame.tsx +48 -0
- package/packs/knowledge/components/custom/cta-button.md +26 -0
- package/packs/knowledge/components/custom/cta-button.tsx +10 -0
- package/packs/knowledge/components/custom/page-transition.md +26 -0
- package/packs/knowledge/components/custom/page-transition.tsx +10 -0
- package/packs/knowledge/components/custom/smooth-scroll.md +26 -0
- package/packs/knowledge/components/custom/smooth-scroll.tsx +32 -0
- package/packs/knowledge/components/motion-effects/README.md +30 -0
- package/packs/knowledge/components/ui-primitives/LICENSE +21 -0
- package/packs/knowledge/components/ui-primitives/README.md +22 -0
- package/packs/knowledge/components/ui-primitives/badge.md +26 -0
- package/packs/knowledge/components/ui-primitives/badge.tsx +48 -0
- package/packs/knowledge/components/ui-primitives/button.md +27 -0
- package/packs/knowledge/components/ui-primitives/button.tsx +66 -0
- package/packs/knowledge/components/ui-primitives/card.md +26 -0
- package/packs/knowledge/components/ui-primitives/card.tsx +102 -0
- package/packs/knowledge/components/ui-primitives/checkbox.md +26 -0
- package/packs/knowledge/components/ui-primitives/checkbox.tsx +32 -0
- package/packs/knowledge/components/ui-primitives/dialog.md +26 -0
- package/packs/knowledge/components/ui-primitives/dialog.tsx +168 -0
- package/packs/knowledge/components/ui-primitives/dropdown-menu.md +26 -0
- package/packs/knowledge/components/ui-primitives/dropdown-menu.tsx +268 -0
- package/packs/knowledge/components/ui-primitives/input.md +27 -0
- package/packs/knowledge/components/ui-primitives/input.tsx +18 -0
- package/packs/knowledge/components/ui-primitives/label.md +26 -0
- package/packs/knowledge/components/ui-primitives/label.tsx +23 -0
- package/packs/knowledge/components/ui-primitives/progress.md +26 -0
- package/packs/knowledge/components/ui-primitives/progress.tsx +30 -0
- package/packs/knowledge/components/ui-primitives/scroll-area.md +26 -0
- package/packs/knowledge/components/ui-primitives/scroll-area.tsx +54 -0
- package/packs/knowledge/components/ui-primitives/select.md +26 -0
- package/packs/knowledge/components/ui-primitives/select.tsx +191 -0
- package/packs/knowledge/components/ui-primitives/separator.md +26 -0
- package/packs/knowledge/components/ui-primitives/separator.tsx +27 -0
- package/packs/knowledge/components/ui-primitives/sonner.md +26 -0
- package/packs/knowledge/components/ui-primitives/sonner.tsx +49 -0
- package/packs/knowledge/components/ui-primitives/switch.md +26 -0
- package/packs/knowledge/components/ui-primitives/switch.tsx +32 -0
- package/packs/knowledge/components/ui-primitives/tabs.md +26 -0
- package/packs/knowledge/components/ui-primitives/tabs.tsx +89 -0
- package/packs/knowledge/components/ui-primitives/textarea.md +26 -0
- package/packs/knowledge/components/ui-primitives/textarea.tsx +17 -0
- package/packs/knowledge/components/ui-primitives/tooltip.md +26 -0
- package/packs/knowledge/components/ui-primitives/tooltip.tsx +56 -0
- package/packs/knowledge/design/aesthetics/app-shell.md +41 -0
- package/packs/knowledge/design/aesthetics/code-neutral.md +40 -0
- package/packs/knowledge/design/aesthetics/match.md +46 -0
- package/packs/knowledge/design/aesthetics/ruled-outline.md +40 -0
- package/packs/knowledge/design/aesthetics/solid-accent.md +43 -0
- package/packs/knowledge/design/animations/motion.md +40 -0
- package/packs/knowledge/design/project-style.md +50 -0
- package/packs/knowledge/design/references/benefit-card-grid.md +27 -0
- package/packs/knowledge/design/references/benefit-card-grid.png +0 -0
- package/packs/knowledge/design/references/cta-centered.md +27 -0
- package/packs/knowledge/design/references/cta-centered.png +0 -0
- package/packs/knowledge/design/references/cta-split-media.md +27 -0
- package/packs/knowledge/design/references/cta-split-media.png +0 -0
- package/packs/knowledge/design/references/dashboard-overview.md +31 -0
- package/packs/knowledge/design/references/dashboard-overview.png +0 -0
- package/packs/knowledge/design/references/faq-split-accordion.md +27 -0
- package/packs/knowledge/design/references/faq-split-accordion.png +0 -0
- package/packs/knowledge/design/references/feature-split-checklist.md +27 -0
- package/packs/knowledge/design/references/feature-split-checklist.png +0 -0
- package/packs/knowledge/design/references/footer-four-column.md +27 -0
- package/packs/knowledge/design/references/footer-four-column.png +0 -0
- package/packs/knowledge/design/references/footer-two-column.md +27 -0
- package/packs/knowledge/design/references/footer-two-column.png +0 -0
- package/packs/knowledge/design/references/hero-accent-curtain.md +27 -0
- package/packs/knowledge/design/references/hero-accent-curtain.png +0 -0
- package/packs/knowledge/design/references/hero-split-media.md +27 -0
- package/packs/knowledge/design/references/hero-split-media.png +0 -0
- package/packs/knowledge/design/references/logo-cloud-grid.md +27 -0
- package/packs/knowledge/design/references/logo-cloud-grid.png +0 -0
- package/packs/knowledge/design/references/logo-row-ruled.md +27 -0
- package/packs/knowledge/design/references/logo-row-ruled.png +0 -0
- package/packs/knowledge/design/references/pricing-three-card.md +27 -0
- package/packs/knowledge/design/references/pricing-three-card.png +0 -0
- package/packs/knowledge/design/references/steps-ruled-grid.md +27 -0
- package/packs/knowledge/design/references/steps-ruled-grid.png +0 -0
- package/packs/knowledge/design/rules.md +35 -0
- package/packs/knowledge/design/token-structure.md +46 -0
- package/packs/knowledge/design/tokens.md +55 -0
- package/packs/knowledge/frontend/README.md +50 -0
- package/packs/knowledge/frontend/SOURCES.md +40 -0
- package/packs/knowledge/frontend/accessibility/focus-and-dialogs.md +47 -0
- package/packs/knowledge/frontend/accessibility/semantics-and-keyboard.md +45 -0
- package/packs/knowledge/frontend/accessibility/wcag-targets.md +43 -0
- package/packs/knowledge/frontend/architecture/agent-context-files.md +43 -0
- package/packs/knowledge/frontend/architecture/app-foundations.md +43 -0
- package/packs/knowledge/frontend/architecture/error-handling.md +47 -0
- package/packs/knowledge/frontend/architecture/feature-modules.md +49 -0
- package/packs/knowledge/frontend/architecture/import-boundaries.md +44 -0
- package/packs/knowledge/frontend/architecture/naming.md +43 -0
- package/packs/knowledge/frontend/architecture/project-structure.md +48 -0
- package/packs/knowledge/frontend/architecture/routing.md +45 -0
- package/packs/knowledge/frontend/architecture/security.md +44 -0
- package/packs/knowledge/frontend/architecture/typescript.md +44 -0
- package/packs/knowledge/frontend/components/composition.md +45 -0
- package/packs/knowledge/frontend/components/data-display.md +47 -0
- package/packs/knowledge/frontend/components/library-choice.md +45 -0
- package/packs/knowledge/frontend/components/variants.md +44 -0
- package/packs/knowledge/frontend/forms/form-architecture.md +49 -0
- package/packs/knowledge/frontend/forms/multi-step.md +43 -0
- package/packs/knowledge/frontend/forms/validation.md +47 -0
- package/packs/knowledge/frontend/layout/responsive.md +41 -0
- package/packs/knowledge/frontend/page-blueprints/app-shell.md +16 -0
- package/packs/knowledge/frontend/page-blueprints/faq-footer.md +22 -0
- package/packs/knowledge/frontend/page-blueprints/feature-grid.md +22 -0
- package/packs/knowledge/frontend/page-blueprints/pricing.md +16 -0
- package/packs/knowledge/frontend/page-blueprints/saas-hero.md +24 -0
- package/packs/knowledge/frontend/patterns/dark-marketing.md +18 -0
- package/packs/knowledge/frontend/patterns/status-pill.md +19 -0
- package/packs/knowledge/frontend/performance/code-splitting.md +47 -0
- package/packs/knowledge/frontend/performance/images-and-vitals.md +44 -0
- package/packs/knowledge/frontend/performance/rendering.md +40 -0
- package/packs/knowledge/frontend/rendering/server-and-client.md +50 -0
- package/packs/knowledge/frontend/state/api-layer.md +49 -0
- package/packs/knowledge/frontend/state/async-ui-states.md +43 -0
- package/packs/knowledge/frontend/state/client-store.md +46 -0
- package/packs/knowledge/frontend/state/server-cache.md +42 -0
- package/packs/knowledge/frontend/state/state-categories.md +50 -0
- package/packs/knowledge/frontend/testing/component-tests.md +44 -0
- package/packs/knowledge/frontend/testing/strategy.md +46 -0
- package/packs/knowledge/inbox/README.md +14 -0
- package/packs/knowledge/workflows/authentication.md +18 -0
- package/packs/knowledge/workflows/crud.md +20 -0
- package/packs/knowledge/workflows/dashboard.md +22 -0
- package/packs/nextjs-fullstack/backend/auth-and-roles.md +19 -16
- package/packs/nextjs-fullstack/backend/background-jobs.md +19 -16
- package/packs/nextjs-fullstack/backend/caching.md +17 -14
- package/packs/nextjs-fullstack/backend/database.md +19 -16
- package/packs/nextjs-fullstack/backend/file-uploads.md +19 -16
- package/packs/nextjs-fullstack/backend/logging.md +17 -14
- package/packs/nextjs-fullstack/backend/migrations.md +17 -14
- package/packs/nextjs-fullstack/backend/rate-limiting.md +19 -16
- package/packs/nextjs-fullstack/backend/secrets-and-env.md +19 -16
- package/packs/nextjs-fullstack/backend/validation.md +19 -16
- package/packs/nextjs-fullstack/blueprints/ai-app.md +1 -1
- package/packs/nextjs-fullstack/blueprints/internal-tool.md +1 -1
- package/packs/nextjs-fullstack/blueprints/saas-app.md +1 -1
- package/packs/nextjs-fullstack/build-deploy/ci.md +18 -16
- package/packs/nextjs-fullstack/build-deploy/deploy.md +19 -16
- package/packs/nextjs-fullstack/build-deploy/monitoring.md +16 -14
- package/packs/nextjs-fullstack/build-deploy/performance.md +17 -14
- package/packs/nextjs-fullstack/build-deploy/project-structure.md +18 -16
- package/packs/nextjs-fullstack/build-deploy/release-checklist.md +20 -16
- package/packs/nextjs-fullstack/build-deploy/testing.md +19 -16
- package/packs/nextjs-fullstack/evals/README.md +18 -15
- package/packs/nextjs-fullstack/examples/golden-app/README.md +18 -16
- package/packs/nextjs-fullstack/frontend/accessibility.md +17 -14
- package/packs/nextjs-fullstack/frontend/components.md +19 -16
- package/packs/nextjs-fullstack/frontend/copy.md +46 -0
- package/packs/nextjs-fullstack/frontend/data-fetching.md +46 -0
- package/packs/nextjs-fullstack/frontend/forms.md +17 -14
- package/packs/nextjs-fullstack/frontend/layout.md +19 -16
- package/packs/nextjs-fullstack/frontend/loading-empty-error.md +19 -16
- package/packs/nextjs-fullstack/frontend/motion.md +17 -14
- package/packs/nextjs-fullstack/frontend/responsive.md +19 -16
- package/packs/nextjs-fullstack/frontend/seo.md +20 -16
- package/packs/nextjs-fullstack/frontend/tables.md +17 -14
- package/packs/nextjs-fullstack/frontend/tokens.md +18 -16
- package/packs/nextjs-fullstack/integrations/analytics.md +17 -14
- package/packs/nextjs-fullstack/integrations/email.md +17 -14
- package/packs/nextjs-fullstack/integrations/llm-apis.md +19 -16
- package/packs/nextjs-fullstack/integrations/oauth.md +19 -16
- package/packs/nextjs-fullstack/integrations/object-storage.md +19 -16
- package/packs/nextjs-fullstack/integrations/payments.md +17 -14
- package/packs/nextjs-fullstack/integrations/queues.md +17 -14
- package/packs/nextjs-fullstack/integrations/search.md +19 -16
- package/packs/nextjs-fullstack/integrations/webhooks.md +17 -14
- package/packs/nextjs-fullstack/playbooks/add-ai-feature.md +19 -16
- package/packs/nextjs-fullstack/playbooks/add-auth.md +19 -16
- package/packs/nextjs-fullstack/playbooks/add-crud.md +19 -16
- package/packs/nextjs-fullstack/playbooks/add-email.md +19 -16
- package/packs/nextjs-fullstack/playbooks/add-file-upload.md +19 -16
- package/packs/nextjs-fullstack/playbooks/add-webhook.md +19 -16
- package/packs/nextjs-fullstack/playbooks/ship-to-prod.md +20 -16
- package/plugins/connore/.claude-plugin/plugin.json +10 -0
- package/plugins/connore/hooks/hooks.json +16 -0
- package/plugins/connore/skills/connore-backend/SKILL.md +32 -0
- package/plugins/connore/skills/connore-handoff/SKILL.md +15 -0
- package/plugins/connore/skills/connore-routes/SKILL.md +16 -0
- package/plugins/connore/skills/connore-validate/SKILL.md +15 -0
- package/src/cli.js +110 -21
- package/src/commands/doctor.js +2 -0
- package/src/commands/edit.js +88 -0
- package/src/commands/graph.js +20 -0
- package/src/commands/handoff.js +45 -0
- package/src/commands/init.js +8 -3
- package/src/commands/lint.js +13 -5
- package/src/commands/log.js +49 -25
- package/src/commands/packs.js +21 -0
- package/src/commands/routes.js +13 -0
- package/src/commands/search.js +7 -2
- package/src/commands/update.js +5 -1
- package/src/lib/config.js +67 -64
- package/src/lib/graph.js +96 -0
- package/src/lib/index.js +88 -72
- package/src/lib/lessons.js +173 -173
- package/src/lib/lint.js +185 -67
- package/src/lib/mutate.js +26 -24
- package/src/lib/packs.js +25 -10
- package/src/lib/paths.js +1 -1
- package/src/lib/prompts.js +66 -0
- package/src/lib/report.js +41 -33
- package/src/lib/routes.js +59 -0
- package/src/lib/run.js +116 -73
- package/src/lib/search.js +24 -0
- package/src/lib/tokens.js +8 -0
package/README.md
CHANGED
|
@@ -22,24 +22,29 @@ Use a global install before `connore init --hooks`. The Claude Code hook runs `c
|
|
|
22
22
|
## Commands
|
|
23
23
|
|
|
24
24
|
```
|
|
25
|
-
connore init [--tools ...] [--pack
|
|
26
|
-
connore add <path> [--type t] [--tags a,b] [--
|
|
25
|
+
connore init [--tools ...] [--pack knowledge] [--hooks] [--dry-run] [--json]
|
|
26
|
+
connore add <path> [--type t] [--tags a,b] | edit mine/<f>.md [--text t] | remove mine/<f>.md
|
|
27
27
|
connore update [--pack name] [--include-drafts] [--dry-run]
|
|
28
|
-
connore list | index | hook |
|
|
29
|
-
connore
|
|
28
|
+
connore list | index | hook | doctor | undo | stats | packs
|
|
29
|
+
connore lint [--strict] | graph [--include-drafts]
|
|
30
|
+
connore log <decision|fix|failure|note> "text" [--files a,b]
|
|
30
31
|
connore memory [project|architecture|decision|agent|preferences|task|knowledge] ["text"]
|
|
31
32
|
connore catalog
|
|
32
33
|
connore learn [--yes] [--input file]
|
|
33
34
|
connore review [accept|reject|edit <id>]
|
|
34
|
-
connore search "query"
|
|
35
|
+
connore search "query" [--related] | routes | handoff ["note"]
|
|
35
36
|
connore plan init <blueprint> | status | next | done <task>
|
|
36
37
|
```
|
|
37
38
|
|
|
38
|
-
`init` copies a pack into `.ctx/library/`, writes `.ctx/config.json` and `.ctx/START.md`, and patches instruction files. The default pack is `frontend
|
|
39
|
+
`init` copies a pack into `.ctx/library/`, writes `.ctx/config.json` and `.ctx/START.md`, and patches instruction files. The default pack is `knowledge` (the curated library, including design references). `frontend`, `base`, and `nextjs-fullstack` ship beside it. Draft entries stay out of the index unless you pass `--include-drafts`. The source catalog in `packs/base/catalog/` is not copied into a project.
|
|
39
40
|
|
|
40
41
|
`connore memory <type> "note"` writes one dated note under `.ctx/memory/`. Empty memory files are not created. `connore catalog` counts notes you add under `.ctx/mine/catalog/`.
|
|
41
42
|
|
|
42
|
-
`update` makes `library/` match the pack. It never changes `mine/` or `inbox/`. `undo` restores the last run.
|
|
43
|
+
`update` makes `library/` match the pack recorded at init. It never changes `mine/` or `inbox/`. `undo` restores the last run.
|
|
44
|
+
|
|
45
|
+
`lint` checks your entries when `.ctx/` exists and the shipped packs when it does not. Errors exit 1; `--strict` also fails on warnings. `graph` resolves `refs`, markdown links and shared tags, and reports broken references. `log` appends a dated line to `.ctx/mine/journal.md`.
|
|
46
|
+
|
|
47
|
+
Nothing leaves your machine. The CLI makes no network calls; your agent still talks to its own model provider.
|
|
43
48
|
|
|
44
49
|
## Publish
|
|
45
50
|
|
|
@@ -50,4 +55,4 @@ npm test
|
|
|
50
55
|
npm publish --access public
|
|
51
56
|
```
|
|
52
57
|
|
|
53
|
-
`prepublishOnly` runs the tests again. The tarball is the CLI and `
|
|
58
|
+
`prepublishOnly` runs the tests again. The tarball is the CLI, `packs/` (including `knowledge`) and `plugins/connore`. The private provenance note is not part of the package.
|
package/bin/ctxkit.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { run } from "../src/cli.js"
|
|
3
|
-
|
|
4
|
-
const code = await run(process.argv.slice(2))
|
|
5
|
-
process.exit(code)
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { run } from "../src/cli.js"
|
|
3
|
+
|
|
4
|
+
const code = await run(process.argv.slice(2))
|
|
5
|
+
process.exit(code)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connore",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Local context folder for AI coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Abhinay",
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"bin/ctxkit.js",
|
|
15
15
|
"src",
|
|
16
16
|
"packs",
|
|
17
|
+
"plugins",
|
|
17
18
|
"LICENSE",
|
|
18
19
|
"README.md"
|
|
19
20
|
],
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Start
|
|
3
|
-
type: protocol
|
|
4
|
-
tags: [planning]
|
|
5
|
-
source: library
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
---
|
|
2
|
+
title: Start
|
|
3
|
+
type: protocol
|
|
4
|
+
tags: [planning]
|
|
5
|
+
source: library
|
|
6
|
+
updated: 2026-11-19
|
|
7
|
+
description: Read this first before any new project or feature.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# START: read this first for any new project or feature
|
|
11
|
+
1. Classify: state in one sentence what is being built, and pick a blueprint
|
|
12
|
+
from .ctx/library/blueprints/. If none fits, say so and use
|
|
13
|
+
base/workflow/idea-to-spec.md.
|
|
14
|
+
2. Ask: put at most 5 questions to the user, covering only items the
|
|
15
|
+
blueprint marks "confirm with user" (audience, must-have features, auth,
|
|
16
|
+
payments, deadline). Never invent business requirements.
|
|
17
|
+
3. Plan: write .ctx/mine/plan.md from the blueprint (phases, tasks,
|
|
18
|
+
acceptance criteria, gates, risks), under 150 lines. Show it to the user
|
|
19
|
+
and wait for approval.
|
|
20
|
+
4. Execute one phase at a time. For each task, load only the entries the
|
|
21
|
+
blueprint lists for it.
|
|
22
|
+
5. Gate: at the end of every phase run its gate. If a gate fails, fix it
|
|
23
|
+
before moving on. Never skip or weaken a gate.
|
|
24
|
+
6. Record: tick tasks in plan.md, run `connore log decision`, and note any
|
|
25
|
+
deviation from the plan.
|
|
26
|
+
7. Hand off: before a session ends, update "Current state" and "Next step".
|
|
27
|
+
Rules: prefer library defaults over improvising. Don't add dependencies or
|
|
28
|
+
services that aren't in the plan without asking. Stop and ask before any
|
|
29
|
+
irreversible step (deleting data, paid services, production deploys).
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Blueprint template
|
|
3
|
-
type:
|
|
4
|
-
tags: [planning]
|
|
5
|
-
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Blueprint template
|
|
12
|
-
|
|
13
|
-
##
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
##
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
##
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
##
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
##
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
##
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
---
|
|
2
|
+
title: Blueprint template
|
|
3
|
+
type: template
|
|
4
|
+
tags: [planning, blueprint]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when adding a new product blueprint.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Blueprint template
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
No existing blueprint fits, and the user agreed a new one is needed.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Copy the section list from an existing reviewed blueprint. Fill every section with this product's facts. Leave confirm-with-user as questions, not invented answers.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
An existing blueprint is close. Use it and say what you skipped.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never mark a blueprint reviewed with an empty section. Never invent prices or customers inside it.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A thin blueprint sends the next project straight to code.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Write Summary through Entries to load.
|
|
30
|
+
2. Put the first release in the earliest phase.
|
|
31
|
+
3. Put a gate that can be checked on each phase.
|
|
32
|
+
4. Keep later ideas in Later, not in phase 1.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
A reader can run the phases without asking what the product is.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
An internal tool blueprint with no billing phase, because the summary says there is no billing.
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
A blueprint that is the SaaS one with the title changed.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
Connore pack. Original wording. No vendor text copied.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Plan template
|
|
3
|
-
type: template
|
|
4
|
-
tags: [planning]
|
|
5
|
-
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Plan template
|
|
12
|
-
|
|
13
|
-
## Use when
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
## Default
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## Use instead when
|
|
20
|
-
The
|
|
21
|
-
|
|
22
|
-
## Never
|
|
23
|
-
Never
|
|
24
|
-
|
|
25
|
-
## Why
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Steps
|
|
29
|
-
1.
|
|
30
|
-
2.
|
|
31
|
-
3.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
1
|
+
---
|
|
2
|
+
title: Plan template
|
|
3
|
+
type: template
|
|
4
|
+
tags: [planning, plan]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when you need the shape of a plan and will not run connore plan.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Plan template
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
The CLI is unavailable and a plan still has to be written.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Each phase has tasks, an acceptance line, and a gate. The next step is one line.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The CLI is available. Run connore plan init instead of copying this file.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never leave the next step as continue. Never open every phase at once.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A plan with no gate is a list of wishes.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Name the blueprint.
|
|
30
|
+
2. Write the current phase and the next task.
|
|
31
|
+
3. Give each phase a check you can run.
|
|
32
|
+
4. Keep later phases closed.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
Someone can tell what to do next and what must be true first.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
Next: add the session check. Gate: a signed-out request returns 401.
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
A flat list of features with no order.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
Connore pack. Original wording. No vendor text copied.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Anti
|
|
2
|
+
title: Anti-patterns
|
|
3
3
|
type: rule
|
|
4
|
-
tags: [
|
|
4
|
+
tags: [rules]
|
|
5
5
|
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when a change is about to repeat a known failure.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Anti
|
|
11
|
+
# Anti-patterns
|
|
12
12
|
|
|
13
13
|
## Use when
|
|
14
|
-
|
|
14
|
+
You are choosing a shape for auth, data, or UI.
|
|
15
15
|
|
|
16
16
|
## Default
|
|
17
|
-
|
|
17
|
+
Prefer the boring path the entries already name. If you are about to do the thing an entry forbids, stop.
|
|
18
18
|
|
|
19
19
|
## Use instead when
|
|
20
|
-
|
|
20
|
+
The user explicitly asked for the exception and accepted the risk. Record that with connore log.
|
|
21
21
|
|
|
22
22
|
## Never
|
|
23
|
-
|
|
23
|
+
Never copy a secret into the client, trust a role from the browser, or ship a screen with only the happy path.
|
|
24
24
|
|
|
25
25
|
## Why
|
|
26
|
-
|
|
26
|
+
These are the failures the rest of the pack exists to prevent.
|
|
27
27
|
|
|
28
28
|
## Steps
|
|
29
|
-
1.
|
|
29
|
+
1. Check the route table for the task.
|
|
30
|
+
2. Read the Never section of the matching entry.
|
|
31
|
+
3. If your change matches it, pick the default instead.
|
|
32
|
+
4. If the user overrides it, log the decision.
|
|
30
33
|
|
|
31
34
|
## Done when
|
|
32
|
-
|
|
35
|
+
The change does not match a Never line, or the override is logged.
|
|
33
36
|
|
|
34
37
|
## Example
|
|
35
|
-
|
|
38
|
+
The handler checks the organization instead of trusting the body's org id.
|
|
36
39
|
|
|
37
40
|
## Common mistakes
|
|
38
|
-
|
|
41
|
+
A new global store for one form. A second auth library for one button.
|
|
39
42
|
|
|
40
43
|
## Sources
|
|
41
|
-
|
|
44
|
+
Connore pack. Original wording. No vendor text copied.
|
|
42
45
|
|
|
43
46
|
License: MIT
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Code
|
|
2
|
+
title: Code style
|
|
3
3
|
type: rule
|
|
4
|
-
tags: [
|
|
4
|
+
tags: [style]
|
|
5
5
|
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when writing code in a project that already has a style.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Code
|
|
11
|
+
# Code style
|
|
12
12
|
|
|
13
13
|
## Use when
|
|
14
|
-
|
|
14
|
+
You are adding code next to existing code.
|
|
15
15
|
|
|
16
16
|
## Default
|
|
17
|
-
|
|
17
|
+
Match the files around you: names, types, and how errors are returned. Do not reformat unrelated lines.
|
|
18
18
|
|
|
19
19
|
## Use instead when
|
|
20
|
-
|
|
20
|
+
The project has a formatter. Run it instead of inventing a style.
|
|
21
21
|
|
|
22
22
|
## Never
|
|
23
|
-
|
|
23
|
+
Never reformat a file you did not need to change. Never introduce a second way to do the same thing.
|
|
24
24
|
|
|
25
25
|
## Why
|
|
26
|
-
|
|
26
|
+
A style drive hides the real diff and causes conflicts.
|
|
27
27
|
|
|
28
28
|
## Steps
|
|
29
|
-
1.
|
|
29
|
+
1. Read the nearest file of the same kind.
|
|
30
|
+
2. Name things the way that file names them.
|
|
31
|
+
3. Keep the diff to the behavior.
|
|
32
|
+
4. Run the project's formatter if it has one.
|
|
30
33
|
|
|
31
34
|
## Done when
|
|
32
|
-
|
|
35
|
+
The diff is the behavior, and it looks like the neighboring file.
|
|
33
36
|
|
|
34
37
|
## Example
|
|
35
|
-
|
|
38
|
+
A new route returns errors the same way api-conventions.md describes, because that is what the folder does.
|
|
36
39
|
|
|
37
40
|
## Common mistakes
|
|
38
|
-
|
|
41
|
+
Rewriting quotes and wrapping in a bugfix. Adding a new helper beside the one the file uses.
|
|
39
42
|
|
|
40
43
|
## Sources
|
|
41
|
-
|
|
44
|
+
Connore pack. Original wording. No vendor text copied.
|
|
42
45
|
|
|
43
46
|
License: MIT
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Dependency
|
|
2
|
+
title: Dependency policy
|
|
3
3
|
type: rule
|
|
4
|
-
tags: [
|
|
4
|
+
tags: [dependencies]
|
|
5
5
|
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load before adding a package.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Dependency
|
|
11
|
+
# Dependency policy
|
|
12
12
|
|
|
13
13
|
## Use when
|
|
14
|
-
|
|
14
|
+
A task seems to need a new library.
|
|
15
15
|
|
|
16
16
|
## Default
|
|
17
|
-
|
|
17
|
+
Add a dependency only when the standard library or the existing stack cannot do the job. Name it in the change.
|
|
18
18
|
|
|
19
19
|
## Use instead when
|
|
20
|
-
|
|
20
|
+
The project already depends on a library that does this. Use that one.
|
|
21
21
|
|
|
22
22
|
## Never
|
|
23
|
-
|
|
23
|
+
Never add a package to save ten lines. Never upgrade the world inside an unrelated fix.
|
|
24
24
|
|
|
25
25
|
## Why
|
|
26
|
-
|
|
26
|
+
Dependencies are code you did not read, and they stay forever.
|
|
27
27
|
|
|
28
28
|
## Steps
|
|
29
|
-
1.
|
|
29
|
+
1. Look for an existing dependency first.
|
|
30
|
+
2. If you add one, pin it the way the project pins others.
|
|
31
|
+
3. Keep it out of the client if only the server needs it.
|
|
32
|
+
4. Mention it in the summary.
|
|
30
33
|
|
|
31
34
|
## Done when
|
|
32
|
-
|
|
35
|
+
The new package is the smallest one that does the job, and the client bundle did not grow by accident.
|
|
33
36
|
|
|
34
37
|
## Example
|
|
35
|
-
|
|
38
|
+
A date format uses the library the app already has.
|
|
36
39
|
|
|
37
40
|
## Common mistakes
|
|
38
|
-
|
|
41
|
+
A new UI kit for one badge. A major upgrade inside a copy change.
|
|
39
42
|
|
|
40
43
|
## Sources
|
|
41
|
-
|
|
44
|
+
Connore pack. Original wording. No vendor text copied.
|
|
42
45
|
|
|
43
46
|
License: MIT
|
|
@@ -1,43 +1,46 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Error
|
|
2
|
+
title: Error handling
|
|
3
3
|
type: rule
|
|
4
|
-
tags: [
|
|
4
|
+
tags: [errors]
|
|
5
5
|
stack: any
|
|
6
|
-
status:
|
|
7
|
-
verified:
|
|
8
|
-
description:
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when a call can fail and the user must be able to continue.
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# Error
|
|
11
|
+
# Error handling
|
|
12
12
|
|
|
13
13
|
## Use when
|
|
14
|
-
|
|
14
|
+
A request, a job, or a parse can throw.
|
|
15
15
|
|
|
16
16
|
## Default
|
|
17
|
-
|
|
17
|
+
Catch at the boundary. Tell the user what to do next. Keep the detail in the log.
|
|
18
18
|
|
|
19
19
|
## Use instead when
|
|
20
|
-
|
|
20
|
+
A programmer error during development. Let it crash the test. Do not swallow it.
|
|
21
21
|
|
|
22
22
|
## Never
|
|
23
|
-
|
|
23
|
+
Never catch and continue with an empty success. Never show the user a raw exception string.
|
|
24
24
|
|
|
25
25
|
## Why
|
|
26
|
-
|
|
26
|
+
A swallowed error looks like the write worked.
|
|
27
27
|
|
|
28
28
|
## Steps
|
|
29
|
-
1.
|
|
29
|
+
1. Decide the boundary: the handler, the job runner, or the form.
|
|
30
|
+
2. Log a stable message and an id, not the user's secret.
|
|
31
|
+
3. Return a status the caller already branches on.
|
|
32
|
+
4. Leave the user's input in place.
|
|
30
33
|
|
|
31
34
|
## Done when
|
|
32
|
-
|
|
35
|
+
A forced failure is visible, logged, and does not report success.
|
|
33
36
|
|
|
34
37
|
## Example
|
|
35
|
-
|
|
38
|
+
A payment call times out. The order stays unpaid. The user sees a retry, not a receipt.
|
|
36
39
|
|
|
37
40
|
## Common mistakes
|
|
38
|
-
|
|
41
|
+
An empty catch. A success toast before the response arrives.
|
|
39
42
|
|
|
40
43
|
## Sources
|
|
41
|
-
|
|
44
|
+
Connore pack.
|
|
42
45
|
|
|
43
46
|
License: MIT
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Security audit
|
|
3
|
+
type: playbook
|
|
4
|
+
tags: [security, audit]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-07
|
|
8
|
+
description: Load when asked to review a change for security, not to build a feature.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Security audit
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
A review, a release, or the user asks what could go wrong.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Read the diff. Check auth, tenant filters, secrets, webhook signatures, and anything rendered from a user. Report findings with the file. Do not claim a clean bill beyond what you opened.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The user asked to scan with an external product. Follow that product's own steps. Do not imitate it from memory.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never say the app is secure. Never invent a finding to look thorough. Never paste a live secret into the report.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A vague pass is worse than a short list of what was actually checked.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. List the handlers and jobs the diff touches.
|
|
30
|
+
2. For each write, confirm the session and the tenant filter.
|
|
31
|
+
3. Search the diff for keys, tokens, and private urls.
|
|
32
|
+
4. Confirm webhook routes verify a signature before they write.
|
|
33
|
+
5. Write the findings as file, risk, and what to change.
|
|
34
|
+
|
|
35
|
+
## Done when
|
|
36
|
+
The report names what was checked and what was not opened.
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
The billing handler checks the session but the refund handler does not. That is the finding.
|
|
40
|
+
|
|
41
|
+
## Common mistakes
|
|
42
|
+
A green summary with no files named. Rewriting the feature while reviewing it.
|
|
43
|
+
|
|
44
|
+
## Sources
|
|
45
|
+
Connore pack. Not a substitute for a dedicated scanner.
|
|
46
|
+
|
|
47
|
+
License: MIT
|