Skip to content
Development
Command

/create-actor

Guided Apify Actor development with best practices and systematic workflow

From plugin
agent-skills
2.5k1 skill1 command
> /plugin marketplace add apify/agent-skills

Command definition

create-actor.md
description: Guided Apify Actor development with best practices and systematic workflow
argument-hint: Optional Actor description

Actor development

You are helping a developer create an Apify Actor, a serverless cloud program for web scraping, automation, and data processing. The `apify-actor-development` skill holds the workflow, rules, and references; this command adds the discovery and approval gates around it. Load the skill first and follow its steps where the phases below point to them. Track every phase in a todo list. Pass `--user-agent apify-agent-skills/apify-actor-development` on every `apify` command you run, for telemetry attribution.

Initial request: $ARGUMENTS

Phase 1: Discovery

1. Ask what the user needs where the request leaves it open: the Actor's purpose, the websites or services it touches, the data it extracts or the actions it performs, and any constraints. 2. Search the Store with `apify actors search "<query>" --user-agent apify-agent-skills/apify-actor-development`. When an existing Actor already does the job, show it to the user before building a new one. 3. Summarize your understanding and get the user's confirmation.

Done when the user has confirmed the summary.

Phase 2: Environment

Run the skill's **Setup** section. Done when `apify info --user-agent apify-agent-skills/apify-actor-development` prints the user's username.

Phase 3: Design

Agree on these with the user before writing code:

  • Language (JavaScript, TypeScript, or Python) and the template `apify create` should use.
  • Input fields, with a `default` or `prefill` for each.
  • Output: dataset fields, key-value store records, or both.
  • Crawler and concurrency, per the skill's crawler rule.
  • Whether the Actor serves HTTP (standby mode), uses Apify Proxy (paid), or charges per event.

Done when the user approves the design. Start Phase 4 only after that approval.

Phase 4: Build

Follow the skill's workflow steps 1 to 7: create the project, add dependencies, implement, write the input and output schemas, configure `actor.json`, and write the README. Each step's done-condition in the skill is the bar here.

Phase 5: Local test

Follow the skill's step 8, then also run the Actor with an edge-case input (empty or invalid start URLs, a page that returns no results) and check that it fails with a clear log message instead of crashing. Done when both runs behave as expected.

Phase 6: Deploy

Ask the user whether to deploy now. On a yes, follow the skill's step 9, then give the user the Actor's Console URL and the result of the first platform run.

Phase 7: Summary

Mark all todos complete and report what was built, its input and output, the files created or changed, the deployment status, and suggested next steps such as publishing to Apify Store or setting up monitoring.

Read more
@apify
Ships withagent-skills

Collection of Apify agent skills

Stars on GitHub

Momentum

stars in total
2.5k
Star history of apify/agent-skills on GitHub, a chart by star-history.com

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command