agentleFS
90le90le/microsoft-excel-bi-agent/skills/excel-testing-fixtures/SKILL.md

excel-testing-fixtures

Skill2 starsChanged 5 months agoMITView on GitHub

Use when creating customer-data-free Excel fixtures, regression cases, smoke workbooks, sample queries, or forward-test inputs for workbook automation and validation.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use sanitized fixtures to prove tooling behavior without moving customer workbooks into the plugin package.

    line 10
  2. Distinctive:

    Run the target report, linter, or release-gate smoke against the fixture.

    line 27
  3. Distinctive:

    Delete or keep outputs according to whether they are generic package fixtures or task-local evidence.

    line 29
  4. Distinctive:

    Keep customer data, screenshots, and machine-specific reports out of reusable fixture folders.

    line 36
  5. Distinctive:

    Do not fabricate customer-like sensitive data.

    line 40
  6. Distinctive:

    Do not use fixtures to claim live Power Query refresh, VBA execution, Data Model evaluation, or provider availability unless the fixture …

    line 41
  7. Distinctive:

    Prefer temp paths for generated validation reports.

    line 42
  8. Very specific:

    Read references/fixture-design-rules.md before adding a new smoke fixture or forward-test case.

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Excel Testing Fixtures

Core Rule

Use sanitized fixtures to prove tooling behavior without moving customer workbooks into the plugin package. Fixtures should be small, deterministic, and explicit about what they do not prove.

Fixture Types

  • CUBE and model-report structure: tools/create_cube_formula_fixture.py.
  • Workbook formulas, names, tables, and charts: tools/create_workbook_surface_fixture.py.
  • Formula quality edge cases: tools/create_formula_quality_fixture.py.
  • Controls, hidden sheets, protection, filters, and validation: tools/create_workbook_controls_fixture.py.
  • External dependencies and pure deliverable cleanup: existing external dependency fixtures and cleanup-plan tools.
  • Power Query source-lineage samples: tools/build_sanitized_fixture_bundle.py.
  • Provider environment drift logic: tools/create_provider_environment_fixture.py.
  • Cross-agent prompts and response stubs: tools/build_cross_agent_forward_test_pack.py, tools/build_cross_agent_forward_test_runbook.py, and related scoring tools.

Workflow

  1. Choose the smallest fixture that covers the behavior under test.
  2. Generate the fixture into a temporary folder or a task-local test folder.
  3. Run the target report, linter, or release-gate smoke against the fixture.
  4. Record the expected counts and boundaries.
  5. Delete or keep outputs according to whether they are generic package fixtures or task-local evidence.

Evidence Rules

  • A fixture proves the parser, reporter, or workflow path for the designed case.
  • A fixture does not prove every customer workbook shape.
  • Generated sample responses prove scorer mechanics only, not real external-agent behavior.
  • Keep customer data, screenshots, and machine-specific reports out of reusable fixture folders.

Boundaries

  • Do not fabricate customer-like sensitive data.
  • Do not use fixtures to claim live Power Query refresh, VBA execution, Data Model evaluation, or provider availability unless the fixture actually runs that runtime path.
  • Prefer temp paths for generated validation reports.

References

  • Read references/fixture-design-rules.md before adding a new smoke fixture or forward-test case.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.