connore 0.1.0 → 0.1.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 +53 -46
- package/package.json +35 -33
- package/packs/CONTRIBUTING.md +32 -0
- package/packs/base/catalog/README.md +24 -0
- package/packs/base/catalog/api.md +46 -0
- package/packs/base/catalog/auth.md +46 -0
- package/packs/base/catalog/backend.md +46 -0
- package/packs/base/catalog/blueprints.md +46 -0
- package/packs/base/catalog/components.md +46 -0
- package/packs/base/catalog/database.md +46 -0
- package/packs/base/catalog/docs.md +46 -0
- package/packs/base/catalog/github.md +46 -0
- package/packs/base/catalog/golden.md +46 -0
- package/packs/base/catalog/motion.md +46 -0
- package/packs/base/catalog/plan.md +46 -0
- package/packs/base/catalog/screenshots.md +46 -0
- package/packs/base/catalog/skills.md +46 -0
- package/packs/base/catalog/tokens.md +47 -0
- package/packs/base/planning/START.md +28 -0
- package/packs/base/planning/blueprint-template.md +46 -0
- package/packs/base/planning/plan-template.md +45 -0
- package/packs/base/rules/anti-patterns.md +43 -0
- package/packs/base/rules/code-style.md +43 -0
- package/packs/base/rules/definition-of-done.md +47 -0
- package/packs/base/rules/dependency-policy.md +43 -0
- package/packs/base/rules/error-handling.md +43 -0
- package/packs/base/rules/security-baseline.md +43 -0
- package/packs/base/templates/bug-report.md +43 -0
- package/packs/base/templates/feature-spec.md +43 -0
- package/packs/base/templates/handoff.md +43 -0
- package/packs/base/templates/project-brief.md +43 -0
- package/packs/base/workflow/build-loop.md +48 -0
- package/packs/base/workflow/code-review.md +43 -0
- package/packs/base/workflow/debugging.md +43 -0
- package/packs/base/workflow/git-and-commits.md +43 -0
- package/packs/base/workflow/idea-to-spec.md +43 -0
- package/packs/base/workflow/session-handoff.md +43 -0
- package/packs/base/workflow/spec-to-plan.md +43 -0
- package/packs/nextjs-fullstack/backend/api-conventions.md +48 -0
- package/packs/nextjs-fullstack/backend/auth-and-roles.md +43 -0
- package/packs/nextjs-fullstack/backend/background-jobs.md +43 -0
- package/packs/nextjs-fullstack/backend/caching.md +43 -0
- package/packs/nextjs-fullstack/backend/database.md +43 -0
- package/packs/nextjs-fullstack/backend/file-uploads.md +43 -0
- package/packs/nextjs-fullstack/backend/logging.md +43 -0
- package/packs/nextjs-fullstack/backend/migrations.md +43 -0
- package/packs/nextjs-fullstack/backend/rate-limiting.md +43 -0
- package/packs/nextjs-fullstack/backend/secrets-and-env.md +43 -0
- package/packs/nextjs-fullstack/backend/validation.md +43 -0
- package/packs/nextjs-fullstack/blueprints/ai-app.md +84 -0
- package/packs/nextjs-fullstack/blueprints/internal-tool.md +83 -0
- package/packs/nextjs-fullstack/blueprints/saas-app.md +83 -0
- package/packs/nextjs-fullstack/build-deploy/ci.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/deploy.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/monitoring.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/performance.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/project-structure.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/release-checklist.md +43 -0
- package/packs/nextjs-fullstack/build-deploy/testing.md +43 -0
- package/packs/nextjs-fullstack/evals/README.md +43 -0
- package/packs/nextjs-fullstack/examples/golden-app/README.md +43 -0
- package/packs/nextjs-fullstack/frontend/accessibility.md +43 -0
- package/packs/nextjs-fullstack/frontend/components.md +43 -0
- package/packs/nextjs-fullstack/frontend/forms.md +43 -0
- package/packs/nextjs-fullstack/frontend/layout.md +43 -0
- package/packs/nextjs-fullstack/frontend/loading-empty-error.md +43 -0
- package/packs/nextjs-fullstack/frontend/motion.md +43 -0
- package/packs/nextjs-fullstack/frontend/responsive.md +43 -0
- package/packs/nextjs-fullstack/frontend/seo.md +43 -0
- package/packs/nextjs-fullstack/frontend/tables.md +43 -0
- package/packs/nextjs-fullstack/frontend/tokens.md +43 -0
- package/packs/nextjs-fullstack/integrations/analytics.md +43 -0
- package/packs/nextjs-fullstack/integrations/email.md +43 -0
- package/packs/nextjs-fullstack/integrations/llm-apis.md +43 -0
- package/packs/nextjs-fullstack/integrations/oauth.md +43 -0
- package/packs/nextjs-fullstack/integrations/object-storage.md +43 -0
- package/packs/nextjs-fullstack/integrations/payments.md +43 -0
- package/packs/nextjs-fullstack/integrations/queues.md +43 -0
- package/packs/nextjs-fullstack/integrations/search.md +43 -0
- package/packs/nextjs-fullstack/integrations/webhooks.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-ai-feature.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-auth.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-billing.md +50 -0
- package/packs/nextjs-fullstack/playbooks/add-crud.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-email.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-file-upload.md +43 -0
- package/packs/nextjs-fullstack/playbooks/add-webhook.md +43 -0
- package/packs/nextjs-fullstack/playbooks/ship-to-prod.md +43 -0
- package/src/cli.js +288 -90
- package/src/commands/add.js +61 -57
- package/src/commands/catalog.js +21 -0
- package/src/commands/doctor.js +42 -0
- package/src/commands/hook.js +67 -50
- package/src/commands/init.js +69 -55
- package/src/commands/learn.js +39 -0
- package/src/commands/lint.js +5 -0
- package/src/commands/list.js +10 -10
- package/src/commands/log.js +25 -0
- package/src/commands/memory.js +14 -0
- package/src/commands/plan.js +41 -0
- package/src/commands/reindex.js +8 -8
- package/src/commands/review.js +31 -0
- package/src/commands/search.js +21 -0
- package/src/commands/stats.js +35 -0
- package/src/commands/undo.js +7 -0
- package/src/commands/update.js +16 -14
- package/src/lib/catalog.js +32 -0
- package/src/lib/config.js +64 -0
- package/src/lib/fs-safe.js +36 -11
- package/src/lib/gitlog.js +75 -0
- package/src/lib/ignore.js +47 -0
- package/src/lib/index.js +27 -12
- package/src/lib/lessons.js +173 -0
- package/src/lib/lint.js +67 -0
- package/src/lib/lock.js +47 -0
- package/src/lib/memory.js +49 -0
- package/src/lib/mutate.js +24 -0
- package/src/lib/packs.js +10 -0
- package/src/lib/paths.js +6 -2
- package/src/lib/plan.js +156 -0
- package/src/lib/pointers.js +3 -3
- package/src/lib/provider.js +27 -0
- package/src/lib/report.js +20 -4
- package/src/lib/run.js +73 -0
- package/src/lib/search.js +40 -0
- package/src/lib/secrets.js +25 -0
- package/src/lib/signals.js +55 -0
- package/src/lib/sync.js +20 -12
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Motion sources
|
|
3
|
+
type: doc
|
|
4
|
+
tags: [catalog, motion]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-04
|
|
8
|
+
description: Where to study motion, then record duration and easing.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Motion sources
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
A section needs enter, hover, text, or scroll motion.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Record duration and easing in `.ctx/mine/catalog/motion/<name>.md`. Match the project token file if it already has motion values.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The motion is a one-off marketing effect. Still write the duration. Do not add a second library for one effect.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never copy a React Bits, Magic UI, or Motion Primitives component file into the pack.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
Agents repeat the last animation they saw. A written duration stops that.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Look at React Bits or Magic UI for the pattern name.
|
|
30
|
+
2. Read Motion docs for the property you will animate.
|
|
31
|
+
3. Use GSAP only when CSS or Motion cannot express the timeline.
|
|
32
|
+
4. Write the duration in milliseconds and the easing curve in the note.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
The note states duration, easing, and the source URL.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
`hero-fade.md` says "200ms, ease-out, source: https://reactbits.dev".
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
Adding GSAP and Motion for the same fade. Leaving duration as "fast".
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
React Bits, Magic UI, Motion Primitives, Motion, GSAP. Linked only on 2026-12-04. Not vendored.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Starter collection plan
|
|
3
|
+
type: doc
|
|
4
|
+
tags: [catalog, plan]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-04
|
|
8
|
+
description: The first capture targets. Counts live in mine, not in this file.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Starter collection plan
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
You are deciding what to capture next.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Run `connore catalog`. Add the next missing note under `.ctx/mine/catalog/<group>/`.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The task is a single screen. Capture that screen only. Do not fill every group first.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never treat the targets as a requirement to download 17 folders of upstream code.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A small set of notes the agent can retrieve beats a large unread dump.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Start with shadcn/ui, Mobbin links, React Bits, Bulletproof React, and the Next.js SaaS starter.
|
|
30
|
+
2. For each one, store your note, not their repo.
|
|
31
|
+
3. On a UI task, load the screenshot twin, the token file, the component note, and the project rule together.
|
|
32
|
+
4. Stop when the current task has those four. Raise the counts later.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
`connore catalog` shows a count for the group you just wrote.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
A button task loads `tokens`, `components/button.md`, and the design rules. It does not load the schema notes.
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
Cloning all five starters before any note exists. Counting a PNG with no markdown twin.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
This plan. Upstream names are linked from the other catalog entries. Not vendored on 2026-12-04.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: UI screenshots
|
|
3
|
+
type: doc
|
|
4
|
+
tags: [catalog, design, screenshots]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-04
|
|
8
|
+
description: Where to capture UI references without copying paid galleries.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# UI screenshots
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
You need a layout, dashboard, auth flow, pricing block, or type style.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Save one section per file in `.ctx/inbox/`, write the twin, then move both to `.ctx/mine/catalog/screenshots/`.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
You need a full page. Use `.ctx/mine/catalog/pages/` and still write the twin.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never put a Mobbin, Dribbble, Awwwards, SaaSFrame, or Land-book image in `library/` or in a pack.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
Those sites show real product UI. Their terms do not allow you to redistribute the images.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Capture the section, the mobile frame, and the hover state only if you can see it.
|
|
30
|
+
2. In the twin, record the page URL, the section name, and the hex, type, spacing, and radius you can read.
|
|
31
|
+
3. Write "unknown" for anything you cannot see. Do not invent a token.
|
|
32
|
+
4. Run `connore index`.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
`connore search` finds the section, and the twin names the source URL.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
`settings-billing.md` says "source: https://mobbin.com, file stays in mine/, not in the pack."
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
A PNG with no twin. A gallery image committed under `packs/`.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
Mobbin, Dribbble, Awwwards, SaaSFrame, Land-book. Linked only on 2026-12-04. Not vendored.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Coding rules and agent skills
|
|
3
|
+
type: doc
|
|
4
|
+
tags: [catalog, skills]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-04
|
|
8
|
+
description: Where to read agent instructions, then write a rule this repo will follow.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Coding rules and agent skills
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
You want a standing rule for names, tests, security, or review.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Write one rule in `.ctx/mine/catalog/coding-rules/<name>.md` or one skill in `.ctx/mine/catalog/skills/<name>.md`.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The pack already has the rule. Load that file. Do not copy it into mine.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never paste an Awesome list, a Cursor rules repo, or an Anthropic skill file in full.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A rule the agent can open beats a link dump it will not read.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Read AGENTS.md examples, Anthropic's skill format, or a public Cursor rules collection for shape only.
|
|
30
|
+
2. Write the rule as Use when, Default, and Never.
|
|
31
|
+
3. Keep it under 60 lines.
|
|
32
|
+
4. Name the upstream URL if you adapted the idea.
|
|
33
|
+
|
|
34
|
+
## Done when
|
|
35
|
+
The file states one Default and one Never, with no copied prompt block.
|
|
36
|
+
|
|
37
|
+
## Example
|
|
38
|
+
`errors.md` says "return 400 for a bad field; never return the stack."
|
|
39
|
+
|
|
40
|
+
## Common mistakes
|
|
41
|
+
Dropping `awesome-cursorrules` into `.ctx/`. A skill that says "be careful" and nothing else.
|
|
42
|
+
|
|
43
|
+
## Sources
|
|
44
|
+
AGENTS.md, Anthropic skills, Awesome Copilot, Awesome Cursor Rules, public AGENTS.md examples. Linked only on 2026-12-04.
|
|
45
|
+
|
|
46
|
+
License: MIT
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Design token sources
|
|
3
|
+
type: doc
|
|
4
|
+
tags: [catalog, design, tokens]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-12-04
|
|
8
|
+
description: Where to read token structure, then fill the project token file.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Design token sources
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
You are filling color, type, spacing, radius, or shadow for this repo.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Write the values in the project token file. Record the source URL in that file. Do not paste a whole theme.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
You only need a palette idea. Save one palette note in `.ctx/mine/catalog/tokens/`.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never invent a hex. Never copy a paid theme file into the pack.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
Agents reuse the token file. A second unofficial palette makes the screen drift.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Read the Design Tokens Community Group format before inventing keys.
|
|
30
|
+
2. Take spacing and type scale ideas from Tailwind docs, not the whole default theme.
|
|
31
|
+
3. Take CSS variable names from the shadcn theme docs or Radix Themes docs.
|
|
32
|
+
4. Record the font family from Google Fonts, plus the size you actually use.
|
|
33
|
+
5. Replace each blank value in the project token file with one measured value.
|
|
34
|
+
|
|
35
|
+
## Done when
|
|
36
|
+
The token file has a measured value for every color this screen uses.
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
`accent: #e9762b` in the token file, with the source URL on the following line.
|
|
40
|
+
|
|
41
|
+
## Common mistakes
|
|
42
|
+
Leaving Tailwind's full palette in the repo "for later". Guessing a shadow blur.
|
|
43
|
+
|
|
44
|
+
## Sources
|
|
45
|
+
Design Tokens Community Group, Tailwind CSS, shadcn/ui theme, Radix Themes, Coolors, Google Fonts. Linked only on 2026-12-04.
|
|
46
|
+
|
|
47
|
+
License: MIT
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Start
|
|
3
|
+
type: protocol
|
|
4
|
+
tags: [planning]
|
|
5
|
+
source: library
|
|
6
|
+
description: Read this first before any new project or feature.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# START: read this first for any new project or feature
|
|
10
|
+
1. Classify: state in one sentence what is being built, and pick a blueprint
|
|
11
|
+
from .ctx/library/blueprints/. If none fits, say so and use
|
|
12
|
+
base/workflow/idea-to-spec.md.
|
|
13
|
+
2. Ask: put at most 5 questions to the user, covering only items the
|
|
14
|
+
blueprint marks "confirm with user" (audience, must-have features, auth,
|
|
15
|
+
payments, deadline). Never invent business requirements.
|
|
16
|
+
3. Plan: write .ctx/mine/plan.md from the blueprint (phases, tasks,
|
|
17
|
+
acceptance criteria, gates, risks), under 150 lines. Show it to the user
|
|
18
|
+
and wait for approval.
|
|
19
|
+
4. Execute one phase at a time. For each task, load only the entries the
|
|
20
|
+
blueprint lists for it.
|
|
21
|
+
5. Gate: at the end of every phase run its gate. If a gate fails, fix it
|
|
22
|
+
before moving on. Never skip or weaken a gate.
|
|
23
|
+
6. Record: tick tasks in plan.md, run `connore log decision`, and note any
|
|
24
|
+
deviation from the plan.
|
|
25
|
+
7. Hand off: before a session ends, update "Current state" and "Next step".
|
|
26
|
+
Rules: prefer library defaults over improvising. Don't add dependencies or
|
|
27
|
+
services that aren't in the plan without asking. Stop and ask before any
|
|
28
|
+
irreversible step (deleting data, paid services, production deploys).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Blueprint template
|
|
3
|
+
type: blueprint
|
|
4
|
+
tags: [planning]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Copy this shape when adding a product blueprint.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Blueprint template
|
|
12
|
+
|
|
13
|
+
## Summary
|
|
14
|
+
One sentence. What this product type is.
|
|
15
|
+
|
|
16
|
+
## Capabilities
|
|
17
|
+
Must, should, and later. Must is the first release.
|
|
18
|
+
|
|
19
|
+
## Reference architecture
|
|
20
|
+
Name the processes and how a request moves.
|
|
21
|
+
|
|
22
|
+
## Data model starter
|
|
23
|
+
Name the tables and the column that decides access.
|
|
24
|
+
|
|
25
|
+
## Integrations
|
|
26
|
+
Name the jobs. Do not pick a vendor until the user confirms.
|
|
27
|
+
|
|
28
|
+
## Phases
|
|
29
|
+
|
|
30
|
+
### Phase 0: Scope and decisions
|
|
31
|
+
- Confirm the user and the one workflow
|
|
32
|
+
Acceptance: The answers are written down.
|
|
33
|
+
Gate: The user approved the scope in writing.
|
|
34
|
+
Entries: .ctx/START.md
|
|
35
|
+
|
|
36
|
+
## Gate
|
|
37
|
+
Each phase has a Gate line. Do not open the next phase while it is `[ ]`.
|
|
38
|
+
|
|
39
|
+
## Pitfalls
|
|
40
|
+
The usual wrong order for this product type.
|
|
41
|
+
|
|
42
|
+
## Confirm with user
|
|
43
|
+
Questions this blueprint must not answer as facts.
|
|
44
|
+
|
|
45
|
+
## Entries to load
|
|
46
|
+
Which pack files each phase names.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Plan template
|
|
3
|
+
type: template
|
|
4
|
+
tags: [planning]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Shape of .ctx/mine/plan.md. Copy from a blueprint with connore plan init.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Plan template
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
A blueprint is chosen and the user has not approved a plan yet.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
One checkbox per task. Current phase and Next step stay on their own lines.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The work is a single bugfix. Skip the blueprint and write the failing check first.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never start phase 1 while a phase 0 gate is open.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
The next session should resume from Next step, not from a chat log.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Run `connore plan init <blueprint>`.
|
|
30
|
+
2. Show the plan and wait.
|
|
31
|
+
3. Tick work with `connore plan done <task>`.
|
|
32
|
+
|
|
33
|
+
## Done when
|
|
34
|
+
Every gate line is `[x]` and Next step says the plan is complete.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
`Current phase: 0. Scope and decisions`
|
|
38
|
+
|
|
39
|
+
## Common mistakes
|
|
40
|
+
Checking a later task while an earlier gate is still `[ ]`.
|
|
41
|
+
|
|
42
|
+
## Sources
|
|
43
|
+
connore planning protocol.
|
|
44
|
+
|
|
45
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Anti Patterns
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [rule]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Anti Patterns.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Anti Patterns
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Code Style
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [rule]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Code Style.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Code Style
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Definition of done
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [done, review]
|
|
5
|
+
stack: any
|
|
6
|
+
status: reviewed
|
|
7
|
+
verified: 2026-11-22
|
|
8
|
+
description: Load before calling a change finished.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Definition of done
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
You are about to commit, open a review, or tell the user the task is finished.
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
Done means the check suite passes, the diff matches the spec, and a decision log exists if you chose between two designs.
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
The task was a read-only question. Say what you found and skip the suite.
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
Never call a change done because the page looks right and the checks were not run.
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
A green suite is shared evidence. A screenshot is one person's screen.
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. Match each spec sentence to a line in the diff or a test name.
|
|
30
|
+
2. Run the project check suite. Fix the first failure before starting a new change.
|
|
31
|
+
3. Read the diff for secrets, debug prints, and files outside the task.
|
|
32
|
+
4. If you chose one approach over another, run `connore log decision` with the reason.
|
|
33
|
+
5. Write the review note as what changed and how it was checked.
|
|
34
|
+
|
|
35
|
+
## Done when
|
|
36
|
+
The suite exits 0, every spec sentence is covered, and no secret is in the diff.
|
|
37
|
+
|
|
38
|
+
## Example
|
|
39
|
+
A form task is done when the empty, error, and success states are tested and `npm test` exits 0.
|
|
40
|
+
|
|
41
|
+
## Common mistakes
|
|
42
|
+
Marking done after the happy path. Leaving a failing check in a file you did not mean to touch.
|
|
43
|
+
|
|
44
|
+
## Sources
|
|
45
|
+
connore base rules. No vendor text.
|
|
46
|
+
|
|
47
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Dependency Policy
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [rule]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Dependency Policy.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Dependency Policy
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Error Handling
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [rule]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Error Handling.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Error Handling
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Security Baseline
|
|
3
|
+
type: rule
|
|
4
|
+
tags: [rule]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Security Baseline.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Security Baseline
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Bug Report
|
|
3
|
+
type: template
|
|
4
|
+
tags: [template]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Bug Report.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Bug Report
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Feature Spec
|
|
3
|
+
type: template
|
|
4
|
+
tags: [template]
|
|
5
|
+
stack: any
|
|
6
|
+
status: draft
|
|
7
|
+
verified:
|
|
8
|
+
description: Draft direction for Feature Spec.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Feature Spec
|
|
12
|
+
|
|
13
|
+
## Use when
|
|
14
|
+
TODO
|
|
15
|
+
|
|
16
|
+
## Default
|
|
17
|
+
TODO
|
|
18
|
+
|
|
19
|
+
## Use instead when
|
|
20
|
+
TODO
|
|
21
|
+
|
|
22
|
+
## Never
|
|
23
|
+
TODO
|
|
24
|
+
|
|
25
|
+
## Why
|
|
26
|
+
TODO
|
|
27
|
+
|
|
28
|
+
## Steps
|
|
29
|
+
1. TODO
|
|
30
|
+
|
|
31
|
+
## Done when
|
|
32
|
+
TODO
|
|
33
|
+
|
|
34
|
+
## Example
|
|
35
|
+
TODO
|
|
36
|
+
|
|
37
|
+
## Common mistakes
|
|
38
|
+
TODO
|
|
39
|
+
|
|
40
|
+
## Sources
|
|
41
|
+
TODO
|
|
42
|
+
|
|
43
|
+
License: MIT
|