Skip to content
Back to skills

Plans

ASecurity

Add a new one-shot question-answering skill to `cc-plugin/base/` that uses the research process to answer questions inline (no document by default), then offers to continue with more questions, save the answer, start a brainstorm, or start research.

  • 36 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 7, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 7, 2026

npx -y skills add desplega-ai/ai-toolbox --skill plans --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plans?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plans
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/desplega-ai-plans-286336d8/badge)](https://www.skillsdirectory.com/skills/desplega-ai-plans-286336d8)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
date: 2026-03-17T10:45:00Z
planner: claude
topic: "Add /desplega:question (/questioning) skill to cc-plugin/base"
tags: [cc-plugin, skill, question, one-shot]
status: completed
autonomy: autopilot
last_updated: 2026-03-17
last_updated_by: claude
---

# `/desplega:question` (`/questioning`) Skill — Implementation Plan

## Overview

Add a new one-shot question-answering skill to `cc-plugin/base/` that uses the research process to answer questions inline (no document by default), then offers to continue with more questions, save the answer, start a brainstorm, or start research.

## Current State Analysis

- 10 skills exist in `cc-plugin/base/skills/`, each with a `SKILL.md` and optional `template.md`
- 12 commands in `cc-plugin/base/commands/`, each a thin wrapper invoking a skill
- `validate-thoughts.py` validates paths for `research/`, `plans/`, `brainstorms/`, `qa/` — no `questions/` support
- Plugin version: `1.6.0`

## Desired End State

- `/question how does X work?` answers inline using research sub-agents, then offers handoff
- Optional persistence to `thoughts/<user>/questions/YYYY-MM-DD-<topic>.md`
- `validate-thoughts.py` accepts the `questions/` subdirectory
- Plugin bumped to `1.7.0`

### Key Discoveries:
- No autonomy flags needed — skill is always one-shot (`validate-thoughts.py:29-68`)
- Hook must be updated to add `questions/` pattern (`validate-thoughts.py:30-33`, `63-68`)
- Template needed for optional save feature only (`skills/brainstorming/template.md` as reference)

## Quick Verification Reference

Common commands to verify:
- `python3 cc-plugin/base/hooks/validate-thoughts.py < /dev/null; echo $?` (should exit 0)
- `ls cc-plugin/base/skills/questioning/SKILL.md`
- `ls cc-plugin/base/commands/question.md`

Key files to check:
- `cc-plugin/base/skills/questioning/SKILL.md` (new)
- `cc-plugin/base/commands/question.md` (new)
- `cc-plugin/base/skills/questioning/template.md` (new, for optional save)
- `cc-plugin/base/hooks/validate-thoughts.py` (modified)
- `cc-plugin/base/.claude-plugin/plugin.json` (version bump)

## What We're NOT Doing

- No changes to the researching skill itself
- No changes to the brainstorming skill
- No new hooks or agents
- No changes to other existing skills (no cross-cutting integration like QA had)

## Implementation Approach

Simple additive change: create 3 new files, modify 2 existing files. Single phase since all changes are small and interdependent.

---

## Phase 1: Create Questioning Skill and Update Hooks

### Overview

Create the command wrapper, skill definition, optional save template, update the validation hook, and bump the plugin version.

### Changes Required:

#### 1. Command Wrapper
**File**: `cc-plugin/base/commands/question.md` (new)
**Changes**: Thin wrapper following the `brainstorm.md` pattern. No autonomy flags (it's a question). Invokes `desplega:questioning` skill. Uses AskUserQuestion if no query provided.

#### 2. Skill Definition
**File**: `cc-plugin/base/skills/questioning/SKILL.md` (new)
**Changes**: Full skill definition with:
- Frontmatter: `name: questioning`, description
- No Working Agreement / User Preferences (lightweight)
- Process: analyze question → spawn sub-agents as needed → synthesize → answer inline → handoff
- Sub-agents: same as research (codebase-locator, codebase-analyzer, codebase-pattern-finder, context7, web-search-researcher) but spawned selectively based on question type
- No "documentarian" constraint — answer the question directly, including root cause if needed
- Handoff via AskUserQuestion: ask another question, save answer, brainstorm, research, done
- Optional save: persist to `thoughts/<user>/questions/YYYY-MM-DD-<topic>.md` using template

#### 3. Save Template
**File**: `cc-plugin/base/skills/questioning/template.md` (new)
**Changes**: Lightweight Q&A template with frontmatter (date, author, topic, tags, status) and sections for Question, Answer, and optional Follow-up/References.

#### 4. Validation Hook
**File**: `cc-plugin/base/hooks/validate-thoughts.py` (modify)
**Changes**:
- Add `questions_pattern` regex at line ~33 (alongside existing patterns)
- Add `elif "/questions/" in file_path:` block at line ~56 (before the `else` block)
- Update error message at line ~66 to include `'questions'` in the list

#### 5. Plugin Version
**File**: `cc-plugin/base/.claude-plugin/plugin.json` (modify)
**Changes**: Bump `"version"` from `"1.6.0"` to `"1.7.0"`

### Success Criteria:

#### Automated Verification:
- [x] New files exist: `ls cc-plugin/base/commands/question.md cc-plugin/base/skills/questioning/SKILL.md cc-plugin/base/skills/questioning/template.md`
- [x] Validate-thoughts accepts questions path: exit 0
- [x] Validate-thoughts still rejects invalid paths: exit 2 with correct error
- [x] Plugin version is 1.7.0: `"version": "1.7.0"`
- [x] SKILL.md has valid frontmatter: `name: questioning`

#### Manual Verification:
- [ ] Command wrapper follows the pattern of `brainstorm.md` (no autonomy, delegates to skill)
- [ ] SKILL.md instructions are clear and complete for Claude to follow
- [ ] Template is lightweight — just Q&A format, not a full research document
- [ ] Handoff options include: another question, save, brainstorm, research, done

**Implementation Note**: Single phase — after completing all changes, run automated verification. No need for inter-phase checkpoints.

---

## Manual E2E Verification

After implementation, test end-to-end by:

1. **Invoke the command**: `/question how does the validate-thoughts hook work?`
   - Verify: Claude answers inline without creating a file
   - Verify: Handoff options are presented via AskUserQuestion

2. **Test "Save this answer" flow**: Select "Save this answer" from handoff
   - Verify: File is created at `thoughts/taras/questions/2026-03-17-<topic>.md`
   - Verify: File has proper frontmatter and Q&A content

3. **Test "Ask another question" loop**: Select "Ask another question"
   - Verify: Claude asks for the next question and answers it

4. **Test handoff to brainstorm**: Select "Start a brainstorm"
   - Verify: `/brainstorm` is invoked with the topic as context

5. **Test handoff to research**: Select "Start research"
   - Verify: `/research` is invoked with the topic as context

## References

- Related research: `thoughts/taras/research/2026-03-17-questioning-skill.md`

Files in this skill

  • 2026-01-22-ai-tracker-screenshot-export.md15.8 KB
  • 2026-01-22-brain-cli-mvp.md23.3 KB
  • 2026-01-23-brain-cron-autosync.md5.7 KB
  • 2026-01-23-brain-delete.md8.6 KB
  • 2026-01-23-brain-todos.md6.3 KB
  • 2026-01-26-remarkable-plugin.md10.4 KB
  • 2026-01-30-arewedoomedyet-dev.md26.5 KB
  • 2026-02-05-file-review-unified-skill.md4.1 KB
  • 2026-02-19-plan-checkbox-hook.md16.1 KB
  • 2026-03-09-new-base-skills.md29.1 KB
  • 2026-03-11-cc-plugin-base-consistency-fixes.md17.4 KB
  • 2026-03-11-inter-session-communication.md25 KB
  • 2026-03-16-qa-skill.md24.9 KB
  • 2026-03-17-questioning-skill.md6.2 KB
  • 2026-03-18-learning-skill.md27.2 KB
  • 2026-03-25-oapi-implementation-plan.md30.1 KB
  • 2026-04-13-rozum-v1.md54.7 KB
  • 2026-04-17-script-builder-skill.md46.5 KB
  • 2026-04-28-file-review-tabs-mermaid/root.md13.1 KB
  • 2026-04-28-file-review-tabs-mermaid/step-1.md7.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.