Skip to content

docs: clarify optional agent skills#28

Merged
linhay merged 3 commits into
mainfrom
feat/20260604-issue-27-agent-skills-readme
Jun 4, 2026
Merged

docs: clarify optional agent skills#28
linhay merged 3 commits into
mainfrom
feat/20260604-issue-27-agent-skills-readme

Conversation

@linhay

@linhay linhay commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an Optional Agent Skills section to the root README.
  • Clarify that adopting projects should install only public skills from .agents/tritonkit-skills/public/ or tritonkit-skills.tar.gz.
  • Document the public/internal skill boundary and remind users to restart Codex / agent sessions after installation.
  • Add the issue space, implementation plan, and memory entry.

Closes #27

Validation

docs-linhay/scripts/check-docs.sh

Result: docs-linhay structure ok

Copilot AI review requested due to automatic review settings June 4, 2026 15:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR primarily addresses Issue #27 by making optional Codex/agent skills discoverable from the root README and clarifying the public vs internal skill boundary for adopting projects. In addition, it expands the TritonKit CLI surface by introducing a shorter triton app go <url> iOS deep-link smoke entry and aligns schemas / capability nextActions / workflow plans / tests with that new command.

Changes:

  • Add a new root README section documenting “Optional Agent Skills”, including installation guidance and the public/internal packaging boundary.
  • Introduce triton app go <url> as a shorter iOS deep-link command that waits for embedded runtime readiness and returns a snapshot summary by default.
  • Update CLI schemas, runtime capability nextActions, workflow plan rendering, and tests/scripts to reference app go and to accept “defaults to JSON” as machine-readable output.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Sources/TritonKitCLI/CLISchemaHostCommands.swift Adds app go to the command schema/options/examples and updates nextCommands.
Sources/TritonKitCLI/CLIRuntimeTransport.swift Switches capability nextActions / workflow plan command strings to use triton app go.
Sources/TritonKitCLI/CLIHostCommands.swift Implements the new HostAppGo subcommand and iOS-default device selection resolution.
README.md Adds “Optional Agent Skills” section and documents the new app go entry point vs app open-url.
docs-linhay/spaces/20260604-issue-27-agent-skills-readme/README.md Adds an Issue #27 execution space README (background/targets/acceptance).
docs-linhay/spaces/20260604-issue-27-agent-skills-readme/plans/implementation.md Adds an implementation plan for the README skills clarification work.
docs-linhay/spaces/20260527-command-surface-optimization/plans/checkpoints/20260602-round-180-short-app-go-deeplink-entry.md Adds a checkpoint note documenting the app go command rationale and validation.
docs-linhay/scripts/verify-simulator-gate.sh Extends the simulator gate script to run the new URL placeholder canon test.
docs-linhay/memory/2026-06-04.md Adds a memory entry for the Issue #27 README/skills boundary work.
docs-linhay/memory/2026-06-02.md Adds a memory entry describing the app go command addition and related docs/tests.
docs-linhay/dev/ai-cli-readable-control.md Updates agent-facing CLI guidance to prefer app go for iOS deep-link smoke.
CLI/Tests/TritonKitCLITests/SchemaFactSourceTests.swift Updates assertions to expect app go, relaxes machine-readable checks via schema defaults, and adds URL placeholder canon tests.
CLI/Tests/TritonKitCLITests/DeviceCrossPlatformTests.swift Adds schema example expectations for triton app go ....

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -311,7 +314,7 @@ func hostCommandSchemas() -> [TKCommandSchema] {
outputSemantics: "Use app for host-side install, launch, terminate, open-url, container, and preferences. For smoke readiness, prefer open-url with --wait-ready --snapshot.",
Comment on lines 563 to +566
case "host-app-open-url-ready":
return TKCLINextAction(command: "app", args: ["open-url", "<url>", "--device", "<selector>", "--wait-ready", "--json"])
return TKCLINextAction(command: "app", args: ["go", "<url>", "--device", "<selector>"])
case "host-app-open-url-snapshot":
return TKCLINextAction(command: "app", args: ["open-url", "<url>", "--device", "<selector>", "--wait-ready", "--snapshot", "--json"])
return TKCLINextAction(command: "app", args: ["go", "<url>", "--device", "<selector>"])
Comment thread README.md
Comment on lines +408 to +409
`app go <url>` is the short iOS deep-link smoke entry: it opens the URL, waits for embedded runtime readiness, returns an app/route/AX snapshot summary, and defaults to JSON output. Use `--device <selector>` only when the current/default target is ambiguous.
For iOS simulator selectors, `sim:` is optional. `--device 60667794-96F8-40E6-8664-85538EC4663E` and `--device sim:60667794-96F8-40E6-8664-85538EC4663E` both resolve to the same simulator; keep `sim:` only when you want explicit platform disambiguation.
@linhay linhay merged commit 26fd564 into main Jun 4, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify optional Codex/agent skills installation in README

2 participants