Add support for a new curve data format in the Curves package converter system
日本語の概要は準備中です。原文の説明を表示しています。
Implement an interactive scientific Datagrok application from an approved spec.md
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill takes an approved specification (spec.md) and produces a
complete, working Datagrok application.
Input: spec.md — created by the create-interactive-scientific-application-spec skill or written manually.
Output: fully implemented application with tests.
Base path: .claude/skills/implement-interactive-scientific-application-from-spec/ (relative to repo root).
All file paths below use {SKILL}/ as shorthand.
Find spec.md:
spec.md there.Read spec.md in full. Verify it contains at minimum:
If the spec is incomplete or missing critical sections — tell the user
and suggest running the create-interactive-scientific-application-spec skill first.
Read the following files. Read only what is relevant to the current application — check the spec's complexity level to decide.
Always read:
| File | Purpose |
|---|---|
{SKILL}/references/guide.md | Full implementation guide |
{SKILL}/references/reference/datagrok-api-reference.md | Datagrok inputs, viewers, layouts, subscriptions |
{SKILL}/references/reference/datagrok-coding-conventions.md | File structure, naming, formatting, error handling |
Read the reference example (complete working implementation):
| File | Purpose |
|---|---|
{SKILL}/references/examples/lotka-volterra-spec/lotka-volterra-spec.md | Example spec |
{SKILL}/references/examples/lotka-volterra-spec/code/ | Complete implementation following this architecture |
Read if the spec uses workers (Sections 1.2–1.3 are not N/A):
| File | Purpose |
|---|---|
{SKILL}/references/reference/WORKER-GUIDE.md | Worker-utils infrastructure and lifecycle |
Read if the spec uses parallel execution (e.g., grid search, sensitivity):
| File | Purpose |
|---|---|
{SKILL}/references/reference/PARALLEL-EXECUTION.md | Distribution across worker pools |
Read if the spec involves array-heavy computations:
| File | Purpose |
|---|---|
{SKILL}/references/reference/COMPUTATION-PATTERNS.md | Raw data and null handling |
{SKILL}/references/reference/ARRAY-OPERATIONS.md | Efficient typed array operations |
Follow this implementation sequence strictly:
datagrok-api or ui.validate() returning Map<InputId, string>
(Section 7 of spec).src/<app-name>/workers/
(Section 1.3 of spec). Each worker must be added as a separate entry
point in webpack.config.js:
'<worker-name>': {filename: '<worker-name>.js', import: './src/<app-name>/workers/<worker-name>.ts'}
Workers are loaded at runtime via
new Worker(_package.webRoot + 'dist/<worker-name>.js').css/<app-name>.css with app-specific prefix.
No inline styles (Section 5.3 of spec).Follow the architecture guide strictly. Key principles:
<app-name>- prefix. No generic names.computationsBlocked flag for batch updates.subs[], terminate
workers on close, cancel pending operations.addValidators().busy wait loop for demo
purposes — never reproduce this pattern.alpha, beta),
not UI-prefixed identifiers (ctrl_alpha). The coordinator maps between
domain names and control IDs. Similarly, RANGES (slider min/max) belongs
to the UI adapter, not the core — the core should only define mathematical
domains (e.g., > 0).If during implementation you discover that the specification is incomplete, ambiguous, or inconsistent:
Do NOT improvise or fill gaps silently.
subs[] array.onViewRemoved handler cleans up all resources.| File | Required | When |
|---|---|---|
references/guide.md | Yes | Always |
references/reference/datagrok-api-reference.md | Yes | Always |
references/reference/datagrok-coding-conventions.md | Yes | Always |
references/reference/WORKER-GUIDE.md | Conditional | Spec uses workers |
references/reference/PARALLEL-EXECUTION.md | Conditional | Spec uses parallel execution |
references/reference/COMPUTATION-PATTERNS.md | Conditional | Array-heavy computations |
references/reference/ARRAY-OPERATIONS.md | Conditional | Typed array operations |
references/examples/lotka-volterra-spec/ | Yes | Complete reference implementation with spec |
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Add support for a new curve data format in the Curves package converter system
日本語の概要は準備中です。原文の説明を表示しています。
Create info panels that appear in the context panel based on semantic types
日本語の概要は準備中です。原文の説明を表示しています。
Add a new single-objective optimization algorithm to the sci-comp library. Use when the user asks to implement a new optimizer (e.g. gradient descent, BFGS, simulated annealing, differential evolution).
日本語の概要は準備中です。原文の説明を表示しています。
Add unit tests to a Datagrok package
日本語の概要は準備中です。原文の説明を表示しています。
Answer a "how do I …" question about the platform with a Gherkin scenario on @datagrok-libraries/bdd that is filmed into a how-to video (grok-bdd guide), so the answer is demonstrated, sent as a video plus numbered steps, and kept as a regression test
日本語の概要は準備中です。原文の説明を表示しています。
Translate hand-written Playwright specs (or any existing UI tests) into Gherkin features on @datagrok-libraries/bdd, then prove the features test what they claim by backward-matching them against the originals with independent reviewers, and fix the gaps in the core, the library and the features
日本語の概要は準備中です。原文の説明を表示しています。