#
Procedure
-
Confirm the target.
bashcofactor property list cofactor property skill list --property <id> # see what's already authored, if anything
If the property isn't linked to this repo (or to no repo at all), stop and link it first (see prerequisite above).
-
Capture provenance. Grab the current commit SHA so the items carry "authored from
<repo>@<sha>":bashSHA=$(git rev-parse HEAD) SOURCE_ID="$(gh repo view --json nameWithOwner -q .nameWithOwner)@$SHA"
-
Author in your editor, not in shell. Assemble a
bundle.json:json{ "items": [ { "section": "navigation", "itemKey": "url_grammar", "itemLabel": "URL grammar", "content": "URLs follow /<entity-type>/<id> for list and detail…" }, … ] }Keep item content as plain prose — it ships verbatim into the runtime agent's system prompt.
-
Diff before write. Compare against what's already there so you don't churn identical content:
bashcofactor property skill list --property <id> --format json
-
Import. One call writes the whole bundle:
bashcofactor property skill import --property <id> --file bundle.json --source-id "$SOURCE_ID"
Append-only versioning makes re-runs safe.
-
Verify. Skim the result and re-apply the translation check on three random items:
bashcofactor property skill list --property <id> cofactor property skill export --property <id> --format md