Skip to content
Skills Library
Programming · Planning

design

/design

Use when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session.

Repository
brepjs ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Use when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session.

Original author description

Use when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session.

How it works

  1. Decomposition method
  2. Choose reliable operations
  3. Output
Original SKILL.md headings · 43 lines, 284 words
SKILL.md preview
---
name: design
description: Use when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session.
version: 0.1.0
---

# Design the build sequence

Turn a spec (from `brepjs:brainstorm`) into an **ordered list of operations** the implementer will
author. You decide _how_ to build the part — which ops, what order — not the code itself. Run this
in the main session.

## Decomposition method

Build outward from a base, in this rough order:

1. **Base body** — a primitive (`box`/`cylinder`/`cone`/`sphere`) sized to the main envelope.
2. **Additive/subtractive booleans** — `fuse` bosses/ribs on, `cut` holes/pockets/bores out.
3. **Sketched features** — when a profile isn't primitive-shaped: 2D sketch → `extrude`/`revolve`.
4. **Modifiers** — `fillet`/`chamfer`/`shell`/`offset` last, on the consolidated solid.
5. **Multiplicity** — `circularPattern`/`rectangularPattern` for repeats; `compound([...])` for
   multi-part assemblies (no boolean cost, each body stays distinct).

## Choose reliable operations

Prefer kernel ops that succeed first-try; reach for advanced ops only when a feature genuinely
needs them, and flag those steps as "expect iteration". The canonical reliability tiers live with
the implementer (so its clean-room worker always has them):

→ **`../implement/references/operation-tiers.md`** (reliable-first-try vs advanced vs assemblies vs
mechanisms).

Key consequences for the sequence:

- Round a corner with `fillet` over `chamfer` (chamfer is kernel-fragile).
- Build a prism you'll later `fillet`/`shell` from a **primitive**, not a sketch-extrude, to avoid
  the `Shape3D → ValidSolid` lift.
- A hemisphere/dome is a full `sphere` clipped by a half-space, not a primitive.
- **Mechanisms** (anything that moves) need a motion-validation step in the plan: sweep the drive
  parameter and assert no interpenetration — a statically-valid assembly can still jam.
  See `../implement/references/assemblies-motion.md`.

## Output

Emit a numbered build sequence, each step naming the operation and its inputs, with advanced/risky
steps flagged. In the `/brepjs:cad` pipeline this is the gate where the orchestrator gets approval;
standalone, hand it to **`brepjs:implement`**.

Versions

RepositoryScoreLicence
This page · andymai/brepjs90Apache-2.0
cihantopac/markilo100Apache-2.0
NatikChhabra/claude-arsenal100MIT
AtlasScope/agent-kit100MIT
jeremylongshore/tons-of-skills-marketplace100MIT
NathanColosimo/skills100MIT
serpro69/claude-toolbox100Apache-2.0
serpro69/claude-toolbox100Apache-2.0
ouestlabs/audio-ui100MIT

Database snapshot: 13.11.2026 · package version 56dfc2fc633b (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90brepjs-design
    Use when you have a brepjs part spec and need to decompose it into an ordered build sequence — choosing which kernel operations to use and in what order, preferring reliable ops and flagging advanced ones (sweeps, lofts, mechanisms) before any code is authored. Runs in the main session.
  • 100wasm-interop
    This skill should be used when working across the JS/WASM boundary in brepjs — writing or debugging code in src/kernel/occt, src/kernel/occtWasm, or src/kernel/brepkit, or diagnosing symptoms like "enum comparison is always false", "GetType returned an object not a number",…
  • 86agent-ops-spec-before-build
    Use when starting a build. Spec before building anything.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.