@prismer/runtime 2.0.8 → 2.2.55
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/CHANGELOG.md +3430 -0
- package/README.md +34 -12
- package/apc/skills/FIELD-DICTIONARY.md +111 -0
- package/apc/skills/bug-reproduce/SKILL.md +150 -0
- package/apc/skills/bug-reproduce/skill.json +96 -0
- package/apc/skills/code-review/SKILL.md +198 -0
- package/apc/skills/code-review/skill.json +124 -0
- package/apc/skills/design-review/SKILL.md +122 -0
- package/apc/skills/design-review/skill.json +88 -0
- package/apc/skills/doc-sync/SKILL.md +168 -0
- package/apc/skills/doc-sync/skill.json +81 -0
- package/apc/skills/env-doctor/SKILL.md +194 -0
- package/apc/skills/env-doctor/skill.json +209 -0
- package/apc/skills/git-ops/SKILL.md +189 -0
- package/apc/skills/git-ops/skill.json +94 -0
- package/apc/skills/impact-trace/SKILL.md +168 -0
- package/apc/skills/impact-trace/skill.json +104 -0
- package/apc/skills/observability/SKILL.md +195 -0
- package/apc/skills/observability/skill.json +116 -0
- package/apc/skills/release-db-config-sync/SKILL.md +186 -0
- package/apc/skills/release-db-config-sync/skill.json +109 -0
- package/apc/skills/release-ota-promote/SKILL.md +195 -0
- package/apc/skills/release-ota-promote/skill.json +176 -0
- package/apc/skills/release-preflight/SKILL.md +174 -0
- package/apc/skills/release-preflight/skill.json +175 -0
- package/apc/skills/release-rollback/SKILL.md +214 -0
- package/apc/skills/release-rollback/skill.json +230 -0
- package/apc/skills/release-tag/SKILL.md +194 -0
- package/apc/skills/release-tag/skill.json +94 -0
- package/apc/skills/releasing-prod/SKILL.md +49 -0
- package/apc/skills/releasing-test/SKILL.md +135 -0
- package/apc/skills/sdk-release/SKILL.md +200 -0
- package/apc/skills/spec-intake/SKILL.md +169 -0
- package/apc/skills/spec-intake/skill.json +93 -0
- package/apc/skills/test-result-feedback/SKILL.md +239 -0
- package/apc/skills/test-result-feedback/skill.json +193 -0
- package/apc/skills/test-runner/SKILL.md +169 -0
- package/apc/skills/test-runner/skill.json +103 -0
- package/apc/skills/ui-align/SKILL.md +209 -0
- package/apc/skills/ui-align/skill.json +114 -0
- package/apc/skills/ui-canvas/SKILL.md +148 -0
- package/apc/skills/ui-canvas/skill.json +127 -0
- package/built-in-skills/agent-coordination/SKILL.md +59 -37
- package/built-in-skills/agent-meta/SKILL.md +1 -0
- package/built-in-skills/assets/SKILL.md +8 -6
- package/built-in-skills/browser-use/SKILL.md +93 -0
- package/built-in-skills/canvas-design/SKILL.md +1 -0
- package/built-in-skills/claim-agent-ownership/SKILL.md +3 -2
- package/built-in-skills/claude-api/SKILL.md +1 -0
- package/built-in-skills/codebase-design/DEEPENING.md +37 -0
- package/built-in-skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/built-in-skills/codebase-design/LICENSE +21 -0
- package/built-in-skills/codebase-design/SKILL.md +116 -0
- package/built-in-skills/conversation-compaction/SKILL.md +114 -0
- package/built-in-skills/council-creator/SKILL.md +426 -0
- package/built-in-skills/diagnosing-bugs/LICENSE +21 -0
- package/built-in-skills/diagnosing-bugs/SKILL.md +136 -0
- package/built-in-skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
- package/built-in-skills/doc-coauthoring/SKILL.md +1 -0
- package/built-in-skills/document-generation/SKILL.md +105 -0
- package/built-in-skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/built-in-skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/built-in-skills/domain-modeling/LICENSE +21 -0
- package/built-in-skills/domain-modeling/SKILL.md +76 -0
- package/built-in-skills/frontend-design/SKILL.md +1 -0
- package/built-in-skills/human-approval/SKILL.md +17 -2
- package/built-in-skills/image-generate/SKILL.md +103 -302
- package/built-in-skills/image-generate/scripts/generate-and-deliver.mjs +289 -0
- package/built-in-skills/ingest/SKILL.md +13 -45
- package/built-in-skills/internal-comms/SKILL.md +1 -0
- package/built-in-skills/liteparse/SKILL.md +130 -110
- package/built-in-skills/mcp-builder/SKILL.md +1 -0
- package/built-in-skills/memory/SKILL.md +420 -55
- package/built-in-skills/memory-dream/SKILL.md +339 -0
- package/built-in-skills/office-artifacts/SKILL.md +17 -4
- package/built-in-skills/okr/SKILL.md +154 -0
- package/built-in-skills/persona/SKILL.md +81 -0
- package/built-in-skills/persona-generator/SKILL.md +296 -0
- package/built-in-skills/pkf-svg/SKILL.md +253 -0
- package/built-in-skills/pkf-writing/SKILL.md +236 -0
- package/built-in-skills/prismer-im-collab/SKILL.md +26 -6
- package/built-in-skills/proactivity/SKILL.md +84 -0
- package/built-in-skills/remotion/SKILL.md +431 -0
- package/built-in-skills/role-builder/SKILL.md +203 -0
- package/built-in-skills/role-builder/scripts/author-role.mjs +334 -0
- package/built-in-skills/role-builder/scripts/ingest-role.mjs +223 -0
- package/built-in-skills/role-builder/scripts/instantiate-and-run.mjs +290 -0
- package/built-in-skills/role-builder/scripts/operation-harness.mjs +267 -0
- package/built-in-skills/skill-authoring/SKILL.md +110 -100
- package/built-in-skills/skill-authoring/skill.json +3 -3
- package/built-in-skills/skill-builder/SKILL.md +171 -0
- package/built-in-skills/skill-builder/scripts/ingest.mjs +265 -0
- package/built-in-skills/skill-creator/SKILL.md +165 -423
- package/built-in-skills/skill-creator/references/external-library-import.md +110 -0
- package/built-in-skills/skill-creator/scripts/import-library.mjs +475 -0
- package/built-in-skills/slack-gif-creator/SKILL.md +20 -0
- package/built-in-skills/tasks/SKILL.md +38 -23
- package/built-in-skills/tdd/LICENSE +21 -0
- package/built-in-skills/tdd/SKILL.md +110 -0
- package/built-in-skills/tdd/mocking.md +59 -0
- package/built-in-skills/tdd/refactoring.md +10 -0
- package/built-in-skills/tdd/tests.md +61 -0
- package/built-in-skills/team/SKILL.md +2 -1
- package/built-in-skills/web-artifacts-builder/SKILL.md +1 -0
- package/built-in-skills/webapp-testing/SKILL.md +1 -0
- package/built-in-skills/wechat-pay/SKILL.md +59 -0
- package/dist/cli.cjs +71872 -19960
- package/dist/cli.js +71803 -19846
- package/dist/index.cjs +72010 -19966
- package/dist/index.d.cts +4258 -712
- package/dist/index.d.ts +4258 -712
- package/dist/index.js +72156 -20118
- package/package.json +37 -6
- package/plugins/memory/prismer/__init__.py +1211 -0
- package/plugins/memory/prismer/plugin.yaml +8 -0
- package/plugins/memory/prismer/tool-schemas.generated.json +249 -0
- package/plugins/tools/prismer-recall/__init__.py +282 -0
- package/plugins/tools/prismer-recall/plugin.yaml +15 -0
- package/built-in-skills/memory-curation/SKILL.md +0 -135
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memory-curation
|
|
3
|
-
description: |
|
|
4
|
-
When you have read / processed a workspace asset in this session and learned something
|
|
5
|
-
durable about it, write a memory page so future sessions benefit. Maintain the workspace
|
|
6
|
-
wiki's hierarchical structure as it grows.
|
|
7
|
-
applies_to: [hermes, claude-code, openclaw, codex]
|
|
8
|
-
version: 1
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Memory Curation Skill
|
|
12
|
-
|
|
13
|
-
You have access to a workspace memory layer. Every workspace asset (file uploaded to this
|
|
14
|
-
workspace) is **indexed by metadata only** — filename, mime, size, optional description,
|
|
15
|
-
timestamps. The system does **not** pre-process file contents.
|
|
16
|
-
|
|
17
|
-
To inspect assets, use bounded asset tools:
|
|
18
|
-
|
|
19
|
-
- `prismer.asset.search` to find candidate files
|
|
20
|
-
- `prismer.asset.describe` before reading bytes
|
|
21
|
-
- `prismer.asset.read` for explicit byte ranges only
|
|
22
|
-
|
|
23
|
-
Do not claim to have read an asset unless one of these tool calls succeeded.
|
|
24
|
-
|
|
25
|
-
Your job: when you actually open / read / analyze an asset and learn something durable
|
|
26
|
-
about it, **record what you learned** so future sessions don't repeat the work.
|
|
27
|
-
|
|
28
|
-
## When to write a memory page
|
|
29
|
-
|
|
30
|
-
Write a memory page after handling an asset if and only if **all** of these are true:
|
|
31
|
-
|
|
32
|
-
1. You actually read the asset content (not just listed it).
|
|
33
|
-
2. You produced an analysis, decision, or summary that is non-trivial — not "this file is a
|
|
34
|
-
CSV with 1000 rows" but "this CSV is Q4 sales data with revenue collapse in region APAC".
|
|
35
|
-
3. The conclusion is **durable** — it will still matter weeks from now.
|
|
36
|
-
4. The conclusion is **not derivable** from the asset metadata alone or from re-reading
|
|
37
|
-
the asset directly.
|
|
38
|
-
|
|
39
|
-
Do **not** write a memory page for:
|
|
40
|
-
|
|
41
|
-
- Files you only listed / saw in a directory listing
|
|
42
|
-
- Trivial summaries ("this is a PDF about marketing")
|
|
43
|
-
- Conversation context that belongs in the session, not in long-term memory
|
|
44
|
-
- Process artifacts: build logs, temporary downloads, cache files, scratch outputs
|
|
45
|
-
- Anything the user explicitly asked you not to remember
|
|
46
|
-
|
|
47
|
-
## What to write
|
|
48
|
-
|
|
49
|
-
Format: short Markdown page (typical 200-1000 words). Required structure:
|
|
50
|
-
|
|
51
|
-
```markdown
|
|
52
|
-
# <Short descriptive title>
|
|
53
|
-
|
|
54
|
-
**Source:** [original-filename.ext](prismer://workspace/<wid>/asset/<contentHash>)
|
|
55
|
-
|
|
56
|
-
**Why this matters:** one sentence explaining the durable conclusion.
|
|
57
|
-
|
|
58
|
-
<body — your actual analysis / decision / summary>
|
|
59
|
-
|
|
60
|
-
## Provenance
|
|
61
|
-
- Session: <session id or date>
|
|
62
|
-
- Tools used: <which tools/skills you ran on this asset>
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Use `prismer://` URIs for any cross-reference to other assets, memory pages, tasks, etc.
|
|
66
|
-
This is the wiki link form — agents in future sessions navigate by following these.
|
|
67
|
-
|
|
68
|
-
## Where to put it
|
|
69
|
-
|
|
70
|
-
Path convention:
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
memory/<topic>/<source-slug>.md ← leaf page about one source
|
|
74
|
-
memory/<topic>/<source-slug>/<aspect>.md ← finer-grained aspect of one source
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
`<topic>` is your judgment: `datasets`, `customer-research`, `architecture`, etc. If you
|
|
78
|
-
are uncertain, default to the asset's content kind (`datasets/` for tabular, `documents/`
|
|
79
|
-
for text-heavy, etc.). The Dream consolidation phase will reorganize sub-optimal placements.
|
|
80
|
-
|
|
81
|
-
## Index hygiene (important)
|
|
82
|
-
|
|
83
|
-
The workspace has a top-level `INDEX.md` that points to memory pages. **Do not write
|
|
84
|
-
directly into `INDEX.md`** — the system maintains it. Just write your page at the right
|
|
85
|
-
path and the indexer will pick it up.
|
|
86
|
-
|
|
87
|
-
If you notice the top-level INDEX already has >200 entries, **do not create a fresh
|
|
88
|
-
top-level page**. Instead nest under an existing sub-index (e.g. `memory/datasets/INDEX.md`
|
|
89
|
-
if it exists). The Dream phase will rebalance the hierarchy when it ticks.
|
|
90
|
-
|
|
91
|
-
## Hub merging
|
|
92
|
-
|
|
93
|
-
If you write a page about a topic and there is already a hub page for the same topic
|
|
94
|
-
(check via `memory_search` before writing), **append to or update the existing hub**
|
|
95
|
-
rather than creating a sibling. Hub merging at runtime keeps the wiki coherent and
|
|
96
|
-
reduces work for the Dream phase later.
|
|
97
|
-
|
|
98
|
-
## Deduplication
|
|
99
|
-
|
|
100
|
-
Before writing, run `memory_search` with terms drawn from the asset content. If a memory
|
|
101
|
-
page already contains the same conclusion, do nothing. If a memory page contains a
|
|
102
|
-
**different** conclusion about the same source, do not silently overwrite — append a note
|
|
103
|
-
or update with an explicit reason.
|
|
104
|
-
|
|
105
|
-
## What the Dream phase will do for you
|
|
106
|
-
|
|
107
|
-
You do not need to be perfect. The Dream phase runs periodically (typically idle ≥ 5
|
|
108
|
-
minutes or session boundaries) and will:
|
|
109
|
-
|
|
110
|
-
- Merge duplicates you missed
|
|
111
|
-
- Cluster N pages about one topic into a new sub-hub
|
|
112
|
-
- Mark stale pages (when the source asset was deleted or the conclusion contradicts a
|
|
113
|
-
newer page)
|
|
114
|
-
- Prune low-signal pages that were never recalled and never linked
|
|
115
|
-
- Enforce top-level INDEX size invariants
|
|
116
|
-
|
|
117
|
-
This means: if you are uncertain whether a memory is worth writing, **err on the side of
|
|
118
|
-
not writing**. Dream cannot reconstruct missing knowledge, but Dream can prune excess
|
|
119
|
-
writes.
|
|
120
|
-
|
|
121
|
-
## Anti-patterns
|
|
122
|
-
|
|
123
|
-
- ❌ Writing one memory page per asset by default. Most assets are noise; only a fraction
|
|
124
|
-
yield durable knowledge.
|
|
125
|
-
- ❌ Writing memory pages with content equal to a paste of the asset itself. Memory is
|
|
126
|
-
for **conclusions**, not raw content (the raw is already in the asset).
|
|
127
|
-
- ❌ Writing memory pages for files the user said to ignore.
|
|
128
|
-
- ❌ Editing `INDEX.md` directly.
|
|
129
|
-
- ❌ Creating new top-level INDEX entries when one already exists for the topic.
|
|
130
|
-
|
|
131
|
-
## Anti-pattern detector (rhetorical check)
|
|
132
|
-
|
|
133
|
-
Before saving, ask yourself: "If I encounter this memory page 6 months from now in a
|
|
134
|
-
different session, will it tell me something that re-reading the source asset would not?"
|
|
135
|
-
If the answer is no, do not save.
|