docs(skills): add tq api reference and streamline CLI skill - #301
Merged
Conversation
Add an on-demand tasq-cli resource reference for the allowlisted raw API command, covering syntax, routes, validation, bodies, output, and exit codes. Update the skill index and trigger description so agents can discover the reference without loading it for unrelated tq tasks.\n\nVerified with quick_validate.py, go test ./internal/cli/tq, source-built tq api help, and a forward-use skill check.
Require explicit user authorization and target verification before agents execute write or delete requests through tq api. Clarify that the CLI allowlist and lack of prompts do not grant mutation authority.\n\nVerified with quick_validate.py and git diff --check.
Reorganize the tasq-cli index around resource specifications and ordered use cases. Remove repeated command semantics from procedural guides, consolidate local-operation behavior, and clarify destructive project removal while preserving links to the authoritative references.\n\nVerified with quick_validate.py, go test ./internal/cli/tq, source-built CLI help, Markdown link validation, and a fresh-agent forward-use check.
Verify migration state before restart and prevent agents from restarting current binaries against a deliberately rolled-back schema. Also scope the index ID convention to numeric resources while retaining string attachment identifiers.\n\nVerified with quick_validate.py, Markdown link validation, and git diff --check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tasq-cli skillのAPIリファレンス追加と全体整理
Summary
tasq-cliskillに、allowlist型raw API commandであるtq apiのオンデマンドリファレンスを追加します。あわせてskill全体を見直し、resourceをコマンド仕様、use caseを実行手順として整理し、重複記述を削減します。主な変更点:
tq apiの構文、allowlist、入力制約、raw出力、exit code、安全境界を追加SKILL.mdを小さな索引へ再構成し、必要なreferenceだけをロードできるよう整理やったこと
references/resources/api.mdを追加api利用とproject bootstrap利用のforward testを実施動作確認
quick_validate.py .agents/skills/tasq-cligo test ./internal/cli/tqgo run ./cmd/tq --helpgo run ./cmd/tq api --helpgit diff --checkレビュー & 動作確認 チェックリスト
SKILL.mdから必要最小限のreferenceを選択できるか推奨テスト計画:
tasq-cliskillからapi.mdを選び、read/write requestの構文と注意点を回答させるその他気になることや相談ごと
インストール済み
tqが古い環境でも検証できるよう、CLI helpはリポジトリの現行ソースから実行しています。