360 Secure SkillHub
360 安全技能中心

storage-templates

该 Skill 以 Markdown 文档形式给出结构化内容存储的通用模板(常青、成长、种子、参考四类)、成熟度进阶流程(种子→成长→常青→归档)、文件命名约定、模板选择指南与集成方式,并附模板与生命周期两个模块文档,供知识管理与文档组织场景参考。

分类:知识
athola
athola
热度 43.52
最近更新 2026-08-26 21:17:07

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add athola/nm-leyline-storage-templates
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
storage-templates
description
Provides templates and lifecycle patterns for storage and documentation systems
version
1.9.8
triggers
["templates","storage","lifecycle","maturity","organization","patterns","organizing knowledge storage","config lifecycle","or naming conventions"]
metadata
{"openclaw":{"homepage":"https://github.com/athola/claude-night-market/tree/master/plugins/leyline","emoji":"🦞"}}
source
claude-night-market
source_plugin
leyline

Night Market Skill — ported from claude-night-market/leyline. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Table of Contents

Storage Templates

Overview

Generic template patterns and lifecycle management for structured content storage. Provides reusable templates, maturity progression models, and file naming conventions that work across different storage domains.

When To Use

  • Building knowledge management systems
  • Organizing documentation with maturity stages
  • Need consistent file naming patterns
  • Want template-driven content creation
  • Implementing lifecycle-based workflows

When NOT To Use

  • Simple storage without lifecycle or structure needs

Core Concepts

Template Types

Type Purpose Maturity Lifetime
Evergreen Stable, proven knowledge High Permanent
Growing Active development Medium 1-3 months
Seedling Early ideas Low 1-2 weeks
Reference Tool/version-specific N/A Until deprecated

Maturity Lifecycle

seedling → growing → evergreen → archive
    ↓         ↓          ↓           ↓
 1-2 weeks  1-3 months  permanent  deprecated

Verification: Run the command with --help flag to verify availability.

Quick Start

Basic Template Structure

---
title: [Content Title]
created: [YYYY-MM-DD]
maturity: seedling|growing|evergreen|reference
tags: [relevant, tags]
---

# [Title]

## Core Content
[Main information]

## Metadata
[Context and attribution]

Verification: Run the command with --help flag to verify availability.

File Naming Conventions

Type Pattern Example
Evergreen topic-name.md functional-core-pattern.md
Growing topic-name.md async-patterns.md
Seedling YYYY-MM-DD-topic.md 2025-12-05-template-idea.md
Reference tool-version.md python-3.12-features.md

Domain Applications

Add domain-specific fields to templates:

  • memory-palace: palace, district for knowledge organization
  • sanctum: scope, version for commit templates
  • spec-kit: phase, status for specifications

See modules/template-patterns.md for detailed examples.

Common Patterns

Promotion Workflow

Seedling → Growing:

  • Accessed more than once
  • Connected to other entries
  • Expanded with new insights

Growing → Evergreen:

  • Proven useful over 3+ months
  • Stable, not frequently edited
  • Well-connected in system

Evergreen → Archive:

  • Superseded by newer knowledge
  • Technology/approach deprecated
  • No longer applicable

Template Selection Guide

Stability Purpose Template
Proven Long-term Evergreen
Evolving Active development Growing
Experimental Exploration Seedling
Versioned External reference Reference

Integration Pattern

# In your skill's frontmatter
dependencies: [leyline:storage-templates]

Verification: Run the command with --help flag to verify availability.

Detailed Resources

  • Templates: See modules/template-patterns.md for detailed structures
  • Lifecycle: See modules/lifecycle-stages.md for maturity progression

Exit Criteria

  • Template selected for use case
  • File naming convention applied
  • Maturity stage assigned
  • Promotion criteria understood