Skip to main content

paw-tools-setup

Sets up Pawbytes Tools module in a project. Use when the user requests to 'install paw tools', 'configure Pawbytes Tools', or 'setup utility tools'.

설치로 이동

소스 정보

저장소
pawbytes/skill-suites
최근 소스 활동
2026년 4월 2일 03:42
감지된 SKILL.md 언어
영어
스타
105
포크
16

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
paw-tools-setup
description
Sets up Pawbytes Tools module in a project. Use when the user requests to 'install paw tools', 'configure Pawbytes Tools', or 'setup utility tools'.
# Pawbytes Tools Setup ## Overview Installs and configures Pawbytes Tools module into a project. Collects user preferences and writes them to: - **`{project-root}/.pawbytes/config/config.yaml`** — shared Pawbytes ecosystem configuration - **`{project-root}/.pawbytes/config/config.user.yaml`** — personal settings (gitignored, contains API keys) `{project-root}` is a **literal token** in config values — never substitute it with an actual path. It signals to the consuming LLM that the value is relative to the project root. ## On Activation 1. Read `./assets/module.yaml` for module metadata and variable definitions 2. Check if `{project-root}/.pawbytes/config/config.yaml` exists — if present, inform the user this is an update If the user provides arguments (e.g. `accept all defaults`, `--headless`, or inline values), map provided values to config keys, use defaults for the rest, and skip interactive prompting. ## Collect Configuration Ask the user for values. Show defaults in brackets. Present all values together so the user can respond once with only the values they want to change (e.g. "change language to Swahili, rest are fine"). Never tell the user to "press enter" or "leave blank" — in a chat interface they must type something to respond. **Default priority** (highest wins): existing config values > `./assets/module.yaml` defaults. **Module config**: Read each variable in `./assets/module.yaml` that has a `prompt` field. Ask using that prompt with its default value (or existing value if available). ## Write Files Write the collected configuration to: ``` {project-root}/.pawbytes/config/config.yaml ``` User-specific settings (API keys) go to: ``` {project-root}/.pawbytes/config/config.user.yaml ``` Create directories if they don't exist. ## Create Output Directories After writing config, create any output directories that were configured. Resolve the `{project-root}` token to the actual project root and create each path-type value that does not yet exist. Use `mkdir -p` or equivalent. ## Confirm Display what was written — config values set, fresh install vs update. Then display the `greeting` from `./assets/module.yaml` to the user. ## Outcome Once the user's `communication_language` is known (from collected input, arguments, or existing config), use it consistently for the remainder of the session.
GitHub에서 보기