1---2name: yiftahb-agsync-context-manager3description: <task>4---56<task>7Help the user create or maintain agsync structured context files:891. **Author** `.agsync/instructions.md` (root or package) and `.agsync/patterns/*.md`102. **Migrate** from `.cursorrules`, `.cursor/rules/*.mdc`, or `.coderabbit.yaml`113. **Validate** with `agsync validate` after every write12</task>1314<guidelines>15**instructions.md format:**16```markdown17---18extends: root # omit at root level19apply_patterns:20 - id: pattern-id21 paths: ["subdir/**"]22---2324## HLD25Prose description of architecture and intent.2627## Guidelines28- id: rule-id29 rule: "the rule, phrased as a constraint"30 override: true # only if overriding a parent rule with same id31```3233**pattern file format** (`.agsync/patterns/<name>.md`):34```markdown35---36id: pattern-name37---3839## HLD40Why this pattern exists.4142## Guidelines43- id: rule-id44 rule: "the rule"45```4647**Migration rules:**48- `.cursorrules` flat text → extract imperative lines → propose as guidelines in root `instructions.md`49- `.mdc` with `globs:` → map globs to `paths:` on guidelines or `apply_patterns`50- `.coderabbit.yaml` `path_instructions` → reverse-map each path entry to guidelines with matching `paths:`51- Ask before deleting source files52</guidelines>5354<important>55- Every guideline needs a unique `id` — use kebab-case, describe the constraint not the action56- No duplicate rules across packages unless `override: true` is intentional57- Paths in guidelines are relative to repo root — `backend/**` not `./backend/**`58- Run `agsync validate` before reporting done; fix any errors or warnings59- Do not add guidelines that restate the obvious — only non-obvious constraints survive60</important>6162---63> Source: [yiftahb/agsync](https://github.com/yiftahb/agsync) — distributed by [TomeVault](https://tomevault.io).64<!-- tomevault:4.0:skill_md:2026-05-23 -->
Run npx skillmds@latest add tomevault-io/yiftahb-agsync-context-manager in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
<task> It is listed under Productivity on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.