Cairn project migration
Use this skill when a user asks to scan, migrate, convert, cairnize, document, audit, or bring any software project up to the Cairn knowledge format. Stages Cairn concepts and migration reports without modifying source files by default.From its SKILL.md
npx -y skills add danny121583/cairn --skill cairn-project-migrationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
2.4 KB, 436 tokens by cl100k_base, as published. Nobody here has run it
Cairn Project Migration
When To Use
Use this skill when the user wants an agent to:
- scan an existing project for Cairn concepts
- bring a project up to Cairn standard
- generate
cairn-proposed/ - write a Cairn migration report
- infer project knowledge relationships with evidence
- audit per-concept Cairn readiness
Do not use this skill for general README editing, unrelated documentation cleanup, or adding memory, embeddings, workflows, or permissions to Cairn core.
Core Rule
Operate read-only against the source project by default. Stage all generated artifacts outside the source project unless the user explicitly asks to write into the target.
Procedure
-
Identify the target project directory from the user's request.
-
Run the bundled scanner:
python3 scripts/cairnize.py /path/to/project -
If the user explicitly wants staging files inside the target project, run:
python3 scripts/cairnize.py /path/to/project --write-into-target -
Review the JSON summary printed by the script. It includes:
proposed: staged concept directoryreport: timestamped migration reportconcepts: number of concepts stagedrelations: number of inferred relationssource_modified: whether output was written inside the source project
-
Present the staged directory and report path to the user. Stop there unless the user explicitly asks you to merge or edit the source project.
Evidence Rules
- Descriptions must come from existing source text.
- Use
<needs author input>when no source text supports a description. - Mark generated relations as
confidence: inferred. - Every inferred relation must cite concrete evidence in
note: file, line, import, foreign key, or config key. - Never report a whole-bundle compliance score. Report per concept only.
Reference
Read references/CAIRN_MIGRATION_CONTRACT.md when changing the scanner, reviewing staged output, or resolving edge cases.
What ships with it: 6 files
17.2 KB alongside SKILL.md, 1 of them executable
assets/
evals/
- evals.json858 B
references/
scripts/
- cairnize.pyruns13.0 KB