Platform Integration Workflow

Add platform integration support to the My Prompt Manager Chrome extension.

6|2|Updated Jul 29, 2025
One-click install
npx skills add https://github.com/spartDev/My-Prompt-Manager --skill platform-integration-workflow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Platform Integration Workflow
Source: https://github.com/spartDev/My-Prompt-Manager/tree/main/.claude/skills/add-platform
Command: npx skills add https://github.com/spartDev/My-Prompt-Manager --skill platform-integration-workflow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the tedious manual work of adding support for new AI platforms to the My Prompt Manager Chrome extension. It streamlines a complex, multi-step process into a guided workflow, reducing errors and development time.

Core Features & Use Cases

  • Centralized Configuration: Easily add new platforms by updating a single configuration file, simplifying maintenance.
  • Strategy Pattern Implementation: Ensures robust and scalable integration with diverse AI interfaces, adapting to different input types.
  • Comprehensive Testing Guidance: Includes steps for unit testing and manual verification to guarantee functionality and prevent regressions.
  • Use Case: A user wants to extend My Prompt Manager to support a newly launched AI chat platform. This Skill guides them through identifying input fields, configuring the platform, creating a strategy, and testing the integration, ensuring the prompt library icon appears and prompts can be inserted instantly.

Quick Start

Guide me through adding support for the new 'MyNewAI.com' platform to the My Prompt Manager extension. I need to identify the input field selector and configure the platform strategy.

Frequently Asked Questions about Platform Integration Workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add support for a new AI platform to my Chrome extension?

Add platform support by defining platform metadata (id, hostname, displayName, selectors), implementing a platform strategy class, registering it in centralized configuration, then testing detection and prompt injection. This Skill guides you through a 10-step workflow using the Strategy Pattern for seamless integration with new AI chat platforms.

What's the best way to handle multiple AI platform integrations in a Chrome extension?

Use centralized configuration and the Strategy Pattern to manage multiple platforms. Define each platform's metadata once, implement individual strategy classes for their unique input types, and register them in one config file. This approach scales easily as you add Gemini, Mistral, Claude, or other platforms without duplicating logic.

How do I identify the correct input field selector for a new AI platform?

Inspect the platform's DOM to locate the input field where prompts are inserted, then extract its CSS selector. This selector becomes part of the platform metadata definition. The Skill includes manual verification steps to confirm the selector works correctly before testing automated injection.

Can I test platform integration without manual browser verification?

The Skill covers both unit testing and manual verification. Unit tests validate strategy logic and platform detection, while manual testing confirms the prompt library icon renders and prompts inject correctly. Both steps are necessary to prevent regressions across different platform interfaces.

What testing should I do after adding a new platform integration?

Test platform detection, verify the UI badge renders correctly, and confirm prompts inject into the target input field. The Skill provides comprehensive testing guidance including unit tests for strategy classes and manual steps to validate end-to-end functionality on the actual platform.

Does the Strategy Pattern approach work with platforms that have different input mechanisms?

Yes. The Strategy Pattern adapts to diverse AI interfaces by letting each platform strategy implement its own injection logic. This handles variations in input field types, authentication flows, and UI layouts across different platforms like Gemini, Mistral, and Meta AI.