prism-catalog-change
БесплатноБез исполняемых скриптовНе проверенChange KiCAD Prism catalog behavior or structure while preserving public payload, hash, file, signed-URL, import, and concurrency contracts.
от krishna-swaroop★ 335 звёзд на GitHubОб этом скилле
Change the Prism catalog
Read the repository and service maps first: AGENTS.md and
backend/app/services/AGENTS.md. The stable composition root is
backend/app/services/component_catalog_service.py; it exposes the runtime
singleton used by backend/app/api/catalog_admin.py,
backend/app/api/remote_provider.py, and
backend/app/services/catalog_worker_tasks.py. Trace one public request or
worker payload through that root to the relevant service methods and tests
before editing.
Contract gates
- Preserve component payload identity and ordering, revision history, audit chain validity, revision manifest hashes, placement manifests, inline bundle bytes, and signed asset URL expiry/signature validation.
- Preserve CSV column order and bytes, KiCad DBL generated files and digests,
and import-session/proposal behavior. The authoritative project/folder import
suites are
backend/tests/test_project_component_import_service.pyandbackend/tests/test_library_folder_import_service.py; add only a focused cross-contract assertion when needed. - Required fields, value shapes and import readiness live only in
backend/app/services/catalog/field_rules.py. After changing it, runpython3 scripts/export_catalog_field_rules.pyand extendfrontend/src/lib/catalog-field-rules.cases.json; never add a required list or URL check to a grid, form or import service. - Identity locking, concurrent revision/audit serialization, and QA approval
already have coverage in
backend/tests/test_component_catalog_postgres_integration.py. Do not duplicate those tests or weaken the dedicated PostgreSQL zero-skip gate. - Use public service APIs in new tests. Do not add private catalog callers; private-member counts are enforced by the architecture ratchet.
- New modules under
backend/app/services/catalog/must not importbackend/app/services/component_catalog_service.py,backend/app/services/component_catalog_service_postgres.py, orbackend/app/services/component_catalog_domain.py. Keep composition outside the package or use explicit dependency injection; do not add dynamic__getattr__delegation or mixins.
Verification
Quick checks from the repository root:
python3 scripts/check_catalog_architecture.py
python3 scripts/check_module_size.py
python3 scripts/check_agent_docs.py
python3 -m unittest backend.tests.test_catalog_architecture backend.tests.test_module_size_gate -v
python3 -m compileall -q backend/app scripts/check_catalog_architecture.py scripts/check_module_size.py
git diff --check
Full backend checks:
backend/venv/bin/python -m unittest discover -s backend/tests -p 'test_*.py'
TEST_POSTGRES_URL=postgresql://.../dedicated_catalog_test \
backend/venv/bin/python -m unittest backend.tests.test_component_catalog_postgres_integration -v
The PostgreSQL command must use a disposable database distinct from
PRISM_DATABASE_URL; a skipped integration suite is a failed gate, not a
passing result. Report exact counts and any unavailable Docker/KiCad/database
checks rather than calling a focused run the full quality gate.
Установить prism-catalog-change в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл prism-catalog-change?
Change KiCAD Prism catalog behavior or structure while preserving public payload, hash, file, signed-URL, import, and concurrency contracts.
Как установить скилл prism-catalog-change?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prism-catalog-change запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic