agentleFS
CYTTPCYTTP/agent-app-template/.agents/skills/components-used/SKILL.md

components-used

Skill2 starsChanged 5 months agoMITView on GitHub

检查生成的组件是否为最佳实践

The file

Files
SKILL.md
  • 使用 <Flex/> 而不是 <div>
import { Flex } from 'antd';

<!-- ✅ 推荐使用 Flex -->
<Flex>
  <div>1</div>
  <div>2</div>
</Flex>

<!-- ❌ 不推荐使用 div+className -->
<div className="flex items-center">
  <div>1</div>
  <div>2</div>
</div>
  • 使用<Button>而不是<button>
import { Button } from 'antd';

<!-- ✅ 推荐使用 Button -->
<Button>按钮</Button>

<!-- ❌ 不推荐使用 button+className -->
<button className="bg-blue-500 text-white px-4 py-2 rounded-md">
  按钮
</button>

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.