brilliantrough/agent-skills

migrate-mem

Establish useful memory for a project that already has development history, or improve an incomplete memory setup.

查看源码
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Migrate Memory

Intent

Help an already-developed project acquire a readable, trustworthy memory foundation. The emphasis is understanding the project and initializing useful StrictDoc documentation, not moving old files or converting every artifact.

Use judgment about investigation depth, document structure, storage overlap, and which questions need the user's input. There is no fixed inventory, mandatory classification report, or approval ceremony for every initialization.

Understand the project as it exists

  • Look across project instructions, README, main modules, entry points, configuration, existing docs, and relevant development history. Follow the evidence far enough to understand purpose, architecture, conventions, current state, and unfinished work.
  • Existing Magic Context memories and claude-mem observations can recover decisions or experiences not visible in code. Their absence does not prevent initializing StrictDoc.
  • Read the useful sources in context rather than assuming particular note names, plan directories, or an older development methodology. Generated output and exhaustive transcripts rarely need the same attention as key code and decisions.
  • Separate intended policy, observed implementation, past experience, and unresolved questions. Newer evidence can reveal change without automatically settling what the current rule ought to be.

Build a useful memory foundation

The companion save-mem skill describes writing taste and StrictDoc mechanics. Its assets/docs-skeleton/ is a starting point, located through the skill registry or the sibling ../save-mem/ directory, not a fixed home-directory path.

Common locationUseful content
docs/project_memory/decisions.sdocCurrent rules and decisions, their scope and rationale, and retired predecessors
docs/project_memory/journal.sdocA dated project baseline, important experiences, progress, and open questions
docs/handbook/Reference material worth maintaining: architecture, usage, specs, or operational guidance
docs/strictdoc_config.pyThe StrictDoc project configuration
  • Adapt this layout to what already exists. Missing docs or a missing skeleton are normal starting conditions; an existing docs directory is not an invitation to overwrite it.
  • Distill enough knowledge to make the project understandable. Prefer a small useful baseline over a document for every module or every past action.
  • Make current StrictDoc norms the source of truth, distinguishable from historical journal entries and reports. Statuses such as Active, Proposed, Deprecated, and Superseded help preserve this distinction as the project evolves.
  • When sources conflict or the intended rule is unclear, surface the consequential question. Avoid inventing a rationale or presenting inferred policy as confirmed. If a settled decision has genuinely changed, maintain the current norm and briefly tell the user rather than waiting for a separate documentation command; ordinary memory and explanatory cleanup can be more flexible.
  • The same fact or decision may also be stored in Magic Context. Choose overlap that improves recall and resilience; neither one-store-per-fact nor mirror-everything is the goal.

Preserve the project while improving readability

  • Keep existing source material and working documentation useful. Add or integrate rather than automatically moving, archiving, deleting, or reformatting everything; discuss consequential restructuring with the user.
  • On later runs, build on existing nodes and references instead of recreating the baseline. Observe the project's history-preservation and version-control conventions.
  • Write for humans: Chinese by default, short phrases and sentences, numbered points, bullets, compact tables, and occasional adjacent PS: explanations. Preserve technical precision and useful evidence without importing walls of text into the current norms.
  • Where helpful, connect conclusions to source files, commits, or memory references. Original documents can remain as evidence rather than being copied verbatim into the new handbook.
  • Startup/save guidance in AGENTS.md can help future Agents find the memory. Align it with the agreed intent where needed, preserving unrelated project instructions.

Check the result in the real project

  • Use the available StrictDoc installation or project environment. Inspect existing config and grammar before changing them; avoid assuming a specific version, environment manager, or plugin installation.
  • Validate .sdoc and configuration changes with strictdoc export . from the docs root, and inspect enough of the export to see whether lists, tables, and notes are readable.
  • Consider whether a new reader can tell what applies now, why it applies, what happened before, and what remains uncertain. A successful export alone does not establish that the content is correct.
  • Briefly report the useful memory established, unresolved questions, and actual validation status. Missing integrations or unverified runtime claims can remain explicit gaps rather than reasons to invent completion.
来自同一仓库

更多 Skills

全部 Skills
brilliantrough
社区

code-review

Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/spec asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to \"review since X\".

安装量
1
GitHub Stars
3
最近更新
9月20日
brilliantrough
社区

domain-modeling

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a CONTEXT.md, or recording or editing an ADR.

安装量
1
GitHub Stars
3
最近更新
9月20日
brilliantrough
社区

exp-probe

Run one-off research spot experiments with minimal ceremony. Use when explicitly requested, or for a missing datapoint, a rerun after failure (OOM, crash), a sanity check of one configuration, a minimal bug reproduction, or a cheap measurement that a campaign needs before deciding. At most one focused question; run, record, report in one line. Escalate to exp-batch if the spot check turns into a branch, or exp-campaign if it reveals a decision tree; if the question itself is still fuzzy, route back to exp-discuss.

安装量
1
GitHub Stars
3
最近更新
9月20日
brilliantrough
社区

grill-with-docs

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

安装量
1
GitHub Stars
3
最近更新
9月20日