agentsclimarketplace

Document structure verification

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/document-structure-verification

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill document-structure-verification

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when when uploading or ingesting paired omics project documents into the Pairing Omics Data Platform, or when you need to verify that a JSON project file conforms to the expected schema structure before processing MS/MS mass spectra linkages, genome associations, or submission to external.

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

6.2 KB, 922 tokens by cl100k_base, as published. Nobody here has run it

document-structure-verification

Summary

Validate paired omics project documents against a JSON schema to ensure structural compliance and data integrity before storage or downstream analysis. This skill detects format violations and missing required fields that would compromise data interoperability.

When to use

When uploading or ingesting paired omics project documents into the Pairing Omics Data Platform, or when you need to verify that a JSON project file conforms to the expected schema structure before processing MS/MS mass spectra linkages, genome associations, or submission to external repositories like Zenodo.

When NOT to use

  • Document has already been validated and stored in the platform data directory
  • Input is not JSON or is severely malformed (use a JSON parser/repair tool first)
  • You are performing semantic validation of omics values (e.g., organism taxonomy or instrument calibration) rather than structural validation

Inputs

  • JSON project document (paired omics data structure)
  • JSON schema file (app/public/schema.json)

Outputs

  • Validation pass/fail status
  • Structured validation report with compliance details
  • Schema violation list with error messages and field locations

How to apply

Load the paired omics project JSON document and the canonical JSON schema from app/public/schema.json. Apply JSON schema validation using the npm test framework (via npm run test) to systematically check the document against all structural and format constraints defined in the schema. Capture the validation output including pass/fail status, enumerated schema violations, and specific error messages identifying which fields or nested structures failed validation. Generate a structured validation report that itemizes compliance status and flags any violations with their locations in the document hierarchy. Use this report to either approve the document for storage or return remediation guidance to the user.

Related tools

Examples

npm run test

Evaluation signals

  • Validation report explicitly returns pass status for all schema constraints
  • No schema violations are reported; violation list is empty
  • All required fields are present and populated with values of correct type
  • Nested structures (e.g., sample preparation, instrumentation methods) conform to defined schema hierarchy
  • Error messages, if any, precisely identify field names and violation types (e.g., 'type mismatch', 'missing required property', 'value not in enum')

Limitations

  • Schema validation confirms structural and format compliance only; it does not verify semantic correctness (e.g., whether organism identifiers are valid GenBank accessions or whether MS/MS spectra IDs are resolvable)
  • Validation occurs at document upload time; post-upload modifications to the JSON schema require re-validation of previously stored documents
  • The schema is maintained in app/public/schema.json and must be kept in sync with the platform's data model; schema drift is not automatically detected

Evidence

  • [other] The application uses a JSON schema file located at app/public/schema.json that defines the structural and format requirements for paired omics data projects.: "The application uses a JSON schema file located at app/public/schema.json that defines the structural and format requirements for paired omics data projects."
  • [other] Load the paired omics project JSON document and the JSON schema from app/public/schema.json. Apply JSON schema validation using npm test framework to check the document against all schema constraints.: "Apply JSON schema validation using npm test framework to check the document against all schema constraints."
  • [other] Capture validation results including pass/fail status, any schema violations, and error messages.: "Capture validation results including pass/fail status, any schema violations, and error messages."
  • [readme] The JSON schema (app/public/schema.json) describes the format of an project.: "The JSON schema (app/public/schema.json) describes the format of an project."
  • [readme] make sure the existing tests still work by running npm run test in api/ and/or app/ directory: "make sure the existing tests still work by running npm run test in api/ and/or app/ directory"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.