Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

museum-documentation博物馆文献

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

1,591

周安装

65

GitHub Stars

4

下载量

515
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:museum-documentation(博物馆文献)
来源仓库:https://github.com/autumnsgrove/groveengine
仓库路径:skills/museum-documentation
安装命令:
npx skills add https://github.com/autumnsgrove/groveengine --skill museum-documentation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/autumnsgrove/groveengine --skill museum-documentation

简介

museum-documentation 用于辅助文档、README、Markdown 和内容稿件的整理与改写,适合让 Agent 提炼结构、补齐章节或统一术语。

  • 适用于开发类文档编写场景,需保留项目已有事实和路径信息。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力。
  • 当前无原始 SKILL.md 内容摘录,建议进一步查阅项目文档了解详细功能。

SKILL.md

Museum Documentation

*Documentation as hospitality. Code as curated collection.*

The art of transforming technical systems into welcoming guided tours. Museum documentation positions the writer as a guide walking alongside readers through "why" questions before diving into implementation specifics.

This is Grove's elegant documentation style—meant for Wanderers of any experience level who want to understand the technologies, patterns, and decisions that make Grove what it is.

When to Activate

  • Creating documentation meant to be read by Wanderers, not developers
  • Writing knowledge base articles that explain how systems work
  • Documenting a codebase, feature, or system for curious visitors
  • Creating "how it works" content for the help center
  • Writing technical content that should feel inviting, not intimidating
  • Building exhibits for future knowledge base sections
  • Onboarding documentation that walks through architecture

Not for:

  • API references (use grove-documentation)
  • Technical specs (use grove-spec-writing)
  • Quick-reference guides

Core Philosophy

Documentation should function as hospitality.

When readers enter a codebase or system, they're visitors unfamiliar with its architecture and design decisions. Museum-style documentation positions the writer as a guide rather than a reference compiler, walking alongside readers through "why" questions before diving into implementation.

The Museum Metaphor

             🌲  Welcome  🌲
          ╭─────────────────────╮
          │                     │
          │   ╭─────────────╮   │
          │   │  EXHIBIT A  │   │
          │   │             │   │
          │   │  How Login  │   │
          │   │    Works    │   │
          │   │             │   │
          │   ╰─────────────╯   │
          │         │           │
          │    ═════╪═════      │
          │         │           │
          │   ╭─────────────╮   │
          │   │  EXHIBIT B  │   │
          │   ╰─────────────╯   │
          │                     │
          ╰─────────────────────╯

    Walk through. Take your time.
    Every exhibit tells a story.

A museum doesn't hand you a catalog and wish you luck. It guides you through a curated experience, placing context before complexity, stories before specifications.


Key Principles

Orient Before Explaining

Start exhibits by establishing context. Before showing code or architecture, tell readers:

  • What they're looking at
  • Why it exists
  • Who benefits from it

Instead of:

The TokenRefreshMap stores active refresh operations keyed by user ID.

Write:

When someone's login expires, we need to refresh their credentials without logging them out. This map coordinates that process—preventing duplicate refresh attempts when multiple tabs are open.

Explain Reasoning Over Facts

Code shows *what*. Documentation explains *why*.

Rather than stating that a Map stores token refresh operations, describe the coordination problem it solves. Connect the abstraction to the experience it creates.

Use Accessible Metaphors

Connect technical concepts to familiar experiences:

Technical ConceptMuseum Metaphor
DatabaseA filing cabinet with organized drawers
CacheA quick-lookup shelf by the door
MiddlewareA security checkpoint you pass through
QueueA line where requests wait their turn
WorkerA helpful assistant handling tasks in the background
WebhookA doorbell that rings when something happens

Show Real Code, Then Analyze

Present actual code snippets followed by clear explanation of their significance:

const pending = this.refreshInProgress.get(userId);
if (pending) return pending;

*If a refresh is already happening for this person, we wait for that one instead of starting another. One kitchen, one cook.*


Structural Framework

Museum exhibits follow consistent anatomy:

1. Title with Tagline

# The Authentication Exhibit

> Where login happens. Where trust begins.

2. "What You're Looking At" Section

Orient the reader immediately:

## What You're Looking At

This is where login happens. When someone proves they own an email
address, this code decides what they can access and how long that
access lasts.

You'll see OAuth flows, session management, and token refresh logic.
Nothing scary—just careful choreography.

3. Organized Tour Structure

Use galleries, parts, or sections to organize the journey:

## The Tour

### Gallery 1: The Front Door

How visitors arrive and prove who they are.

### Gallery 2: The Memory Room

How we remember who's logged in.

### Gallery 3: The Renewal Office

How sessions stay fresh without interrupting work.

4. "Patterns Worth Stealing"

Highlight transferable lessons:

## Patterns Worth Stealing

**The "already in progress" check.** Before starting an expensive
operation, check if it's already running. Simple, but easy to forget.

**Centralized error handling.** All auth failures flow through one
function. One place to fix, one place to log.

5. "Lessons Learned"

Offer honest reflection:

## Lessons Learned

We tried stateless JWTs first. Simpler, they said. Scalable, they
promised. But logout was impossible—tokens couldn't be revoked.

Session-based auth is older, but it works. Sometimes boring is right.

6. "Continue Your Tour"

Link to related exhibits:

## Continue Your Tour

- **[The Database Exhibit](./database.md)** — Where sessions are stored
- **[The API Exhibit](./api.md)** — How protected routes check access
- **[The Security Exhibit](./security.md)** — Rate limiting and protection

7. Meaningful Closing Signature

---

_— Autumn, January 2026_

Or a poetic one-liner:

---

_Trust is built one verified request at a time._

Visual Elements

ASCII Flow Diagrams

Show processes and relationships:

  Visitor                    Grove                     Google
     │                         │                          │
     │   "Log me in"           │                          │
     │ ───────────────────────>│                          │
     │                         │   "Who is this?"         │
     │                         │ ────────────────────────>│
     │                         │                          │
     │                         │   "It's autumn@..."      │
     │                         │ <────────────────────────│
     │                         │                          │
     │   "Welcome back"        │                          │
     │ <───────────────────────│                          │
     │                         │                          │

Tables for Quick Reference

| File            | What It Does         | Why It Matters |
| --------------- | -------------------- | -------------- |
| `auth.ts`       | Handles OAuth flow   | The front door |
| `session.ts`    | Manages login state  | The memory     |
| `middleware.ts` | Checks every request | The bouncer    |

Code Blocks with Context

Never show code in isolation. Always explain before or after:

// Every request passes through this checkpoint
export async function authGuard(request: Request): Promise<Response | null> {
  const session = await getSession(request);
  if (!session) {
    return redirect("/login");
  }
  return null; // Continue to the page
}

*If you're not logged in, you go to login. If you are, you continue. Simple checkpoint logic.*


Voice and Tone

Do

  • Write conversationally using "you" and "we" naturally
  • Acknowledge imperfections ("We tried X first. It didn't work.")
  • Include personal touches ("This took three attempts to get right.")
  • Use short paragraphs (2-4 sentences)
  • Vary sentence rhythm

Avoid

Refer to owl-archive/references/anti-patterns.md for the full list. Key ones for museum writing:

  • Em-dashes (use periods, commas, or parentheses)
  • Corporate jargon ("robust," "seamless," "leverage," "utilize," "streamline")
  • Heavy transitions ("Furthermore," "Moreover," "Additionally," "It's worth noting")
  • The "Not X, but Y" pattern and its variants ("Not X. Not Y. Just Z.")
  • Passive voice when active is clearer
  • Hedging language ("This may potentially help...")
  • Dead metaphors (don't repeat the same metaphor in every paragraph)
  • Fractal summaries (don't preview, state, then re-summarize every section)
  • "Here's the thing" / "Here's the kicker" false suspense
  • Gerund fragment litanies ("Fixing bugs. Writing features. Shipping code.")
  • Historical analogy stacking ("Apple... Facebook... Uber..." rapid-fire)
  • Bold-first bullet patterns in narrative lists

The Distinction

Generic (avoid):

This module provides robust functionality for handling authentication flows in a seamless manner, leveraging industry-standard OAuth protocols.

Museum style (use):

This is where login happens. When someone proves they own an email address, this code decides what they can access.

Organization Patterns

Full Codebase: MUSEUM.md

For documenting an entire codebase, create a central MUSEUM.md that serves as the entrance:

# Welcome to the Grove Museum

> A guided tour of how this forest grows.

## The Wings

- **[The Architecture Wing](./docs/exhibits/architecture.md)** — The big picture
- **[The Authentication Exhibit](./docs/exhibits/auth.md)** — Trust and identity
- **[The Database Galleries](./docs/exhibits/database.md)** — Where data lives

Single Directory: EXHIBIT.md

For a single complex feature or directory:

# The Editor Exhibit

> Where words become posts.

This directory contains everything that powers the writing experience...

Complex Features: Gallery Structure

For multi-part systems, use galleries:

## Gallery 1: Data Layer

How posts are stored and retrieved.

## Gallery 2: API Endpoints

The doors visitors knock on.

## Gallery 3: The Editor Component

Where the magic happens in the browser.

## Gallery 4: Security Considerations

Keeping things safe.

Validation Checklist

Before finalizing any museum documentation:

Structure

  • Title includes tagline
  • "What You're Looking At" orients the reader
  • Organized into logical galleries/sections
  • "Patterns Worth Stealing" highlights transferable lessons
  • "Continue Your Tour" links to related content
  • Meaningful closing (signature or poetic line)

Visual Variety

  • At least one ASCII diagram or flow
  • Tables where comparison helps
  • Code blocks with explanatory context
  • No walls of text longer than 4-5 paragraphs

Voice (refer to grove-documentation)

  • No em-dashes
  • No corporate jargon
  • Direct tone explaining motivations
  • Acknowledged imperfections where honest
  • Clear connections between system parts

Reader Experience

  • A newcomer could follow the tour
  • "Why" is answered before "how"
  • Technical details are contextualized
  • The path feels logical and navigable

Integration with Other Skills

Before Writing

  1. walking-through-the-grove — If the exhibit needs a name
  2. grove-documentation — Review voice guidelines, especially the "avoid" lists

While Writing

  1. grove-spec-writing — Borrow ASCII art techniques for diagrams
  2. grove-documentation — Check terminology (Wanderer, Rooted, etc.)
  3. GroveTerm components — When exhibits include Grove terminology in UI, use GroveTerm, GroveSwap, or GroveText from @autumnsgrove/lattice/ui instead of hardcoding terms. New visitors see standard terms by default; Grove Mode users see the nature-themed vocabulary. Use [[term]] syntax in markdown content for auto-transformation via the rehype-groveterm plugin.

After Writing

  1. Read as a newcomer — Traverse the documentation as if you've never seen it
  2. Does the path feel logical? Would you want to explore further?

Example: A Complete Exhibit

# The Session Exhibit

> How Grove remembers who you are.

## What You're Looking At

When you log in, Grove needs to remember you. Not forever—just long
enough for your visit. This exhibit shows how that memory works.

You'll see cookies, database tables, and the careful dance of
"who are you?" that happens with every page load.

---

## Gallery 1: The Cookie Jar

A session starts with a cookie. Not the chocolate chip kind—a small
piece of text your browser holds onto.

const SESSION_COOKIE = "grove_session"; const SESSION_DURATION = 7 * 24 * 60 * 60 * 1000; // 7 days

*Seven days. Long enough to be convenient, short enough to stay secure.*

When you log in, we generate a random ID and store it in this cookie. The ID itself means nothing—it's just a key to look you up.


Gallery 2: The Memory Book

The actual session data lives in the database:

ColumnWhat It Holds
idThe random key from the cookie
user_idWho this session belongs to
created_atWhen you logged in
expires_atWhen this session ends

Every time you load a page, we look up your cookie's ID in this table. If we find it (and it hasn't expired), you're still logged in.


Gallery 3: The Refresh Dance

Sessions expire. But logging in every week is annoying.

So we do a quiet refresh: when your session is more than halfway through its life, we extend it. You never notice. You just stay logged in while you're active.

if (session.expiresAt < Date.now() + SESSION_DURATION / 2) {
  await extendSession(session.id);
}

*Active visitors stay. Abandoned sessions expire.*


Patterns Worth Stealing

The "halfway refresh" pattern. Don't wait until expiration to extend sessions. Extend them while the visitor is active.

Random IDs over sequential. Session IDs should be unpredictable. Never use auto-incrementing numbers for security tokens.


Lessons Learned

We used to store session data in the cookie itself (JWTs). Simpler, we thought. But then we couldn't revoke sessions—if someone's token leaked, we had no way to invalidate it.

Database sessions are older technology. Sometimes older is wiser.


Continue Your Tour


*— Autumn, January 2026*

---

## The Underlying Purpose

Museum documentation respects readers' time and intelligence while acknowledging that code is knowledge deserving careful stewardship.

Wanderers who read these exhibits should leave understanding not just *what* Grove does, but *why* it does it that way. They should feel like they've been welcomed into the workshop, not handed a manual.

*Every codebase has stories. Museum documentation tells them.*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.18%
按下载量换算186

Claude

28.35%
按下载量换算146

Cursor

16.43%
按下载量换算85

Gemini CLI

9.52%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills