Skip to content

feat(emulate): add Emulate plugin to marketplace#144

Merged
amondnet merged 1 commit intomainfrom
amondnet/typical-structure
Apr 2, 2026
Merged

feat(emulate): add Emulate plugin to marketplace#144
amondnet merged 1 commit intomainfrom
amondnet/typical-structure

Conversation

@amondnet
Copy link
Copy Markdown
Contributor

@amondnet amondnet commented Apr 2, 2026

Summary

  • Add Emulate plugin for local drop-in API emulation (Vercel, GitHub, Google, Slack, Apple, Microsoft, AWS)
  • Update marketplace configuration in .claude-plugin/marketplace.json
  • Add plugin entry to README with install instructions
  • Add plugins/emulate to release-please-config.json for versioning

Test plan

  • Verify plugins/emulate/.claude-plugin/plugin.json is valid (claude plugin validate plugins/emulate)
  • Confirm marketplace entry appears correctly on the web app
  • Check install command works: /plugin install emulate@pleaseai

Summary by cubic

Adds the emulate plugin to the marketplace for local, drop-in API emulation of Vercel, GitHub, Google, Slack, Apple, Microsoft, and AWS. Install with /plugin install emulate@pleaseai and use it to run emulated services for dev and CI.

  • New Features
    • Added marketplace entry for emulate with description, tags, and source path.
    • Added plugin manifest, skill docs, and skills-lock.json under plugins/emulate.
    • Updated README with install instructions and links; added plugins/emulate to release-please-config.json for versioning.

Written for commit 03830d4. Summary will update on new commits.

Add local drop-in API emulator for Vercel, GitHub, Google, Slack,
Apple, Microsoft, and AWS to the plugin marketplace.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
claude-code-plugins Ready Ready Preview, Comment Apr 2, 2026 5:11am

Request Review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the emulate plugin, which provides a local drop-in API emulator for various services including Vercel, GitHub, and AWS. The changes include updating the marketplace configuration, adding documentation to the README, and setting up the plugin's metadata and skills. A review comment correctly identified that the author field was missing from plugin.json, which is required for plugins representing external projects to properly credit the upstream organization.

Comment thread plugins/emulate/.claude-plugin/plugin.json
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant Agent as Claude Agent
    participant Market as Marketplace Registry
    participant CLI as Emulate CLI (Local)
    participant Core as Emulator Core (Hono/Store)
    participant App as Developer Application

    Note over Agent,Market: Plugin Discovery & Installation
    Agent->>Market: NEW: Fetch metadata for 'emulate'
    Market-->>Agent: Return source path & install command

    Note over Agent,Core: Plugin Execution (Skill Usage)
    Agent->>Agent: Parse SKILL.md for tool definitions
    Agent->>CLI: NEW: Execute 'npx emulate --service github'
    CLI->>CLI: Load emulate.config.yaml (if present)
    CLI->>Core: Initialize Hono server & stateful Store
    Core-->>CLI: Server listening (e.g., :4001)
    CLI-->>Agent: Output: "GitHub emulator started at http://localhost:4001"

    Note over App,Core: Runtime API Emulation
    App->>App: GITHUB_EMULATOR_URL=http://localhost:4001
    App->>Core: Request (e.g., POST /repos/owner/repo)
    Core->>Core: Authenticate via Bearer Token/Seed
    alt Found in Store
        Core->>Core: Update local state (Collection<T>)
        Core-->>App: 201 Created (Mock Data)
    else Missing Data
        Core-->>App: 404 Not Found
    end

    Note over Agent,Core: Control Flow (e.g., Testing)
    Agent->>CLI: NEW: Execute 'emulate reset'
    CLI->>Core: Wipe Store & Replay Seed Data
    Core-->>CLI: Success
    CLI-->>Agent: Store reset to initial state
Loading

@amondnet amondnet self-assigned this Apr 2, 2026
@amondnet amondnet merged commit 9d10510 into main Apr 2, 2026
7 checks passed
@amondnet amondnet deleted the amondnet/typical-structure branch April 2, 2026 05:23
@pleaeai-bot pleaeai-bot Bot mentioned this pull request Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant