changelog
Skill này làm gì
Skill này bao gồm changelog tùy chọn cho ứng dụng Agent-Native. Nó giải thích khi nào nên thêm mục nhập cho các thay đổi người dùng có thể nhận thấy, và cách file changelog trên cùng và các thư mục mục nhập theo ngày phối hợp với nhau. Skill dành cho đội ứng dụng muốn có trang Có gì mới.
Khi nào nên dùng
- ✓Khi bạn phát hành một tính năng, một cải tiến nhìn thấy được hoặc một bản sửa lỗi mà người dùng sẽ nhận ra.
- ✓Khi bạn thêm bề mặt Có gì mới vào một template ứng dụng.
- ✓Khi bạn phát hành các mục changelog đang chờ cho một ứng dụng.
Liên kết skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/changelog/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể thêm một mục changelog cho nút xuất dữ liệu mới vừa ra mắt để người dùng thấy trong Có gì mới không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent viết một mục ngắn hướng tới người dùng trong file có ngày cho thay đổi. Chỉ những ứng dụng bật tùy chọn changelog mới dùng luồng này.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Changelog — optional user-facing "What's new"
Changelog generation is off by default. Read this skill only when the app's
agent-native.config.ts enables changelog.enabled; otherwise do not create
pending entries for ordinary app changes.
Every template app keeps a CHANGELOG.md of the 100 most recent
user-facing release sections and a changelog/ folder of dated entry files
for the complete history. The top-level file links to that folder for older
updates at the end of the file. The in-app command menu (Cmd+K → "What's new")
and settings page read both surfaces together, so folder-backed history remains
visible without making the top-level file grow forever.
Package release histories follow the same compact shape: the 100 newest
package release sections stay in the root CHANGELOG.md, while older sections
live in changelog/archive/CHANGELOG.md. The package archive is nested so it
cannot be mistaken for a new app entry by the Vite changelog loader.
When to add an entry
Add an entry whenever you ship something a user of that app would notice:
- a new capability or surface,
- a visible improvement (speed, layout, copy, defaults),
- a bug fix that affects behavior they'd see.
Do not add entries for refactors, internal tooling, tests, dependency bumps, or anything invisible to the end user. The changelog is product notes, not a commit log — write it the way you'd describe the change to a customer.
How to add an entry
From the app directory (the template you changed):
agent-native changelog add "Recordings can be trimmed before sharing" --type added
agent-native changelog add "Faster transcript search" --type improved
agent-native changelog add "Fixed a crash when opening an empty folder" --type fixed
--type is one of added, improved, fixed, changed, removed,
security (aliases like feature, bugfix, enhancement are accepted). This
writes changelog/<date>-<slug>.md — one file per change, so parallel work
never conflicts. You can also hand-write that file; the frontmatter is just:
---
type: added
date: 2026-06-23
---
Recordings can be trimmed before sharing.
Writing good entries
- One user-facing sentence, present tense, no internal jargon or file names.
- Lead with the benefit ("Recordings can be trimmed…"), not the mechanism.
- Markdown is allowed (bold, links) but keep it short — it renders as a bullet.
Releasing
release refreshes the recent 100-section window in CHANGELOG.md from every
dated entry in changelog/. It deliberately keeps the folder files as the
canonical history, so rerunning the command is safe and older updates remain
available to the app and to repository readers:
agent-native changelog release # refreshes today's recent window
agent-native changelog list # preview pending + released
Releasing is usually done at deploy/merge time to keep the top-level summary
current. The in-app surface imports CHANGELOG.md?raw, and the core Vite
plugin merges adjacent changelog/*.md entries into that raw markdown at
dev/build time, so new app notes appear in What's new automatically. Refreshing
the committed app-facing 100-entry window still happens when
agent-native changelog release or pnpm changelog:compact runs. Package Changesets are
wired to run pnpm changelog:compact automatically in the Version Packages
workflow, which also moves older package releases into
changelog/archive/CHANGELOG.md.
Wiring the in-app surface (once per template)
Templates already get the rendering for free from @agent-native/core. To
expose it in an app:
Command menu — pass the app's own changelog to
CommandMenu:import changelog from "../CHANGELOG.md?raw"; // ... <CommandMenu open={cmdkOpen} onOpenChange={setCmdkOpen} changelog={changelog}> {/* existing groups */} </CommandMenu>This adds a "What's new" entry with an unseen-release dot and an in-app dialog — no other wiring needed.
Settings (optional) — drop the card on the settings page:
import { ChangelogSettingsCard } from "@agent-native/core/client/changelog"; import changelog from "../CHANGELOG.md?raw"; // ... <ChangelogSettingsCard markdown={changelog} />
CHANGELOG.md?raw is inlined by Vite at build time, so this works on every
host with no server route or runtime file access.
Checklist
-
changelog.enabledis true and the change i
Câu hỏi thường gặp
Các refactor nội bộ có nên có mục nhập không?
Không. Skill nói changelog dành cho ghi chú sản phẩm, không phải nhật ký commit.
Changelog có bật theo mặc định không?
Không. Ứng dụng phải bật nó trong cấu hình thì các mục này mới được dùng.
Các mục cũ được đưa đi đâu?
Các mục cũ được chuyển sang một thư mục có ngày, và file trên cùng liên kết tới chúng.
Chi tiết
Mô tả gốc của tác giả
How to keep each app's user-facing changelog. Use when you ship a change a user would notice (a new feature, a visible improvement, a bug fix), when wiring the in-app "What's new" surface into a template, or when releasing pending changelog entries. Apps opt in with `changelog.enabled: true` in `agent-native.config.ts`.
repo: BuilderIO/agent-native
Độ phổ biến
- Sao GitHub
- 7.6k
- Vị trí xếp hạng
- #13144
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
design-exploration
7.6kGiúp agent của bạn khám phá nhiều hướng thiết kế giao diện song song, để bạn chọn một hướng rồi tinh chỉnh thiết kế đã chọn.
visual-edit
7.6kGiúp agent của bạn mở một ứng dụng cục bộ đang chạy trong trình chỉnh sửa trực quan, để bạn xem và sửa các màn hình thật cùng nhau.
turn-into-app
7.6kBiến quy trình, bảng tính hoặc dự án thành ứng dụng trực quan có màn hình đầy đủ dữ liệu, với agent làm việc phía sau các điều khiển.
visual-plan
7.6kBiến một kế hoạch viết bằng văn bản thuần thành kế hoạch trực quan tương tác, có sơ đồ, bản đồ file, đoạn code và các câu hỏi còn mở.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.