Claude-skill-registry analysis-report
Generates comprehensive, structured research reports.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/analysis-report" ~/.claude/skills/majiayu000-claude-skill-registry-analysis-report && rm -rf "$T"
manifest:
skills/data/analysis-report/SKILL.mdsource content
Scientific Analysis & Reporting
Instructions
1. Project Exploration & Domain Mapping
Before analyzing data, map the scientific context of the repository:
- Dependency & Logic Scan: Check
for libraries andpyproject.toml
(or equivalent) for the execution flow.main.py - Consult References: Check the
directory for background materials, standard definitions (e.g., NEMA, IEC), or methodology specifications. Use these files to define terms and expected behaviors.references/ - Identify Physical Models: Locate the core logic defining the system (constants, equations like Inverse Square Law, statistical models).
- Locate Data: All experimental and simulation data is stored in
with comprehensive filenames (e.g.,data/
). Always inspect file headers to confirm units and column definitions.data/radial_positions_10min_run.csv - Locate Assets: All assets like images or plots are stored in
with comprehensive filenames.assets/
2. Data Analysis & Verification
Do not rely solely on existing summary text; verify findings by inspecting raw data or running code:
- Execution: If the environment allows, run analysis scripts (e.g.,
) to generate the most recent metrics. You are also allowed to write new Python files/scripts for analyzing data. If a package you need does not exist, you are allowed to useuv run main.py
to add it.uv add <package> - Extract Key Metrics:
- Performance: Efficiency, throughput, sensitivity, etc.
- Signal Quality: SNR, Contrast, Resolution, etc.
- Statistics: Mean, Standard Deviation, CV, etc.
- Cross-Reference: Compare your calculated results against theoretical expectations found in
.references/
3. Goal Confirmation
Crucial Step: Before generating the full text of the report, pause and present a brief plan to the user to ensure alignment:
- Objective: State what you understand the primary goal to be (e.g., "I will compare the sensitivity of X vs Y").
- Data Sources: List the specific files you intend to use (e.g., "Using
anddata/contrast.csv
").references/nema_standards.pdf - Proposed Structure: Briefly outline the sections you will write.
- Action: Ask the user, "Does this plan match your requirements?" and wait for their confirmation or correction.
4. Report Generation
Unless otherwise specified, always consolidate findings into a new file named
docs/analysis-report.md.
Report Structure:
- Objective: Define the goal (e.g., "Compare Method A vs. Method B").
- Methodology: Describe the experimental setup. Explicitly cite the specific data files used from
and standards fromdata/
.references/ - Quantitative Results: Present data in Markdown tables. Compare distinct groups (e.g., Control vs. Variable).
- Discussion & Interpretation:
- Explain why the results occurred using the identified physical/math models.
- Justify any approximations used in the code.
- Conclusion: Summary of the primary findings.
5. Writing Standards
- Quantify Everything: Avoid vague terms. Use "12.5% higher efficiency" rather than "better efficiency."
- Writing Style: Use a professional tone. Lean towards writing in natural language paragraphs instead of using bullet points or lists.
- Visuals: If plots are generated, reference their filenames in the report.
- Language: Write in Simplified Chinese. For specific translations, see translations.md.
- Headings:
- Do not number headings.
- The title should not be a heading, so sections should use heading 1 instead of 2.
- Formulas:
- Use LaTex for isotopic notation (e.g.,
).^{99m}Tc - Use LaTeX-style formulas (e.g.,
).$E = mc^2$ - Use
to delimit multi-line formulas.$$
- Use LaTex for isotopic notation (e.g.,
Examples
Example 1: General Performance Analysis
User: "Analyze the stability of the sensor data in this repo." Action:
- Read
to find the nominal operating range.references/sensor_datasheet.md - Load
.data/sensor_stability_log_24hours.csv - Calculate mean and variance.
- Generate
:docs/analysis-report.md- Methods: "Compared observed variance in
against specs indata/sensor_stability_log_24hours.csv
."references/sensor_datasheet.md - Results: Table showing stability metrics.
- Discussion: Explain deviations based on noise models found in
.main.py
- Methods: "Compared observed variance in
Example 2: Comparative Method Study
User: "Compare the simulation results between the 'Fast' and 'Accurate' algorithms." Action:
- Locate
anddata/simulation_output_fast_algo.csv
.data/simulation_output_accurate_algo.csv - Compare key metrics: Execution time vs. Error rate.
- Generate
:docs/analysis-report.md- Objective: "Evaluate trade-off between speed and precision."
- Results: "The 'Fast' algorithm is 10x faster but introduces a 2.3% systematic error."
- Discussion: Link the error to the approximation found in the code logic.