<< All versions

Skill v1.0.1

currentLLM-judged scan90/100
scott-fryxell/brayness/brayness-sync

+1 new

──Details
PublishedOctober 23, 2026 at 09:17 PM
Content Hashsha256:df72067c62fe638a...
Git SHA71f10e2ca709
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 3.5 KB)
SKILL.md3.5 KBactive
SKILL.md · 61 lines · 3.5 KB

version: "1.0.1" name: brayness-sync description: Sync changes from dev brayness/ to the published git mirror at skills/brayness-sync/published/. Copies skills, extensions, bin, agent docs, and selected .pi/agent config while excluding secrets, sessions, nested .git dirs, and node_modules. Validates the copy, shows git diffs, and proposes commits. Use for "sync brayness", "prepare release", or after major skill/extension changes.


Brayness Sync

One-way copy: dev root -> skills/brayness-sync/published/ (the git-tracked mirror for releases). Dev has working chaos (nested repos, secrets, sessions); the mirror stays clean and publishable. Every sync is reviewed - no blind sync.

Copy list (source of truth)

PathWhy
skills/skill catalog
extensions/extensions
bin/harness scripts and CLI wrapper
prompts/prompt templates
package.jsonapp dependency + scripts
AGENTS.md, README.mdagent docs
.ignore, .nvmrcrepo config
.pi/agent/settings.json, .pi/agent/models.jsonpi config
.pi/agent/npm/README.md, .pi/agent/npm/.gitignoreadd-on signposts
.pi/agent/extensionssymlink
.cursor/skills, .claude/skillsrepo-root symlinks (Cursor/Claude Code)

Never copy: .pi/agent/ anything else (auth, trust, caches, models-store, sessions, npm/node_modules), .env*, nested .git/, node_modules/, AGENTS.local.md, plans/, work/ projects, and skills/brayness-sync/published/ itself - the mirror is the target, never a source.

The plans viewer now lives in work/brayness/examples/plan-viewer/ - a product tree the mirror does not ship. package.json still names its scripts, so a published npm run plans points at a path that stays on the dev machine.

Sessions rule: transcripts may contain secrets or personal info. They stay in dev, always.

Workflow

  1. Detect - diff dev against the mirror for the copy-list paths;

summarize what changed.

  1. Plan - show what will be copied and excluded; get approval.
  2. Copy - commands in references/workflow.md.
  3. Validate - checks in references/validation.md (no nested .git,

no .env, no node_modules, structure intact). Stop on any failure.

  1. Review - git diff in the mirror; walk the user through it.
  2. Commit - propose a message; commit only after approval.

Worked examples: references/examples.md.

One-time migration note

The mirror may still have the pre-2026-08-06 layout (root settings.json, models.json, sessions/, npm/). First sync after the .pi/agent/ move: git mv those into .pi/agent/ in the mirror (or delete root sessions/ - it should never have shipped), then run the normal sync. Show the user this migration as its own diff before anything else.

← v1.0.0All versions