Rlm workflow

From SteelMorgan/1c-agent-based-dev-framework · View interactive version

Rlm workflow is an AI agent skill from the GitHub repository SteelMorgan/1c-agent-based-dev-framework. Before non-trivial domain work, read RLM

How to use this skill

Skill file

Memory Layout and Working with RLM

Two memory layers with different loading models. Native is push (always in context), RLM is pull (retrieved on demand). Do not confuse their purpose.

Layout (GUARD)

| Knowledge | Where | Why |

|---|---|---|

| Small, needed every turn, critical: safety, invariants, standing preferences, pointer to the active task | native (MEMORY.md + memory/*.md) | push - stays in context always, survives compaction for free |

| Universal, reusable, growing, detailed: patterns/antipatterns, architecture decisions with alternatives, stable domain facts about 1С/БСП, findings by modules | RLM (pull) | must NOT stay in context; retrieved by topic via semantic search |

| Transient task state: PENDING, next step, WIP | task_dir/.context/*.md (agent-context) | lives in the task, not in memory |

GUARD: do NOT keep universal knowledge in native/always-on context all the time (bloats every startup). Transient state is NOT in RLM.

TRIGGER - WRITE to RLM

→ apply the rlm-workflow skill (how to write: tool, level, causal decision).

TRIGGER - READ from RLM (at the boundary of work, NOT every turn)

→ one rlm_enterprise_context(query=<domain/symptom>) BEFORE design/implementation. Details are in the skill.

Parallel: search-before-write checks existing code; this trigger checks existing knowledge. The trigger is phase-based: at work entry, otherwise pull degrades into push.

MUST (invariant, always)


depends_on:


Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.