Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions .cursor/skills/query-ado-data/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,43 @@ exclusive to spaces and override `--query` and `--label`.

### Related Resources

Get IDs of resources related to another resource (parent or child):
Get IDs of resources directly related to another resource (one hop):

```bash
uv run ado show related $RESOURCETYPE [RESOURCE_ID] [--use-latest]
```

**Supported types**: `operation` (`op`), `samplestore` (`store`),
`discoveryspace` (`space`)
`discoveryspace` (`space`), `actuatorconfiguration` (`ac`), `datacontainer` (`dcr`)

### Resource relationship trees

Display multi-hop workflow trees for the active project context:

```bash
# Full workflow forest from sample store roots
uv run ado tree

# Scoped subtree or ancestors
uv run ado tree operation OP_ID
uv run ado tree operation OP_ID --invert

# Include actuator configuration input edges
uv run ado tree --all-relationships

# JSON output for scripting
uv run ado tree -o json
```

Node labels show identifiers only by default (fast path). Use `--names` for
`{identifier} ({name})`, `--sort` for created ordering and age, and
`--metadata` for description and labels.

**Example:**

```bash
uv run ado show related space space-abc123-456def
uv run ado tree space space-abc123-456def
```

### Get Resource Details
Expand Down
23 changes: 23 additions & 0 deletions .cursor/skills/using-ado-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,29 @@ uv run ado edit space SPACE_ID --patch-file meta.yaml
Always prefer a non-interative edit with `-p` / `--patch` or `--patch-file`. Use
`uv run ado edit --help` for current options.

### ado tree

Displays multi-hop resource relationship trees for the active project context.

```bash
# Workflow forest from sample store roots
uv run ado tree

# Scoped subtree or ancestors
uv run ado tree operation OPERATION_ID
uv run ado tree operation OPERATION_ID --invert

# Include actuator configuration input edges
uv run ado tree --all-relationships

# Scripting output
uv run ado tree -o json --output-file tree.json
```

Use `ado show related` for a flat one-hop list. By default node labels show
identifiers only (fast path). Use `--names` for `identifier (name)`, `--sort`
for created ordering and age, and `--metadata` for description and labels.

### ado show

Retrieves details and data from resources.
Expand Down
Loading