agentleFS
wxxb789wxxb789/hoa/skills/skill-authoring/hoa-skill-port/SKILL.md

hoa-skill-port

Skill2 starsChanged 12 days agoMITView on GitHub

Port a private runtime skill to a shared repository and make that package canonical. When home paths, personal identifiers, model IDs or a vendor CLI prevent reuse, externalize them into configuration or adapter contracts and validate before publication. Not for hoa-skill-curate.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use hoa-skill-create to change behavior and hoa-skill-curate to trace installed provenance.

    line 21
  2. Distinctive:

    Read the destination's contract: Check placement, agent instructions, a neighboring artifact, ignore rules, catalog generation, and CI.

    line 23
  3. Distinctive:

    Validate locally: Follow the destination's actual gates: frontmatter, revisions, catalog regeneration, CI and fixtures as applicable.

    line 30
  4. Distinctive:

    When uncurated skills accumulate in a landing zone that the destination's own policy defines, promotion is a port like any other.

    line 40
  5. Distinctive:

    no retired entry is created for a candidate-only name.

    line 48
  6. Distinctive:

    no runtime swap is needed.

    line 49
  7. Distinctive:

    Optional operations require separate authority: Use runtime swap only for an authorized live cutover or drift probe: validate before …

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Port a skill to a shared repository

Port the method without changing its behavior. Name the canonical repo and package before editing; keep private instances out of the package and avoid a second copy maintained by sync. Use hoa-skill-create to change behavior and hoa-skill-curate to trace installed provenance.

  1. Read the destination's contract. Check placement, agent instructions, a neighboring artifact, ignore rules, catalog generation, and CI. Decide whether this is a shared capability or a repo-owned workflow. Preserve the supported behavior and public inputs/outputs.
  2. De-couple and prove it. Apply the five-axis checklist to identity, paths, transport, vendor constants, and private data. Use role names, portable resolution, and capability contracts with a reference adapter when needed. Publish templates, not private instances; prove ignore coverage and block release on unexpected scan hits.
  3. Validate locally. Follow the destination's actual gates: frontmatter, revisions, catalog regeneration, CI and fixtures as applicable. Never hand-edit generated files or hard-code the repo's current version. When delegating, bound the writes and require runnable acceptance commands; independently rerun them and check action and failure paths, not just dry runs.
  4. Report the port. For each artifact record source and target, line counts, copied files, sections merged or removed and why, and every demoted literal with its replacement and default or required input. Include verification and known limits.

Promote from a landing zone

When uncurated skills accumulate in a landing zone that the destination's own policy defines, promotion is a port like any other; that policy owns the paths and the write rules. The procedure is always:

  • one PR moves the skill: the raw copy in the landing zone is deleted and the normalized package added under the curated root;
  • the new package starts at metadata.revision: "1";
  • the full port review and the curated gates run before it lands;
  • no retired entry is created for a candidate-only name; only curated names retire;
  • no runtime swap is needed; promotion is a publication, not a cutover.

Optional operations require separate authority. Use runtime swap only for an authorized live cutover or drift probe: validate before changing the loader, back up, verify exact config and loader state, and send policy discrepancies to the owner. Use branch publication only for authorized publication. Never push directly to the default branch or force-push.

Configuration

Resolve these keys using configuration.md, under the hoa-skill-port config directory. Defaults are local discovery, not authority to change state.

KeyEnvDefault
repoPORTING_REPOcurrent working tree
package_rootPORTING_PACKAGE_ROOTskills
private_dirPORTING_PRIVATE_DIRprivate (must be ignored)
ci_filePORTING_CI_FILE.github/workflows/ci.yml if present, else discover
catalog_commandPORTING_CATALOG_CMDnone; use the repo's CI
validator_commandPORTING_VALIDATE_CMDnone; use the repo's CI
version_commandPORTING_VERSION_CMDnone; use the repo's version command
base_branchPORTING_BASE_BRANCHremote HEAD branch
dirty_age_hoursPORTING_DIRTY_AGE_HOURS24

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.