Skip to content
Back to skills

Candb Studio Development

ASecurity

Builds, layout, and workflows for the candb-studio repo — extension host vs webview, compile steps, and where to change behavior. Use when implementing features, debugging the custom editor, or navigating src/ and webview-ui/.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
developmentdebugginggitdatabasefrontend

Works with

  • vscode

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add afri-bit/candb-studio --skill candb-studio-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Candb Studio Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Candb Studio Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/afri-bit-candb-studio-development/badge)](https://www.skillsdirectory.com/skills/afri-bit-candb-studio-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: candb-studio-development
description: Builds, layout, and workflows for the candb-studio repo — extension host vs webview, compile steps, and where to change behavior. Use when implementing features, debugging the custom editor, or navigating src/ and webview-ui/.
---

# candb-studio development

## Build
- **Full compile**: `npm run compile` — runs `build:webview` (Vite) then webpack for `dist/extension.js`.
- **Webview only**: `npm run build --prefix webview-ui`.
- Extension entry: `package.json` → `main: ./dist/extension.js`.

## Formatting
- **Prettier** (root): `npm run format` formats `src/**/*.ts` (4 spaces) and `webview-ui/**/*.{ts,svelte,css,js}` (2 spaces; `prettier-plugin-svelte` for `.svelte`).
- **Svelte check**: `npm run check --prefix webview-ui` before merging large UI changes.

## Repository map
| Area | Path |
|------|------|
| Extension activate / wiring | `src/extension.ts` |
| DBC load/save, edits | `src/application/services/CanDatabaseService.ts` |
| Webview RPC | `src/presentation/webview/WebviewMessageHandler.ts`, `messages/WebviewMessageTypes.ts` |
| Webview JSON projection | `src/presentation/webview/serializeDatabaseForWebview.ts` |
| DBC parse/write | `src/infrastructure/parsers/dbc/DbcParser.ts`, `DbcSerializer.ts` |
| Domain | `src/core/models/database/` |
| Svelte app | `webview-ui/src/App.svelte`, `webview-ui/src/lib/components/` |

## Contracts
- Extend **both** `WebviewToExtensionMessage` and webview postMessage call sites; handler must `persistEditorDocument` after successful mutations when appropriate.
- Serialized DB shape is consumed by Svelte stores — add fields in `serializeDatabaseForWebview` and `webview-ui/src/lib/types`.

## Quality gates
`npm run compile` -> `npm run lint` -> `npm run test:unit` (-> `npm run test:integration`) -> `npm run spec:validate` when `openspec/` changed.

## Workflow
GitHub issue -> OpenSpec change (`openspec/changes/<name>/`) -> implement -> tests -> PR. See `docs/workflow/README.md` and `.claude/README.md`.

## Agents
Full roster, model tiers and routing: `.claude/README.md` and the `orchestration-playbook` skill. Quick picks: UI **frontend-webview**; host **vscode-extension**; CAN/DBC **automotive-can**; logs/replay **blf-replay-engineer**.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.