Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

tl-devlogtl 开发日志

Agent Skill

tl-devlog 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

261

周安装

11

GitHub Stars

公开资料未说明

下载量

92
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/toddlevy/tl-agent-skills --skill tl-devlog

简介

tl-devlog 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从 GitHub 安装,支持主流 AI 宿主环境。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • tl-devlog 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

tl-devlog

Maintain a living development log (DEVLOG.md) in project repositories. Captures decisions, progress, incidents, and insights so future sessions have full context on what was done and why.

Quick Start

Just say "log this" or "devlog" after any significant decision or milestone.

Example interaction:

You: "We decided to use PostgreSQL instead of MongoDB for the audit system"
Agent: "This feels worth capturing — we decided PostgreSQL for transactional
       integrity over MongoDB's flexibility. Want me to log it?"
You: "Yes, log it"
Agent: [Drafts entry, shows for approval, commits to DEVLOG.md]

When to Use

Explicit triggers (user-initiated):

  • "Log this", "devlog", "archive this"
  • "Add to the devlog", "record this decision"
  • "This should go in the changelog"

Proactive suggestions (agent-initiated, at natural pause points):

  • A technical architecture decision was made
  • A significant piece of work was completed
  • A production incident was resolved
  • An important insight emerged
  • A strategic direction was established

Frame suggestions naturally: "This feels worth capturing — we decided X because of Y. Want me to log it?"

Do NOT log:

  • Routine Q&A or simple lookups
  • Work still in progress with no decision point
  • Minor clarifications that don't change direction

Outcomes

  • Artifact: Entry added to DEVLOG.md in project root
  • Patch: Git commit with devlog: prefix pushed to origin

Safety Constraints

  • Do NOT store secrets, API keys, tokens, or credentials in devlog entries
  • If sensitive information is mentioned, redact it before logging
  • Always show the user the draft entry before committing
  • Never auto-push without user confirmation

Categories

Choose the category that best fits each entry:

CategoryWhat It CapturesExample
architectureTechnical design decisions, data models, stack choices, API design"Chose PostgreSQL over MongoDB for transactional integrity"
milestoneCompleted work, version releases, phase transitions"Completed v1.0 API endpoints"
incidentProduction issues, root cause, resolution"Fixed memory leak in worker process"
bugNon-production bugs, debugging sessions"Resolved race condition in auth flow"
opsInfrastructure, deployment, monitoring changes"Added Datadog APM instrumentation"
designUX decisions, UI patterns, feature specifications"Adopted card-based layout for dashboard"
strategyBusiness decisions, positioning, go-to-market"Pivoted from B2C to B2B focus"
takeawayKey insights, lessons learned, context for future"Learned that bulk imports need progress indicators"

Entry Format

## [YYYY-MM-DD] Brief descriptive title

**Category:** `architecture` | `milestone` | `incident` | `bug` | `ops` | `design` | `strategy` | `takeaway`
**Tags:** `relevant`, `topic`, `tags`

### Summary
1-2 sentence overview of what happened or was decided.

### Detail
- What was decided or accomplished
- Why this approach was chosen
- What alternatives were considered (and why rejected)
- Dependencies or implications for future work

### Related
- Links to related entries, PRs, issues, or docs

Instructions

Step 1: Identify the Project

On first use in a session, establish context:

  1. Check if the current working directory is a git repo
  2. If yes, use the repo root for DEVLOG.md
  3. If ambiguous, ask: "Which project should I log this to?"

Step 2: Identify Category and Content

From the conversation or user request, determine:

  • Category: Which of the 8 categories fits best
  • Title: Brief descriptive phrase
  • Content: What happened, why, what alternatives were considered

Step 3: Draft the Entry

Write the entry following the format above. Include:

  • Specific details (file names, version numbers, concrete outcomes)
  • The "why" — rationale is the most valuable part
  • Past tense for decisions and completed work

Step 4: Show User for Approval

Present the drafted entry and ask:

  • "Does this capture it accurately?"
  • "Any edits before I commit?"

Never commit without user confirmation.

Step 5: Update DEVLOG.md

Determine the file path:

  • Use {repo_root}/DEVLOG.md
  • If the file doesn't exist, create it with this header:
# [Project Name] — Development Log

A living record of architectural decisions, milestones, incidents, and insights.
Entries are reverse-chronological (newest first).

---

Insert the new entry immediately below the header separator (---). Entries are always newest-first.

Step 6: Commit and Push

After user approval:

git add DEVLOG.md
git commit -m "devlog: [brief title from entry]"
git push origin HEAD

Step 7: Confirm

Report back:

✅ Logged: [Category] - [Title]
📂 DEVLOG.md updated
🔗 Pushed to origin

Update Modes

When updating an existing date's entry:

APPEND (default): Add new bullets to existing sections without modifying prior content.

CHANGE: User describes specific edits. Apply minimal changes faithful to the request.


Reading the Devlog

When the user asks about past decisions, progress, or project history:

  1. Read DEVLOG.md from the repo
  2. Search entries by category, tags, date, or keywords
  3. Summarize relevant entries in the conversation

This makes the devlog bidirectional — for writing and recalling context.


Multiple Entries Per Session

If a conversation covers several loggable topics:

  • Draft all entries at once
  • Present them together for review
  • Commit in a single push: devlog: session updates - [topic1], [topic2]

Storage Modes

ModeLocationUse Case
Project (default){repo_root}/DEVLOG.mdChecked into git, shared with team
Local.devlog/ in projectGit-ignored, private notes
Global~/.devlog/Cross-project personal log

Default to project mode. Switch to local/global only if user explicitly requests.


Error Handling

ScenarioAction
Not a git repoAsk user where to store the log
Push failsShow error, suggest fixes (auth, branch protection). Save entry locally.
Merge conflictsShow conflict, help resolve, retry
No write accessFall back to local mode, inform user

Style Guidelines

  • Past tense for decisions and completed work ("Chose X over Y")
  • Present tense for ongoing context ("The system supports N")
  • Be specific — include versions, filenames, concrete details
  • Include the "why" for every "what"
  • Tags: lowercase, hyphenated, searchable (rate-limiting, auth-flow)
  • Reference related devlog entries by date when relevant

What Good Looks Like

❌ BAD: "Fixed the database issue"

✅ GOOD: "Resolved 45-minute API outage caused by connection pool exhaustion.
   Root cause: analytics cron job ran 3-hour query without statement timeout.
   Fix: Killed query, added 5-minute timeout, separated analytics pool."

Skill Resources

DocumentPurpose
references/entry-examples.mdComplete examples for each category

Load the examples reference when you need inspiration for a specific category.


ADR Integration

Some architecture entries deserve promotion to formal Architecture Decision Records.

When to Promote to ADR

Devlog EntryPromote?Reasoning
"Chose PostgreSQL over MongoDB"✓ YesSignificant, reversible-with-effort decision
"Added rate limiting to API"MaybeIf it affects system design
"Fixed typo in config"✗ NoTrivial, no alternatives considered

MADR 4.0 Template

When promoting to ADR, use this format in docs/decisions/NNNN-decision-title.md:

---
status: accepted
date: 2026-03-18
decision-makers: [team members]
consulted: [stakeholders]
informed: [affected parties]
---

# ADR-NNNN: [Decision Title]

## Context and Problem Statement

[1-2 sentences describing the situation and the decision to be made]

## Decision Drivers

* [Concern 1]
* [Concern 2]

## Considered Options

1. [Option A]
2. [Option B]
3. [Option C]

## Decision Outcome

Chosen option: "[Option X]" because [justification].

### Consequences

* Good, because [positive outcome]
* Bad, because [negative outcome]
* Neutral, because [side effect]

## Links

* [Link to devlog entry]
* [Link to related ADRs]

Bidirectional Linking

When promoting a devlog entry to ADR:

  1. Create the ADR file
  2. Update the devlog entry with a link:
### Related
- **ADR**: [ADR-0015: PostgreSQL for Audit System](docs/decisions/0015-postgresql-for-audit.md)

CHANGELOG Bridging

Extract milestone entries to generate CHANGELOG releases.

Workflow

  1. Query milestones since last release: grep -A 20 "Category.*milestone" DEVLOG.md | head -50
  2. Map to CHANGELOG categories: Devlog Tag CHANGELOG Section new-feature Added enhancement Changed deprecation Deprecated removal Removed fix, bug Fixed security Security
  3. Generate entry: ## [1.2.0] - 2026-03-18 ### Added - API endpoint for bulk imports (#123) ### Changed - Improved rate limiting algorithm ### Fixed - Memory leak in worker process (incident 2026-03-15)

Keep a Changelog Format

Follow keepachangelog.com:

  • Newest entries at top
  • Group by version, then by type
  • Use ISO dates (YYYY-MM-DD)
  • Link versions to git tags

Search Patterns

Find entries by category

grep -B 2 "Category.*architecture" DEVLOG.md

Find entries by tag

grep -B 5 "Tags:.*auth-flow" DEVLOG.md

Find entries by date range

awk '/## \[2026-03-/{flag=1} flag; /## \[2026-02-/{flag=0}' DEVLOG.md

Full-text search

grep -B 10 -A 10 "PostgreSQL" DEVLOG.md

References

Quilted Skills

First-Party Documentation

Industry Perspectives

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.62%
按下载量换算33

Claude

26.26%
按下载量换算24

Cursor

19.82%
按下载量换算18

Gemini CLI

9.15%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills