00-andruia-consultant
Usar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un…
Generate output schemas (dataset_schema.json, output_schema.json, key_value_store_schema.json)
Claude Code
$ npx -y skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema --agent claude-code
Codex
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a codex -y
Cursor
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a cursor -y
Gemini CLI
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a gemini-cli -y
GitHub Copilot
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a github-copilot -y
OpenCode
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a opencode -y
Windsurf
$ npx skills add sickn33/agentic-awesome-skills --skill apify-generate-output-schema -a windsurf -y
name: apify-generate-output-schema description: Generate output schemas (dataset_schema.json, output_schema.json, key_value_store_schema.json) for an Apify Actor by analyzing its source code. Use when creating or updating Actor output schemas. source_repo: apify/agent-skills source_type: official source: apify date_added: '2026-09-21' risk: critical
You are generating output schema files for an Apify Actor. The output schema tells Apify Console how to display run results. You will analyze the Actor's source code, create `dataset_schema.json`, `output_schema.json`, and `key_value_store_schema.json` (if the Actor uses key-value store), and update `actor.json`.
---
**Goal**: Locate the Actor and understand its output
Initial request: $ARGUMENTS
**Actions**: 1. Create todo list with all phases 2. Find the `.actor/` directory containing `actor.json` 3. Read `actor.json` to understand the Actor's configuration 4. Check if `dataset_schema.json`, `output_schema.json`, and `key_value_store_schema.json` already exist 5. **Search for existing schemas in the repository**: Look for other `.actor/` directories or schema files (e.g., `**/dataset_schema.json`, `**/output_schema.json`, `**/key_value_store_schema.json`) to learn the repo's conventions — match their description style, field naming, example formatting, and overall structure 6. Find all places where data is pushed to the dataset:
7. Find all places where data is stored in the key-value store:
8. Find output type definitions — **reuse them directly** instead of recreating from scratch:
9. Check for existing shared schema utilities or helper functions in the codebase that handle schema generation or validation — reuse them rather than creating new logic 10. If inline `storages.dataset` or `storages.keyValueStore` config exists in `actor.json`, note it for migration
Present findings to user: list all discovered dataset output fields, key-value store keys, their types, and where they come from.
---
**Goal**: Create a complete dataset schema with field definitions and display views
{
"actorSpecification": 1,
"fields": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
// ALL output fields here — every field the Actor can produce,
// not just the ones shown in the overview view
},
"required": [],
"additionalProperties": true
},
"views": {
"overview": {
"title": "Overview",
"description": "Most important fields at a glance",
"transformation": {
"fields": [
// 8-12 most important field names
]
},
"display": {
"component": "table",
"properties": {
// Display config for each overview field
}
}
}
}
}If existing output schemas were found in the repository during Phase 1 (step 5), follow their conventions:
When the Actor code already has well-defined TypeScript interfaces or Python type classes, derive fields directly from those types rather than re-analyzing pushData/push_data calls from scratch. Types guide inference, but verify serialized output and all runtime branches; annotations may be stale.
Find reusable instructions for your project, inspect their complete files, and keep an exact skill set you can review and reuse.
Usar al iniciar o mejorar un proyecto de IA: diagnostica código y restricciones, propone skills existentes y redacta tareas y un…
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and…
Usar para crear o mejorar una skill de Andru.ia: define entradas y resultados, redacta SKILL.md con ejemplos y límites, valida la…
Usar tras definir el sector de un proyecto: prepara un dossier en español con contexto, normas aplicables, patrones UX y riesgos,…
AI-powered presentation generation via the 2slides API — create slides from text, match a reference image style, summarize…
360 feedback register: reviewer, subject, review cycle, visibility, due date and score, as CSV, SQL, JSON Schema or Notion on…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration