Skip to content

fix(h5p-author): the skill writes every content type from its type file (#102) - #103

Merged
alekswebnet merged 1 commit into
mainfrom
fix/h5p-author-skill-routing
Nov 1, 2026
Merged

alekswebnet merged 1 commit into
mainfrom
fix/h5p-author-skill-routing

Conversation

@alekswebnet

Copy link
Copy Markdown
Contributor

Closes #102.

The h5p-author skill drops the references from its quiz-only first version. Every content type is now written from its type file.

  • The quiz references are deleted. references/quiz-format.md and references/scenario-quiz.md go, with the line in SKILL.md and the link in authoring.md that led to them. A quiz uses the H5P.QuestionSet and H5P.MultiChoice type files, which already cover feedback on each answer, the pass mark and its messages, titles, and Question Set's result message and English navigation.
  • The examples move to the tests. assets/quiz.json and assets/phishing-scenarios.json move to packages/author/tests/fixtures/. The package still builds the quiz format (lib/quiz.mjs), so a source written for the first skill keeps working. The author tests, the skills' verify test and the playback test read the examples from the new folder.
  • AGENTS.md says why. It also records the single verifier run, which is already on main as b02b13a.

The skill is now SKILL.md, LICENSE, references/authoring.md and the type files. Nothing published changes.

Checks

  • pnpm --filter @missing-elements/h5p-author test: 103 passed.
  • pnpm --filter @missing-elements/h5p-skills test: 73 passed. Every type file's example and every quiz-format source is built and played trusted and untrusted, and the playback test passes.
  • Both packages pass typecheck.

🤖 Generated with Claude Code

…le (#102)

The quiz format's two references and its examples leave the skill: a quiz
is written from the H5P.QuestionSet and H5P.MultiChoice type files, which
cover what the format did. The examples are now fixtures in
packages/author/tests/fixtures, since the package still builds the format
for sources written for the first skill. AGENTS.md records this, and the
single verifier run of b02b13a.

Closes #102

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alekswebnet
alekswebnet merged commit d75bedd into main Nov 1, 2026
8 checks passed
@alekswebnet
alekswebnet deleted the fix/h5p-author-skill-routing branch November 3, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

h5p-author skill: every content type from its type file, and one verifier run

1 participant