agentleFS
YipxiyiYipxiyi/OpenArc/skills/workspace-migration/SKILL.md

workspace-migration

Skill5 starsChanged 5 months agoMITView on GitHub

Use when migrating an existing repository or workspace into OpenArc conventions, aligning docs, specs, plans, assets, agent guides, versions, and release workflow without destructive rewrites.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when a user wants an existing workspace adjusted to OpenArc conventions.

    line 8
  2. Distinctive:

    Ask for confirmation before moving or renaming files.

    line 35
  3. Very specific:

    If scripts/openarc.py is available, start with:

    line 40
  4. Distinctive:

    Use the scan to seed the migration plan, not to auto-move files.

    line 46
  5. Very specific:

    Use docs/specs/* for specs and docs/TASKS.md for active tasks.

    line 72
  6. Distinctive:

    Do not flatten useful project-specific organization.

    line 75
  7. Distinctive:

    Do not move files only for aesthetics.

    line 76
  8. Distinctive:

    Do not delete legacy docs unless the user explicitly confirms deletion.

    line 77
  9. Distinctive:

    Prefer aliases, index links, or patching when moving would break references.

    line 78
  10. Very specific:

    Use templates/MIGRATION.template.md for persistent migration plans.

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workspace Migration

Use this skill when a user wants an existing workspace adjusted to OpenArc conventions.

Goal

Move an existing repository toward OpenArc structure while preserving working project intent and minimizing churn.

Migration Workflow

  1. Inventory the workspace:
    • agent guides
    • README and docs
    • code style docs, formatter config, lint config, tests, and naming conventions
    • repo profile and profile-relevant PRD/design/brand materials
    • docs/specs/*, docs/plans/*, and docs/TASKS.md
    • assets
    • changelog and releases
    • CI and GitHub workflows
  2. Map existing files to OpenArc targets.
  3. Identify missing code style preferences that cannot be inferred from existing config or code.
  4. For UI, frontend, desktop, mobile, or component profiles, identify missing design preferences that cannot be inferred from existing design docs, components, CSS, or assets.
  5. Classify actions:
    • keep as-is
    • patch in place
    • move or rename
    • create missing
    • archive duplicate
  6. Produce a migration plan before editing.
  7. Ask for confirmation before moving or renaming files.
  8. Apply small patches first.
  9. Validate links, docs, JSON/YAML, tests, and release workflow as applicable.
  10. Report all created, modified, moved, and skipped files.

If scripts/openarc.py is available, start with:

python3 plugins/openarc/scripts/openarc.py scan .

Use the scan to seed the migration plan, not to auto-move files.

Profile-Aware Target Structure

For an unknown profile, stop at the existing repository conventions plus a README and one agent guide. Do not create the docs/ tree below from the profile alone.

AGENT.md or AGENTS.md
README.md
docs/
  PROJECT_BRIEF.md # when durable project intent needs a home
  CODE_STYLE.md    # when stable conventions need a home
  TASKS.md         # multi-stage or multi-person/agent coordination only
  specs/           # behavior or compatibility contracts only
  plans/           # sequencing, migration, rollback, or validation risk only
  CHANGELOG_AI.md  # when AI change memory is explicitly used
  archive/         # when historical context needs archiving
  PRD.md        # app/product profile when needed
  DESIGN.md     # UI/frontend/desktop/mobile profile when needed
  BRAND.md      # public brand or identity profile when needed
  assets/       # existing assets or explicitly requested organization only

Rules

  • Existing files win over templates.
  • Use docs/specs/* for specs and docs/TASKS.md for active tasks; do not create parallel spec or task trees.
  • Preserve inferred code style in docs/CODE_STYLE.md; ask only for preferences the repo cannot reveal.
  • Repo profile controls target scope; script, CLI, automation, library, and docs-only repositories do not need design or brand scaffolding by default.
  • Do not flatten useful project-specific organization.
  • Do not move files only for aesthetics.
  • Do not delete legacy docs unless the user explicitly confirms deletion.
  • Prefer aliases, index links, or patching when moving would break references.
  • Use templates/MIGRATION.template.md for persistent migration plans.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.