revealui-sync-rules
Verify agent rules distribution topology across RevealUI repos (revcon profiles, materialized copies). Prefer control-layer / revcon entrypoints; Claude hook path is one adapter. Read-only; never mutates without asking.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- revealui-sync-rules
- license
- MIT
- metadata
- { "author": "RevealUI Studio", "version": "0.3.1", "website": "https://revealui.com" }
- description
- Verify agent rules distribution topology across RevealUI repos (revcon profiles, materialized copies). Prefer control-layer / revcon entrypoints; Claude hook path is one adapter. Read-only; never mutates without asking.
- allowed-tools
- Bash
03 SKILL.md 正文
Run the topology check and report results.
Entry points (first match wins)
# 1) Control-layer / revcon when available
if [ -x "$REVEALFLEET_ROOT/revcon/link.sh" ]; then
# report-only: do not run link.sh without owner ask; prefer check scripts
echo "revcon present: $REVEALFLEET_ROOT/revcon"
fi
if [ -f "$REVEALFLEET_ROOT/revskills/scripts/verify-copy-lockstep.sh" ]; then
bash "$REVEALFLEET_ROOT/revskills/scripts/verify-copy-lockstep.sh" 2>/dev/null || true
fi
# 2) Claude adapter hook (legacy Studio path)
if [ -f "$HOME/.claude/hooks/sync-rules.sh" ]; then
bash "$HOME/.claude/hooks/sync-rules.sh"
elif [ -f "$HOME/.claude/hooks/sync-rules.js" ]; then
node "$HOME/.claude/hooks/sync-rules.js" 2>/dev/null || true
else
echo "SKIP: no sync-rules entry on this machine — inspect revcon profiles + .claude/.revcon-manifest.json manually"
fi
How to interpret output (two sanctioned distribution modes):
<repo>: materialized— git-tracked copies +.claude/.revcon-manifest.json; content verification is that repo's rules-lockstep CI.BROKEN SYMLINK/FOREIGN TARGET(exit 1) — fix on revcon side; report and ask before touching.VENDORED COPY(warn) — regular file shadows profile rule without manifest; present options and ask.
Do not auto-fix. Report, then ask for direction.
Historical note: independent dual-copy diffs against the coordination hub were retired 2026-07-16.
04 同仓库更多 Skills
good-skill
A minimal valid skill fixture used to prove the skills-lint and plugin-lint validators accept well formed input. Covers frontmatter shape only.
bad-skill-missing-field
暂无简介
bad-skill-awk
Fixture skill whose fenced shell block violates lint-skill.awk. skills-lint must reject it.
yjs-collaboration
Yjs CRDT collaboration patterns for real-time and offline-first editing. Use when building collaborative documents, shared scratchpads, or multi-user editing. Covers Y.Doc, Y.Map, Y.Array, Y.Text, state encoding, structured patches, server-side document manipulation, and conflict-free merge semantics.
vitest-testing
Vitest testing patterns for production TypeScript projects. Use when writing tests, fixing test failures, configuring coverage, mocking modules, debugging flaky tests, or setting up Vitest in a monorepo. Covers Vitest 3+, vi.mock, vi.fn, React Testing Library, PGlite in-memory PostgreSQL, pool forks, maxWorkers, and hookTimeout.
tailwind-v4
Tailwind CSS v4 patterns, CSS-first configuration, and v3 migration guide. Use when writing styles, configuring @theme variables, creating components with CVA, migrating from tailwind.config.js, or using container queries, dark mode, and new v4 utility syntax. Covers @import tailwindcss, custom properties, oklch colors, and clsx.