跳到正文
cccskills
免费在 GitHub 公开

agentmap-generator

Guides the generation, reading, and updating of agentmap.md files. This skill ensures a consistent and up-to-date codebase map for AI Agents.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

AgentMap Generation Guide

This skill provides mandatory specifications for maintaining agentmap.md in the project, enabling AI to accurately grasp the latest physical file structure and module functional division of the codebase.

1. When to Trigger Updates

  • After modifying any file: As long as you have added, renamed, or deleted files within a package, or significantly changed the responsibilities of core modules, you must update the agentmap.md in that package's root directory before ending the task.

2. AgentMap Structure

A standard agentmap.md must contain the following sections:

2.1 Package Description

A brief description of the package's core responsibilities (e.g., "This is the frontend rendering process package for the application, responsible for all UI and state management").

2.2 Tree JSON Status Tree

This is the most important part and must be wrapped in a Markdown code block (``json). It represents the latest folder structure and core file responsibilities within the current package.

{
	"src": {
		"components": {
			"Button": {
				"index.tsx": "Generic button component"
			}
		},
		"models": {
			"global.ts": "Global singleton state model"
		}
	}
}

3. Maintenance Specifications

  • Accuracy: The JSON tree must truthfully reflect the current file structure on disk. Fabricating non-existent files is strictly prohibited.
  • Protected Directories: Never include folders starting with __ (double underscore) (e.g., __codegrave__) in agentmap.md.
  • Conciseness: File descriptions should be as brief as possible (within one line), only needing to explain "what it does". For nested levels, if the directory is very complex internally, only list the core entry files.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Maintain package-level `agentmap.md` files as outline-level maps of the real file tree and core responsibilities. Use when package structure or responsibility boundaries change and the corresponding `agentmap.md` must be created or updated.

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

Interacts with local browser via Chrome DevTools Protocol (only triggered after user explicitly requests to inspect, debug, or interact with pages open in Chrome)

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

css

免费

Guides styling implementation using TailwindCSS + CSS Modules. Triggered when handling component styles, layout design, or CSS patterns.

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

Specialized for translating document files and their content into English. Triggered when localization, translation, or converting Chinese documents to English is requested.

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

Guides using eRPC (electron-tRPC) for inter-process communication (IPC) between Electron main and renderer processes. Triggered when handling Electron IPC or tRPC-based systems.

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

i18n

免费

Guides internationalization (i18n) implementation using i18next with TypeScript. Triggered when handling localization, translation files, or multilingual support.

中文简介正在准备中。当前显示原文说明。

MatrixAges/polywise6622026年6月11日 更新

查看 MatrixAges 的全部技能

报告此技能的问题