Conversation
…eration Adds a new slash command that analyzes Actor source code and generates dataset_schema.json and output_schema.json with proper field definitions, views, and actor.json wiring. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…a command Adds Phase 3 for generating key_value_store_schema.json by analyzing Actor.setValue/set_value calls, grouping keys into collections, and wiring the schema into actor.json. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
00z20
approved these changes
Feb 27, 2026
Address issues found in code reviews (apify-core#26351, facebook#1057): - Ensure all output fields are in schema, not just overview view fields - Require `required` and `additionalProperties` on top-level fields object - Add guidance to reuse existing schemas, types, and conventions in the repo - Enforce consistent formatting across all actors including standalone ones Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
vystrcild
approved these changes
Mar 20, 2026
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
/generate-output-schemaslash command that analyzes Actor source code and generatesdataset_schema.json,output_schema.json,key_value_store_schema.json(if applicable), and updatesactor.jsonHow to test before merge
Option 1: Load the plugin locally from the branch
Option 2: If you already have the repo cloned
cd /path/to/agent-skills git fetch origin output-schema-skills git checkout output-schema-skillsRun the command in your Actor
Navigate to an Actor project and invoke:
What to verify
pushData/push_datacalls and output type definitionssetValue/set_valuecalls for key-value store usagedataset_schema.jsonwith correct field types,nullable: true,additionalProperties: true, and anonymized exampleskey_value_store_schema.jsonwith collections matching discovered key patterns (if Actor uses KV store)output_schema.jsonwith"type": "string"on every propertyactor.jsonwith schema file references (includingstorages.keyValueStorewhen applicable)🤖 Generated with Claude Code