Skip to content
Back to skills

Commands

ASecurity

Run the Phase 0 research workflow to scaffold research artifacts before task planning.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
datagobashgit

Security analysis

A100/100

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

Scanned September 7, 2026

npx -y skills add richfrem/Project_Sanctuary --skill commands --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commands?

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

Security grade badge for Commands
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-commands-5e73be9c/badge)](https://www.skillsdirectory.com/skills/richfrem-commands-5e73be9c)

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
---
name: spec-kitty-research
description: Run the Phase 0 research workflow to scaffold research artifacts before task planning.
---

**Path reference rule:** When you mention directories or files, provide either the absolute path or a path relative to the project root (for example, `kitty-specs/<feature>/tasks/`). Never refer to a folder by name alone.


*Path: [.kittify/templates/commands/research.md](.kittify/templates/commands/research.md)*


## Location Pre-flight Check

**BEFORE PROCEEDING:** Verify you are working in the feature worktree.

```bash
pwd
git branch --show-current
```

**Expected output:**
- `pwd`: Should end with `.worktrees/001-feature-name` (or similar feature worktree)
- Branch: Should show your feature branch name like `001-feature-name` (NOT `main`)

**If you see the main branch or main repository path:**

⛔ **STOP - You are in the wrong location!**

This command creates research artifacts in your feature directory. You must be in the feature worktree.

**Correct the issue:**
1. Navigate to your feature worktree: `cd .worktrees/001-feature-name`
2. Verify you're on the correct feature branch: `git branch --show-current`
3. Then run this research command again

---

## What This Command Creates

When you run `spec-kitty research`, the following files are generated in your feature directory:

**Generated files**:
- **research.md** – Decisions, rationale, and supporting evidence
- **data-model.md** – Entities, attributes, and relationships
- **research/evidence-log.csv** – Sources and findings audit trail
- **research/source-register.csv** – Reference tracking for all sources

**Location**: All files go in `kitty-specs/001-feature-name/`

---

## Workflow Context

**Before this**: `/spec-kitty.plan` calls this as "Phase 0" research phase

**This command**:
- Scaffolds research artifacts
- Creates templates for capturing decisions and evidence
- Establishes audit trail for traceability

**After this**:
- Fill in research.md, data-model.md, and CSV logs with actual findings
- Continue with `/spec-kitty.plan` which uses your research to drive technical design

---

## Goal

Create `research.md`, `data-model.md`, and supporting CSV stubs based on the active mission so implementation planning can reference concrete decisions and evidence.

## What to do

1. You should already be in the correct feature worktree (verified above with pre-flight check).
2. Run `spec-kitty research` to generate the mission-specific research artifacts. (Add `--force` only when it is acceptable to overwrite existing drafts.)
3. Open the generated files and fill in the required content:
   - `research.md` – capture decisions, rationale, and supporting evidence.
   - `data-model.md` – document entities, attributes, and relationships discovered during research.
   - `research/evidence-log.csv` & `research/source-register.csv` – log all sources and findings so downstream reviewers can audit the trail.
4. If your research generates additional templates (spreadsheets, notebooks, etc.), store them under `research/` and reference them inside `research.md`.
5. Summarize open questions or risks at the bottom of `research.md`. These should feed directly into `/spec-kitty.tasks` and future implementation prompts.

## Success Criteria

- `kitty-specs/<feature>/research.md` explains every major decision with references to evidence.
- `kitty-specs/<feature>/data-model.md` lists the entities and relationships needed for implementation.
- CSV logs exist (even if partially filled) so evidence gathering is traceable.
- Outstanding questions from the research phase are tracked and ready for follow-up during planning or execution.

Files in this skill

  • agent-plugin-analyzer_mine-plugins.md2.6 KB
  • agent-plugin-analyzer_mine-skill.md1.5 KB
  • agent-plugin-analyzer_self-audit.md2.5 KB
  • chronicle-manager_create.md421 B
  • chronicle-manager_manage.md629 B
  • plugin-bridge_cleanup.md843 B
  • plugin-bridge_install.md1.5 KB
  • plugin-bridge_update.md399 B
  • protocol-manager_create.md503 B
  • protocol-manager_manage.md795 B
  • rlm-factory_audit.md638 B
  • rlm-factory_cleanup.md949 B
  • rlm-factory_distill-agent.md1 KB
  • rlm-factory_distill.md1.7 KB
  • rlm-factory_query.md891 B
  • rlm-factory_rlm-factory_gap-fill.md2 KB
  • sanctuary-guardian_dual-loop-learning.md5.3 KB
  • sanctuary-guardian_sanctuary-audit.md1.3 KB
  • sanctuary-guardian_sanctuary-chronicle.md613 B
  • sanctuary-guardian_sanctuary-end.md2.3 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.

View all in data →

Comments

Loading comments…

Newsletter

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