analysis-spec-builder

Build and iteratively refine physics analysis specifications using analysis-specification-template.md. Use when the user asks to create or update an analysis spec, requests plots/histograms for a dataset, or describes a quick analysis task that should be formalized into a specification document.

16 stars

Best use case

analysis-spec-builder is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Build and iteratively refine physics analysis specifications using analysis-specification-template.md. Use when the user asks to create or update an analysis spec, requests plots/histograms for a dataset, or describes a quick analysis task that should be formalized into a specification document.

Teams using analysis-spec-builder should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/analysis-spec-builder/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/tools/analysis-spec-builder/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/analysis-spec-builder/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How analysis-spec-builder Compares

Feature / Agentanalysis-spec-builderStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Build and iteratively refine physics analysis specifications using analysis-specification-template.md. Use when the user asks to create or update an analysis spec, requests plots/histograms for a dataset, or describes a quick analysis task that should be formalized into a specification document.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Analysis Spec Builder

## Workflow

1. Read the template from `./assets/analysis-specification-template.md` (relative to the this file, in the `analysis-spec-building` sub directory).
2. Draft a filled-in specification by replacing all `{{...}}` placeholders with concrete content derived from the user's request.
3. Ask focused follow-up questions for any missing critical details (datasets, selections, histogram definitions, workflow steps, tooling). Keep questions short and grouped by section.
4. Iterate revisions until the user confirms the specification is correct.
5. Write the final content to `specification.md` unless the user provides a different path.

## Drafting Rules

- Replace every `{{...}}` placeholder with real content; do not leave placeholders in the final spec.
- Keep the tone concise and technical; preserve the template section order.
- If something is unknown, propose a reasonable default and mark it as a question in the next response (do not leave placeholders).
- Preserve any explicit dataset identifiers or analysis names verbatim. Assume the user will use PHYSLITE unless told otherwise, or you know the data isn't available there.
- Use ASCII-only text unless the template already uses non-ASCII (e.g., LaTeX labels inside backticks).
- This is a specification, not a step-by-step plan for implementation of the analysis or plot.
- Details, exactly what version of objects or containers, are not included here. When detailed plans are developed from here, they will be determined. On the other hand, if the user specifies them, then they should be explicitly mentioned.
- The tools section: by default use `servicex` with `func_adl` to fetch data from the source datasets, and `awkward`, `hist`, and `vector` for manipulation and histogram fitting. Histograms should be stored as PNG by default. For statistical analysis (if needed) use cabinetry and pyhf.

## Follow-up Questions

- Ask only for details needed to proceed (e.g., missing datasets, histogram axes, selections).
- Prefer yes/no or short-answer questions.
- When the user provides new details, update only the affected sections and summarize what changed.

## Output

- Provide the full draft spec in the response until the user says it is final.
- On confirmation, write the specification to the requested path (default: `specification.md`) and confirm where it was written.

Related Skills

asset-builder

16
from diegosouzapw/awesome-omni-skill

Manage CSS/JS building with npm/wp-scripts. Use when working on login page styles or scripts.

arxiv-analysis

16
from diegosouzapw/awesome-omni-skill

Analyze arXiv research papers and explain them in accessible terms. Use when the user mentions arXiv, research paper, academic paper, scientific paper, preprint, or provides an arxiv.org URL.

arduino-project-builder

16
from diegosouzapw/awesome-omni-skill

Build complete, production-ready Arduino projects (environmental monitors, robot controllers, IoT devices, automation systems). Assembles multi-component systems combining sensors, actuators, communication protocols, state machines, data logging, and power management. Supports Arduino UNO, ESP32, and Raspberry Pi Pico with board-specific optimizations. Use this skill when users request complete Arduino applications, not just code snippets.

anthropic-mcp-builder

16
from diegosouzapw/awesome-omni-skill

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

anthropic-dev-tools-mcp-builder

16
from diegosouzapw/awesome-omni-skill

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

alerting-dashboard-builder

16
from diegosouzapw/awesome-omni-skill

Creates SLO-based alerts and operational dashboards with key charts, alert thresholds, and runbook links. Use for "alerting", "dashboards", "SLO", or "monitoring".

ai-rules-adapter-builder

16
from diegosouzapw/awesome-omni-skill

Add rules or skills adapters for a new AI tool and wire config, CLI, completion, and tests.

agnosticv:catalog-builder

16
from diegosouzapw/awesome-omni-skill

This skill should be used when the user asks to "create a catalog", "build a common.yaml", "add a new RHDP lab", "set up a new catalog item", "create an AgnosticV catalog", "build a dev.yaml", "add a catalog entry", or "create a new lab catalog for RHDP".

adb-builder

16
from diegosouzapw/awesome-omni-skill

No description provided.

acc-create-test-builder

16
from diegosouzapw/awesome-omni-skill

Generates Test Data Builder and Object Mother patterns for PHP 8.5. Creates fluent builders with sensible defaults and factory methods for test data creation.

acc-create-builder

16
from diegosouzapw/awesome-omni-skill

Generates Builder pattern for PHP 8.5. Creates step-by-step object construction with fluent interface and validation. Includes unit tests.

abaqus-fatigue-analysis

16
from diegosouzapw/awesome-omni-skill

Workflow for fatigue and durability analysis - cycle counting, damage accumulation, and fatigue life prediction.