スキル一覧に戻る
nstrayer

spec-metadata

by nstrayer

A claude code plugin related to research and planning. Inspired heavily by humanlayer

0🍴 0📅 2026年1月12日
GitHubで見るManusで実行

SKILL.md


name: spec-metadata description: Generates metadata for research documents and specifications including date/time, git commit, branch, and repository info. Use when creating research documents, handoffs, or any documentation that needs timestamp and git metadata. allowed-tools: Bash

Spec Metadata Generator

This skill generates metadata for documentation files including research documents, handoffs, and specifications.

When to Activate

Activate this skill when:

  • Creating research documents in thoughts/shared/research/
  • Creating handoff documents in thoughts/shared/handoffs/
  • Creating implementation plans
  • Any documentation that needs timestamp and git metadata

Process

1. Collect Metadata

Run the following commands to gather all necessary metadata:

# Current date/time with timezone
date '+%Y-%m-%d %H:%M:%S %Z'

# Timestamp for filename
date '+%Y-%m-%d_%H-%M-%S'

# Git information
git rev-parse --show-toplevel  # Repo root
basename "$(git rev-parse --show-toplevel)"  # Repo name
git branch --show-current  # Current branch
git rev-parse HEAD  # Current commit hash

2. Output Format

Present the metadata to the user in this format:

Current Date/Time (TZ): [date with timezone]
Current Git Commit Hash: [commit hash]
Current Branch Name: [branch name]
Repository Name: [repo name]
Timestamp For Filename: [filename timestamp]

3. Usage in Documents

This metadata should be used in YAML frontmatter:

---
date: [Current date and time with timezone in ISO format]
git_commit: [Current commit hash]
branch: [Current branch name]
repository: [Repository name]
last_updated: [Current date in YYYY-MM-DD format]
---

Notes

  • The filename timestamp format uses underscores and 24-hour time (e.g., 2025-01-08_13-55-22)
  • Always include timezone information in the date field

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です