agentleFS
Jeff-TianJeff-Tian/agent-skills/AGENTS.md

agent-skills

AGENTS.md1 starsChanged 7 months agoMITView on GitHub

可以从 ~/repos/workspace 中获取工作空间元数据,了解本仓库和其他仓库的关系。在排查和解决问题时,有可能需要去其他的仓库中查看和改动。 After you have completely finished the current task in this repository, perform a final workspace synchronization step. My local development environment uses a separate Git repository called workspace, normally located at: This repository describes the collection of independent repositories under: It contains workspace-level metadata such as: Only after the current task is complete: Useful information may include: Pay particular attention to cross-repository relationships discovered during the task. For example, if you discover that: and this relationship is…

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After you have completely finished the current task in this repository, perform a final workspace synchronization step.

    line 9
  2. Distinctive:

    Only after the current task is complete:

    line 35
  3. Very specific:

    If this repository is not yet represented in ~/repos/workspace/repos.yaml, consider adding it.

    line 39
  4. Distinctive:

    If it is already represented, check whether any workspace-level information discovered during this task should be updated.

    line 41
  5. Distinctive:

    Do NOT copy repository-specific implementation details into the workspace metadata.

    line 55
  6. Distinctive:

    Do NOT invent information.

    line 57
  7. Distinctive:

    Do NOT modify the workspace repository merely for the sake of making a change.

    line 59
  8. Distinctive:

    Never discard, reset, clean, stash, or overwrite existing changes in the workspace repository.

    line 91
  9. Very specific:

    If there are pre-existing uncommitted changes in ~/repos/workspace that you did not create, do not overwrite them.

    line 93
  10. Very specific:

    If you make changes to ~/repos/workspace:

    line 97
  11. Distinctive:

    Ensure the changes are limited to workspace metadata.

    line 100
  12. Distinctive:

    Do not modify the actual source code of this repository as part of the workspace synchronization step.

    line 104
  13. Very specific:

    Do NOT automatically commit or push changes to ~/repos/workspace unless I explicitly asked you to commit/push.

    line 108
  14. Distinctive:

    If you made workspace changes, leave them as normal uncommitted changes and report them to me.

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS

Workspace metadata

可以从 ~/repos/workspace 中获取工作空间元数据,了解本仓库和其他仓库的关系。在排查和解决问题时,有可能需要去其他的仓库中查看和改动。

Final step: synchronize the workspace metadata

After you have completely finished the current task in this repository, perform a final workspace synchronization step.

My local development environment uses a separate Git repository called workspace, normally located at:

~/repos/workspace

This repository describes the collection of independent repositories under:

~/repos/

It contains workspace-level metadata such as:

~/repos/workspace/
├── AGENTS.md
├── repos.yaml
├── workspace.code-workspace
└── ...

What you should do

Only after the current task is complete:

  1. Determine whether your work revealed any information that would be useful for the workspace repository.
  2. If this repository is not yet represented in ~/repos/workspace/repos.yaml, consider adding it.
  3. If it is already represented, check whether any workspace-level information discovered during this task should be updated.

Useful information may include:

  • what this repository is responsible for
  • its architectural role
  • important relationships with other repositories
  • dependencies or integrations with other repositories
  • which repositories commonly need to be considered together
  • useful tags/categories
  • other stable information that would help a future AI agent discover and understand this repository
  1. Inspect the existing ~/repos/workspace/AGENTS.md and ~/repos/workspace/repos.yaml before modifying them. Follow their existing structure and conventions.
  2. Do NOT copy repository-specific implementation details into the workspace metadata. The workspace repository should describe the repository at a high level, not duplicate its README or technical documentation.
  3. Do NOT invent information. Only add information that you can establish from the current repository, the work you just performed, or other repositories that you actually inspected.
  4. Do NOT modify the workspace repository merely for the sake of making a change. If there is no useful new workspace-level information, leave it unchanged.

Repository relationships

Pay particular attention to cross-repository relationships discovered during the task.

For example, if you discover that:

repository A
    └── depends on / integrates with
            ↓
repository B

and this relationship is not already represented in repos.yaml, consider recording it.

The purpose is to help a future coding agent answer questions such as:

"I am working in repository A. Are there other repositories I should inspect?"

Git safety

~/repos/workspace is an independent Git repository.

Before modifying it:

cd ~/repos/workspace
git status --short

Never discard, reset, clean, stash, or overwrite existing changes in the workspace repository.

If there are pre-existing uncommitted changes in ~/repos/workspace that you did not create, do not overwrite them.

Keep the workspace repository clean

If you make changes to ~/repos/workspace:

  1. Review the diff carefully.
  2. Ensure the changes are limited to workspace metadata.
  3. Validate the modified YAML/JSON/Markdown as appropriate.
  4. Report exactly what was changed.

Do not modify the actual source code of this repository as part of the workspace synchronization step.

Committing

Do NOT automatically commit or push changes to ~/repos/workspace unless I explicitly asked you to commit/push.

If you made workspace changes, leave them as normal uncommitted changes and report them to me.

At the end, report one of:

  • Workspace metadata: no changes needed
  • Workspace metadata: updated followed by a concise summary of the changes
  • Workspace metadata: could not be updated followed by the reason

This workspace synchronization step is secondary to the main development task. Do not allow it to interfere with or change the requirements of the main task.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.