Skip to content

feat(import): reverse-sync legacy rules via cinch import - #36

Merged
00200200 merged 1 commit into
mainfrom
feat/cinch-import
Sep 30, 2026
Merged

00200200 merged 1 commit into
mainfrom
feat/cinch-import

Conversation

@00200200

Copy link
Copy Markdown
Owner

Summary

  • Adds cinch import <path> [--out DIR] [--from-harness/--from] [--dry-run] [--yes] to decompile legacy Cursor, Claude, Copilot, and Cline rule/skill files into canonical Cinch SKILL.md packages under .cinch/imported by default.
  • Reuses the existing Doc model and frontmatter helpers; auto-detects dialect from path markers and requires --from-harness when ambiguous.
  • Covers unit tests for each dialect plus Cline/Claude round-trip import(export(skill)).

Closes #7

Test plan

  • uv run pytest
  • uv run ruff check .
  • uv run ruff format --check .
  • Manually: cinch import .cursorrules --dry-run then --yes and inspect .cinch/imported

Add `cinch import` to reverse-sync .cursorrules, Claude SKILL.md packages,
Copilot instructions, and .clinerules into canonical Cinch skill markdown.
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance labels Sep 30, 2026
@github-actions

Copy link
Copy Markdown

👋 Thanks for opening this pull request, @00200200!

We're thrilled to have your contribution to cinch! Here is a quick checklist to help get your PR merged smoothly:

  • Linked Issue: Issue reference detected in PR body. ✅
  • Local Verification: Verify all checks pass locally using uv run pytest and uv run ruff check ..
  • Commit Hygiene: Ensure commit messages follow conventional commit style (feat:, fix:, docs:).

A maintainer will review your code shortly. Feel free to ping in comments if you have any questions! 🚀

@00200200
00200200 merged commit f7ac3bf into main Sep 30, 2026
8 checks passed
@00200200
00200200 deleted the feat/cinch-import branch September 30, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request tests Testing and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(import): Reverse-sync engine (cinch import) to decompile legacy .cursorrules & .claude/skills

1 participant