add-app-skill

Scaffold OpenMates app skills across backend Python, app.yml, and frontend i18n.

43|2|Updated Jan 25, 2024
One-click install
npx skills add https://github.com/glowingkitty/OpenMates --skill add-app-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-app-skill
Source: https://github.com/glowingkitty/OpenMates/tree/main/.agents/skills/add-app-skill
Command: npx skills add https://github.com/glowingkitty/OpenMates --skill add-app-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Adding a new capability to an OpenMates app usually requires coordinated changes across backend Python code, the app’s YAML configuration, and frontend i18n entries—work that is easy to miss or misconfigure.

Core Features & Use Cases

  • Scaffold skill boilerplate: Generates the BaseSkill subclass, request/response Pydantic models, and a safe execute() skeleton.
  • Register the skill in app.yml: Updates the target app’s configuration so the system can route and expose the tool with a tool_schema.
  • Set up translations: Adds the skill name and description across all locales so it appears correctly in the UI.
  • Optional testing support: Guides creation of a test script when the repo’s test_skills structure is present.

Quick Start

Use the command: add-app-skill web deep-research DeepResearchSkill to create a new deep-research skill inside the web app and wire it into backend config and i18n.

Frequently Asked Questions about add-app-skill

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

FAQPage Schema
How do I scaffold a new app skill end-to-end across backend and frontend?

To scaffold an app skill end-to-end, you parse the appId, skillId, and SkillClassName to generate a Python BaseSkill subclass, update the app.yml registration, and add frontend i18n translations.

What's the best way to add a tool_schema and routing hints to an existing Python microservice?

Adding a tool_schema and routing hints requires generating a backend skill file with request/response Pydantic models and updating the app.yml configuration so the system can properly route and expose the tool.

Does scaffolding an app skill automatically wire up frontend i18n translations?

Yes, scaffolding an app skill automatically wires up frontend i18n translations by adding the skill name and description entries across all locale sources to ensure correct UI display.

Can I use Pydantic models for request and response when creating a new skill class?

Yes, you can use Pydantic models for request and response when creating a new skill class, as the scaffolding process generates safe execute() skeletons populated with these specific request/response models.

How do I register a new skill in app.yml without manual wiring errors?

To register a new skill in app.yml without manual wiring errors, the scaffolding process updates the target app’s YAML configuration automatically, ensuring the system can route and expose the tool_schema correctly.

Do I need a specific test_skills directory structure to generate optional testing support?

Yes, to generate optional testing support, the repository must contain the specific test_skills directory structure, which guides the creation of a test script for the newly scaffolded skill.