Index of every page on this site: llms.txt
All skills
dmccreary avatar

/microsim-utils

@b3826a7
by Dan McCrearydmccreary/ibook-skills108 stars
21
Run it yourself

Utility tools for MicroSim management including quality validation, screenshot capture, icon management, index page generation, iframe height synchronization, iframe control-visibility testing, visual layout review, and diagram/MicroSim coverage reports across chapters. Routes to the appropriate utility based on the task needed.

Use this Skill: https://skilld.dev/gh/dmccreary/ibook-skills/microsim-utils

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

TODO.md

≈505 tokens on demand. Your agent reads this file only when SKILL.md points to it.

MicroSim Utils - TODO

Pending Enhancements

Add iframe Example Path Validation to Standardization Check

Priority: Medium Added: 2026-01-01

Description: Add a new standardization check that validates sample iframe example URLs in index.md files to ensure they reference the correct GitHub Pages deployment path.

Problem Discovered: During a routine check of docs/sims/*/index.md files, several MicroSims had incorrect iframe example paths:

  • Wrong repository name (e.g., microsims instead of intro-to-physics-course)
  • Typos in repository name (e.g., intro-to-physics missing -course)
  • Wrong directory name (e.g., basic-fft instead of fft-basic)

Proposed Implementation:

  1. Add to references/standardization.md checklist:

    #### 13. Sample iframe URL Validation
    - Check that the sample iframe example URL matches the project's GitHub Pages URL
    - Expected format: `https://<username>.github.io/<repo-name>/sims/<microsim-name>/main.html`
    - The `<microsim-name>` in the URL must match the directory name
    - The `<repo-name>` should be extracted from `mkdocs.yml` or detected from git remote
    - If mismatch found: Add TODO to fix iframe example URL
  2. Add scoring to the rubric table:

    |iframe URL correct|The sample iframe URL matches the project's GitHub Pages path|3|
  3. Implementation details:

    • Extract site_url from mkdocs.yml to determine the correct base URL
    • Parse the iframe src attribute from the code block
    • Verify the URL contains the correct repository name
    • Verify the microsim directory name in the URL matches the actual directory

Detection Command:

# Find incorrect paths (adjust exclusions as needed)
grep -r "github.io" docs/sims/*/index.md | grep -v "<expected-repo-name>" | grep -v "external-references"

Reference: See /logs/check-iframe-example-path.md in the intro-to-physics-course project for the full analysis that identified this issue.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1d3 checks · Risk SAFE
  • Gen Agent Trust Hub1d

    This skill provides a set of utilities for managing MicroSim educational content within an intelligent textbook project. It includes tools for quality assessment, screenshot capture, indexing, and structural synchronization. The analysis identified a standard vulnerability surface for indirect prompt injection and the use of external dependencies from trusted sources.

  • Socket4d

    1 alert: gptAnomaly

  • Snyk4d

    Risk: LOW · No issues

Signed by skilld at b3826a7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 2 months ago
metadata
{
  "ibook.version": "1.0"
}

README badge

README badge for dmccreary/ibook-skills/microsim-utils