Skip to content
Back to skills

Research Frontmatter

ASecurity

Validate and enforce standard YAML frontmatter on research documents with JD-aware path resolution. Use when creating, editing, or validating research files, when user mentions "research metadata", "research frontmatter", "research staleness", "validate research", "RD-rules", or "research docs validation".

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 28, 2026
ai-agentsbashgit

Security analysis

A100/100

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

Scanned May 28, 2026

npx -y skills add joaquimscosta/arkhe-claude-plugins --skill research-frontmatter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Research Frontmatter?

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

Security grade badge for Research Frontmatter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joaquimscosta-research-frontmatter/badge)](https://www.skillsdirectory.com/skills/joaquimscosta-research-frontmatter)

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: research-frontmatter
description: >-
  Validate and enforce standard YAML frontmatter on research documents with
  JD-aware path resolution. Use when creating, editing, or validating research
  files, when user mentions "research metadata", "research frontmatter",
  "research staleness", "validate research", "RD-rules", or "research docs
  validation".
argument-hint: "validate [path] | schema | staleness | index | resolve-path"
allowed-tools: Read, Glob, Grep, Bash
---

# Research Frontmatter

Enforce standard YAML frontmatter on research documents so GitHub renders metadata as a table and readers can judge staleness.

## Quick Start

```bash
# Validate all research documents
uv run ${CLAUDE_SKILL_DIR}/scripts/validate_research_docs.py --format text

# Check staleness only
uv run ${CLAUDE_SKILL_DIR}/scripts/validate_research_docs.py --staleness-only

# Resolve research path (JD-aware)
uv run ${CLAUDE_SKILL_DIR}/scripts/resolve_research_path.py --format json

# Override research directory
uv run ${CLAUDE_SKILL_DIR}/scripts/validate_research_docs.py --research-dir docs/30-research
```

## Required Frontmatter

Every research file MUST have these 5 fields:

```yaml
---
title: "Human-readable title"
version: "1.0.0"
status: Published           # Published | Draft | Living Document
created: YYYY-MM-DD
last_updated: YYYY-MM-DD
---
```

Optional fields (slug, tags, aliases, promoted_at, last_refreshed, sources) MAY follow.

## JD-Aware Path Resolution

The skill auto-detects Johnny.Decimal structure:

1. Look for `.jd-config.json` at project root
2. Find area containing "research" (default: prefix `30`)
3. Construct path: `{root}/{prefix}-{name}/` (e.g. `docs/30-research/`)
4. Fall back to `docs/research/` if no JD config

This applies to both validation and the deep-research promote workflow.

## Validation Rules

| Rule | Severity | Check |
|------|----------|-------|
| RD001 | ERROR | Missing YAML frontmatter |
| RD002-006 | ERROR | Missing required field (title, version, status, created, last_updated) |
| RD007 | ERROR | Invalid status value |
| RD008-009 | WARNING | Invalid date format |
| RD010 | WARNING | Invalid version format |
| RD011 | WARNING | Missing Executive Summary section |
| RD012 | WARNING | Missing References section |
| RD013 | ERROR | Research doc not in README.md index |
| RD014 | WARNING | README index metadata mismatch |
| RD015 | WARNING | Index references missing file |
| RD016 | WARNING | Stale last_updated vs git history |

## Version Increment

- **Patch** (1.0.0 -> 1.0.1): Typo fixes, formatting, minor clarifications
- **Minor** (1.0.0 -> 1.1.0): New sections, updated examples
- **Major** (1.0.0 -> 2.0.0): Complete rewrite, fundamental scope change

## README Index Format

The research README.md MUST use these columns:

```markdown
| Topic | Version | Status | Created | Last Updated |
```

## Integration

- **deep-research**: Promote uses JD-aware path resolution for Tier 2 output
- **doc-freshness**: Research docs with `last_updated` qualify for deep scanning
- **jd-docs**: Area `30-research` is the default research home in JD structure

## Template

New research files should follow the `TEMPLATE.md` in the research directory.

See [WORKFLOW.md](WORKFLOW.md) for detailed procedures.
See [EXAMPLES.md](EXAMPLES.md) for usage examples.
See [TROUBLESHOOTING.md](TROUBLESHOOTING.md) for common issues.

Files in this skill

  • EXAMPLES.md2.7 KB
  • SKILL.md3.3 KB
  • TROUBLESHOOTING.md2.6 KB
  • WORKFLOW.md3.3 KB
  • scripts/resolve_research_path.py1.4 KB
  • scripts/shared.py11.4 KB
  • scripts/validate_research_docs.py10.4 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 ai-agents →

Comments

Loading comments…

Newsletter

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