بنقرة واحدة
create-extension
Scaffold a new extension package for Research Toolbox
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new extension package for Research Toolbox
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Guide the creation, review, and merge of a pull request
Analyze and optimize the research workflow for efficiency
Generate research ideas and experiment proposals from current context
Reflect on experiment results, identify patterns, and propose improvements
Summarize a research session, conversation, or experiment results into a concise journal entry
استنادا إلى تصنيف SOC المهني
| name | create-extension |
| description | Scaffold a new extension package for Research Toolbox |
Scaffold a new extension with the correct structure, base class, and documentation.
Determine the extension name — use snake_case (e.g., gpu_monitor, slack_notifier)
Create the directory structure:
mkdir -p extensions/<name>
extensions/<name>/__init__.py:"""<Name> Extension."""
extensions/<name>/extension.py:import sys
sys.path.insert(0, str(__import__('pathlib').Path(__file__).parent.parent.parent / 'backend'))
from extensions.base import BaseExtension
class <ClassName>Extension(BaseExtension):
"""<Description>.
Features (planned):
- Feature 1
- Feature 2
"""
name = "<kebab-case-name>"
version = "0.1.0"
description = "<One-line description>"
async def setup(self) -> None:
self.is_active = True
async def teardown(self) -> None:
self.is_active = False
async def get_status(self) -> dict:
return {"healthy": self.is_active}
Create extensions/<name>/README.md with usage instructions
Verify the extension is auto-discovered by the backend:
cd backend && python -c "from extensions import discover_extensions; print(discover_extensions())"
type:extension