skillby matryer

Ask Command

## Command: `ask`

Installs: 0
Used in: 1 repos
Updated: 3d ago
$npx ai-builder add skill matryer/ask

Installs to .claude/skills/ask/

# Ask Command

## Command: `ask`

Run a predefined question from the `/questions/` folder.

### Input

The user provides the name of the question to run (without the `.md` extension).

Example: `ask team-overview`

### Steps

1. **Identify the question file**
   
   Look for the question file at `/questions/{name}.md` where `{name}` is the input provided by the user.

2. **Handle missing question**
   
   If the question file does not exist:
   
   - Show an error: `Question not found: {name}`
   - Read `/questions/README.md` to list available questions
   - Display the available questions to the user
   - Stop execution
   
   Example error:
   ```
   ❌ Question not found: weekly-summary
   
   Available questions:
   - team-overview — A concise overview of each person and their current focus.
   ```

3. **Execute the question**
   
   If the question file exists:
   
   - Read the question file
   - Find the `## Prompt` section
   - Execute the prompt against the knowledgebase
   - Output the results in the format specified by the question

4. **Handle missing prompt**
   
   If the question file exists but has no `## Prompt` section:
   
   - Show an error: `Question file found but contains no prompt: {name}`
   - Suggest the user add a `## Prompt` section to the question file

### Guidelines

- Question names are case-sensitive and match the filename (without `.md`)
- Questions should be executed exactly as specified in their `## Prompt` section
- Output should follow any format guidelines in the question file
- If the question references folders that don't exist (e.g., no `/people/` folder), produce appropriate empty output rather than an error

Quick Install

$npx ai-builder add skill matryer/ask

Details

Type
skill
Author
matryer
Slug
matryer/ask
Created
3d ago