feat: package IDD toolkit as npm + reusable GitHub Action#20
Merged
Conversation
…GitHub Action Adds a root package.json (idd-toolkit) with a `bin/idd.js` CLI entrypoint that unifies skill installation and validation into a single versioned package. Replaces ad-hoc symlinks and npm-link workflows with: - `idd validate [check...] [--json]` — runs validators - `idd install-skills <claude|codex|all>` — copies versioned skills - `idd generate-evidence` — wraps evidence generator - `idd init` — scaffolds specs/ structure in new projects Also extracts the CI workflow into a reusable composite action at .github/actions/idd-check/ that consuming repos can reference directly. Existing tools/package.json preserved for backward compatibility. Closes #19 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
IDD Compliance Review
✅ TraceabilityInfo
✅ Front-MatterInfo
✅ Capability ScopeInfo
✅ FixturesInfo
✅ ModelsWarnings
Info
✅ Journey MapsInfo
✅ OpenAPI LintTotal: 0 error(s), 3 warning(s) Automated by IDD Toolkit |
- `idd install-skills --check` detects outdated or missing skill installations by comparing the .idd-skills-version marker against the current package version (exit 1 if stale) - README rewritten with new CLI-first install instructions, reusable action usage, and updated repo layout - CHANGELOG.md added following Keep a Changelog format Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Reworks the composite action to run each validator individually and capture per-check JSON results. The summary now renders as: - Overview table with status/errors/warnings per check - Collapsible detail sections with errors, warnings, and info - Spec-before-code warning with affected file list - Footer with total counts and failed check names Exit codes stored in a JSON file rather than dynamic step outputs to avoid GitHub Actions expression limitations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Operations may reference multiple features via x-feature as an array. Previously only a single string was supported, causing false negatives when an operation mapped to more than one feature file. Upstreamed from edyoucate-ai/scripts divergence. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mirrors the same x-feature array support added to validate-traceability. Operations may map to multiple features; the evidence generator now correctly matches and counts coverage for multi-feature operations. Upstreamed from edyoucate-ai/scripts divergence. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
package.json(idd-toolkit@0.1.0) withbin/idd.jsCLI entrypoint.github/actions/idd-check/link-skills.shandbuild.shwith migration noticestools/package.jsonfor backward compatibilityCLI subcommands
Test plan
idd validate allruns 6/6 validators against example specsidd validate traceability front-matter --jsonworks with multiple checksidd install-skills claudecopies skills + writes version markeridd init /tmp/testscaffolds full directory structurenpm pack --dry-runproduces 102KB tarball with 45 filesCloses #19
🤖 Generated with Claude Code