continuous-improvement 3.0.0 → 3.1.0

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.
@@ -0,0 +1,58 @@
1
+ [
2
+ {
3
+ "id": "react-check-existing-components",
4
+ "trigger": "when creating a new React component",
5
+ "body": "Search the codebase for existing components that solve the same problem before creating new ones. Check shared/, components/, and ui/ directories.",
6
+ "confidence": 0.65,
7
+ "domain": "workflow"
8
+ },
9
+ {
10
+ "id": "react-prefer-server-components",
11
+ "trigger": "when creating components in Next.js App Router",
12
+ "body": "Default to Server Components. Only add 'use client' when the component needs useState, useEffect, event handlers, or browser APIs.",
13
+ "confidence": 0.7,
14
+ "domain": "patterns"
15
+ },
16
+ {
17
+ "id": "react-key-prop-lists",
18
+ "trigger": "when rendering lists with .map()",
19
+ "body": "Always use a stable, unique key prop. Never use array index as key unless the list is static and never reordered.",
20
+ "confidence": 0.7,
21
+ "domain": "patterns"
22
+ },
23
+ {
24
+ "id": "react-effect-cleanup",
25
+ "trigger": "when writing useEffect with subscriptions or timers",
26
+ "body": "Always return a cleanup function from useEffect when setting up subscriptions, event listeners, or timers to prevent memory leaks.",
27
+ "confidence": 0.7,
28
+ "domain": "patterns"
29
+ },
30
+ {
31
+ "id": "react-memo-expensive",
32
+ "trigger": "when a component re-renders with expensive calculations",
33
+ "body": "Use useMemo for expensive computations and React.memo for components that receive the same props frequently. Don't memo everything — only what's measurably slow.",
34
+ "confidence": 0.6,
35
+ "domain": "patterns"
36
+ },
37
+ {
38
+ "id": "react-form-validation",
39
+ "trigger": "when building forms",
40
+ "body": "Check if react-hook-form or zod is already in the project before building custom form validation. Prefer library solutions over hand-rolled validation.",
41
+ "confidence": 0.65,
42
+ "domain": "tooling"
43
+ },
44
+ {
45
+ "id": "react-error-boundary",
46
+ "trigger": "when adding a new page or route",
47
+ "body": "Ensure error boundaries exist around new pages/routes. In Next.js App Router, add error.tsx. In other React apps, wrap with ErrorBoundary component.",
48
+ "confidence": 0.6,
49
+ "domain": "patterns"
50
+ },
51
+ {
52
+ "id": "react-test-user-behavior",
53
+ "trigger": "when writing React component tests",
54
+ "body": "Test user behavior, not implementation details. Use @testing-library/react. Query by role, label, or text — not by class name or test ID.",
55
+ "confidence": 0.65,
56
+ "domain": "testing"
57
+ }
58
+ ]
package/llms.txt ADDED
@@ -0,0 +1,43 @@
1
+ # continuous-improvement
2
+
3
+ > The 7 Laws of AI Agent Discipline — stop your agent from skipping steps, guessing, and declaring "done" without verifying.
4
+
5
+ ## What This Is
6
+
7
+ A discipline framework for AI coding agents. It teaches agents structured thinking through 7 laws and builds behavioral instincts over time via the Mulahazah learning system.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ npx continuous-improvement install
13
+ ```
14
+
15
+ ## The 7 Laws
16
+
17
+ 1. Research Before Executing — search before writing
18
+ 2. Plan Is Sacred — state WILL/WILL NOT/VERIFY before acting
19
+ 3. One Thing at a Time — complete and verify one task before the next
20
+ 4. Verify Before Reporting — "done" requires actual proof
21
+ 5. Reflect After Sessions — capture what worked and what failed
22
+ 6. Iterate One Change — one change, verify, then next
23
+ 7. Learn From Every Session — patterns become instincts
24
+
25
+ ## Key Concepts
26
+
27
+ - **Mulahazah** — auto-leveling learning system that captures tool usage patterns
28
+ - **Instincts** — YAML-based behavioral rules with confidence scoring (0.0-0.9)
29
+ - **Auto-leveling** — CAPTURE → ANALYZE → SUGGEST → AUTO-APPLY (no config needed)
30
+ - **Project-scoped** — instincts are per-project, promoted to global when seen in 2+ projects
31
+
32
+ ## Works With
33
+
34
+ - Claude Code (full support: skill + hooks + MCP server)
35
+ - Cursor, Zed, Windsurf, VS Code (MCP server)
36
+ - Codex, Gemini CLI, OpenClaw (skill only)
37
+ - Any LLM (paste SKILL.md into system prompt)
38
+
39
+ ## Links
40
+
41
+ - GitHub: https://github.com/naimkatiman/continuous-improvement
42
+ - npm: https://www.npmjs.com/package/continuous-improvement
43
+ - Skill file: https://raw.githubusercontent.com/naimkatiman/continuous-improvement/main/SKILL.md
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "continuous-improvement",
3
- "version": "3.0.0",
4
- "description": "The 7 Laws of AI Agent Discipline — stop your agent from skipping steps, guessing, and declaring 'done' without verifying. Auto-leveling instinct learning with MCP server plugin for Claude Code, Cursor, Codex, Gemini CLI.",
3
+ "version": "3.1.0",
4
+ "description": "The 7 Laws of AI Agent Discipline — stop your agent from skipping steps, guessing, and declaring 'done' without verifying. Auto-leveling instinct learning with MCP server, GitHub Action transcript linter, and starter instinct packs for Claude Code, Cursor, Codex, Gemini CLI.",
5
5
  "keywords": [
6
6
  "claude-code",
7
7
  "claude-code-skill",
@@ -20,30 +20,44 @@
20
20
  "continuous-improvement",
21
21
  "mcp",
22
22
  "mcp-server",
23
- "plugin"
23
+ "plugin",
24
+ "github-action",
25
+ "transcript-linter",
26
+ "agent-discipline",
27
+ "developer-tools",
28
+ "anthropic",
29
+ "llm"
24
30
  ],
25
31
  "author": "naimkatiman",
26
32
  "license": "MIT",
27
33
  "repository": {
28
34
  "type": "git",
29
- "url": "https://github.com/naimkatiman/continuous-improvement"
35
+ "url": "git+https://github.com/naimkatiman/continuous-improvement.git"
30
36
  },
31
37
  "homepage": "https://github.com/naimkatiman/continuous-improvement#readme",
38
+ "bugs": {
39
+ "url": "https://github.com/naimkatiman/continuous-improvement/issues"
40
+ },
32
41
  "bin": {
33
- "continuous-improvement": "./bin/install.mjs"
42
+ "continuous-improvement": "bin/install.mjs",
43
+ "ci-lint-transcript": "bin/lint-transcript.mjs"
34
44
  },
35
45
  "scripts": {
36
- "test": "node --test test/*.test.mjs"
46
+ "test": "node --test test/*.test.mjs",
47
+ "lint": "node bin/lint-transcript.mjs --help"
37
48
  },
38
49
  "files": [
39
50
  "SKILL.md",
40
51
  "QUICKSTART.md",
41
52
  "CHANGELOG.md",
42
53
  "README.md",
54
+ "llms.txt",
55
+ "action.yml",
43
56
  "bin/",
44
57
  "hooks/",
45
58
  "commands/",
46
- "plugins/"
59
+ "plugins/",
60
+ "instinct-packs/"
47
61
  ],
48
62
  "type": "module"
49
63
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "continuous-improvement",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "mode": "beginner",
5
5
  "description": "3 simple tools: check status, view instincts, reflect on sessions. No config needed.",
6
6
  "tools": [
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "continuous-improvement",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "mode": "expert",
5
- "description": "Full plugin: 8 tools including instinct management, import/export, observation viewer, and manual instinct creation.",
5
+ "description": "Full plugin: 10 tools including instinct management, import/export, observation viewer, dashboard, and instinct packs.",
6
6
  "tools": [
7
7
  {
8
8
  "name": "ci_status",
@@ -35,6 +35,14 @@
35
35
  {
36
36
  "name": "ci_import",
37
37
  "what": "Import instincts from JSON (skip duplicates)"
38
+ },
39
+ {
40
+ "name": "ci_dashboard",
41
+ "what": "Visual dashboard showing instinct health, confidence distribution, and learning progress"
42
+ },
43
+ {
44
+ "name": "ci_load_pack",
45
+ "what": "Load starter instinct packs (react, python, go) into the current project"
38
46
  }
39
47
  ],
40
48
  "setup": {