fix-project-metadata-mismatches
v0.1.0
Published
Install a portable skill that audits and synchronizes project metadata.
Maintainers
Readme
Fix Project Metadata Mismatches
Find and repair drift in project names, versions, descriptions, URLs, install commands, and compatibility claims across local authorities and derived files.
Fix Project Metadata Mismatches gives an AI coding agent an authority-first workflow for repeated project identity and release facts. It does not choose the most common string. Instead, it establishes the authoritative source for each field, labels downstream values as mismatched, stale, unsupported, or missing, and updates authorities before lockfiles, generated output, documentation, and catalogs.
Audits are read-only. Local synchronization happens only when requested; publishing and external service changes are never implied.
npx --yes --package=fix-project-metadata-mismatches@latest fix-project-metadata-mismatches --target codexnpm package · source · issues
Use it when
package.json, lockfiles,SKILL.md, docs, and catalogs disagree on a version or name.- Repository, homepage, issue, or install URLs still point to an old project.
- A renamed package's executable or documented command drifted from the manifest.
- Compatibility claims are broader than CI, runtime constraints, or tested hosts prove.
- Release preparation needs local metadata aligned before commit, tag, or publication.
Use make-project-github-ready for community files, repository visibility, GitHub topics, and remote settings. Use release-agent-skill when synchronization is one stage of an end-to-end release.
Install and invoke
Node.js 18 or newer is required for the installer and bundled metadata auditor. The target repository's own package manager may be needed to regenerate lockfiles or derived metadata.
npx --yes --package=fix-project-metadata-mismatches@latest fix-project-metadata-mismatches \
--target codex --scope projectThe shared installer supports Codex, Claude Code, Gemini CLI, Google Antigravity, Antigravity CLI, ZCode, Cursor, GitHub Copilot, and OpenCode. Use --target all or an exact --path as needed.
Use $fix-project-metadata-mismatches to audit this repository's package identity, versions, URLs, install commands, and compatibility claims. Report only./fix-project-metadata-mismatches Synchronize local manifests, lockfiles, SKILL.md, README, and catalog with the verified package identity. Do not publish.Authority model
| Field | Preferred evidence |
| --- | --- |
| Package identity and version | Package/build manifest, then its native lockfile |
| Repository and issue URLs | Manifest fields and configured Git remote, with remote identity verified when needed |
| Skill identity | SKILL.md frontmatter |
| Compatibility | Executable constraints, CI matrices, framework config, and tested environments |
| Install command | Actual package name, shipped binary, package manager, and published source |
| Description | Current observable behavior supported by source and documentation |
Authority is established per field. Conflicting authoritative sources are reported rather than resolved by frequency or guesswork.
Run the deterministic audit
node /absolute/skill/root/scripts/audit-metadata.mjs /absolute/project/root \
--strict --jsonThe Node.js auditor checks deterministic relationships in projects with a package manifest. Review every item marked manual-review, not-represented, not-repeated, or unsupported: zero deterministic findings is not proof that every description, compatibility statement, generated surface, or external URL is correct.
Finding classes
| Class | Meaning |
| --- | --- |
| Mismatch | Two authoritative or derived surfaces disagree |
| Stale | A downstream value retains an older verified fact |
| Unsupported | A claim lacks repository or runtime evidence |
| Missing | A required downstream representation is absent |
For every finding, the skill reports the file, observed value, expected value, evidence source, and proposed local correction.
Synchronization workflow
- Resolve the project root and applicable repository instructions.
- Inventory only surfaces relevant to the requested fields.
- Establish and state canonical values with their evidence.
- Update authorities first.
- Regenerate lockfiles and derived files with native tools.
- Update documentation and catalogs while adapting descriptions to each surface's role.
- Rerun the audit and focused project checks, then inspect the diff for unrelated replacements.
Ambiguous identity, ownership, licensing, public URLs, or compatibility policy requires user direction before high-impact changes.
Bundled resources and installer
fix-project-metadata-mismatches/
├── SKILL.md
├── agents/openai.yaml
└── scripts/audit-metadata.mjsUse --scope user|project, --dry-run, --force, --migrate, a provider list, or --path. Installation does not audit or change the selected project.
Develop and verify
git clone https://github.com/montasim/skills.git
cd skills
npm ci
npm test --workspace skills/fix-project-metadata-mismatches
npm run pack:check --workspace skills/fix-project-metadata-mismatchesLimits and safety
- Meaning can be synchronized without forcing identical prose across manifests, catalog cards, and long-form docs.
- A local majority is not an authority.
- The skill does not commit, push, publish, tag, create releases, deploy, or change external services.
- It never turns an unverified compatibility, release, or publication claim into an asserted fact.
Support, contribution, and license
Use GitHub Issues for reproducible defects. Follow the repository support, contribution, and security guidance.
Built and maintained by Montasim. Optional SupportKori funding supports maintenance. Licensed under the MIT License.
