start.slashCommands Start drafted

Slash Commands — VSCode plugin 진입점 카탈로그

dartlab slash command 진입점 카탈로그 — `/오늘아침` `/실적예고` `/논거점검` `/스크린` 등 외부 LLM 호환 진입점. VSCode extension / 호환 plugin 측 구현 사양.

이 스킬

Slash Commands — VSCode plugin 진입점 카탈로그

dartlab slash command 진입점 카탈로그 — `/오늘아침` `/실적예고` `/논거점검` `/스크린` 등 외부 LLM 호환 진입점. VSCode extension / 호환 plugin 측 구현 사양.

Start drafted start.slashCommands

이어 가기

절차

실행 순서

  1. 1

    모든 command 의 mapping target 이 listSkills 안 존재.

  2. 2

    command name camelCase 또는 한글 (단순 명사).

진입점 카탈로그

명령매핑설명
/오늘아침recipes.meta.report.dailyMorningNote일일 시황 1 페이지
/실적예고recipes.meta.report.catalystCalendar30/90 일 이벤트
/논거점검recipes.meta.report.thesisTrackerthesis falsifier 게이트
/스크린recipes.meta.screen.* 4 종 menuscreen 5 활성 menu
/회사분석engines.company + 6 막단일 회사 deep dive
/매크로engines.macro 12 axis menu매크로 axis 선택
/시나리오engines.macro.scenarios시나리오 카탈로그
/portfoliorecipes.quant.portfolio.*포트폴리오 구성

구현 사양

# 호환 plugin 측 매핑 (예시)
SLASH_COMMANDS = {
    "/오늘아침": ("recipe", "recipes.meta.report.dailyMorningNote"),
    "/실적예고": ("recipe", "recipes.meta.report.catalystCalendar"),
    "/논거점검": ("recipe", "recipes.meta.report.thesisTracker"),
    # ...
}

def handle_slash(cmd: str) -> dict:
    type_, target = SLASH_COMMANDS.get(cmd, (None, None))
    if type_ == "recipe":
        return dartlab.execute_recipe(target)
    elif type_ == "engine":
        return dartlab.execute_engine(target)

강행 룰

  1. command 추가 → 본 spec 동시 갱신.
  2. command → skill mapping 1:1 강행 (1 command 다중 skill X).
  3. 사용자 input parsing → injection 차단 (untrusted wrap).

기본 검증

  • 모든 command 의 mapping target 이 listSkills 안 존재.
  • command name camelCase 또는 한글 (단순 명사).

런타임

실행 환경별 호환성

환경상태비고 / 제한
Local Python limited
Server limited
MCP limited
Web AI limited
Pyodide limited