AGENT SKILL

README 文档编写规范

Readme standards

README 文件中应遵循的约定规范。

License 许可
Apache-2.0
最近更新
2026-07-20
Stars
★ 2
Forks
0

01 前言 Front Matter

name
Readme standards
description
Conventions to use in Readme files

03 SKILL.md 正文

1. Remove the usage of unresolved anchors

Unresolved anchors that don't translate to a link or a website should be removed. The most important examples of this are the usage of (#). This used to be a guarantee that the image would be displayed. This is no longer necessary, and the svg icons get generated with or without the link.

Example 1

Replace

[![GitHub release](https://img.shields.io/github/release-pre/jesperancinha/your-finance-je.svg)](#)

with

![GitHub release](https://img.shields.io/github/release-pre/jesperancinha/your-finance-je.svg)

2. Don't use obsolete HTML properties for showing images with divs

  1. Replace usages of <div align="center"> with <div style="text-align: center;">
  2. If the alt attribute is missing from the img node, please add it with the text of the a (anchor), property value of its title property.

Example 1

Replace

<div align="center">
      <a title="Learning JWT security using KumuluzEE — The finances of a league of the environment" href="https://itnext.io/learning-jwt-security-using-kumuluzee-the-finances-of-a-league-of-the-environment-2f541e99cc90">
     <img 
          src="./docs/images/articles.your.finance.intro.png" 
          style="width:100%;">
      </a>
</div>

with

<div style="text-align: center;">
      <a title="Learning JWT security using KumuluzEE — The finances of a league of the environment" href="https://itnext.io/learning-jwt-security-using-kumuluzee-the-finances-of-a-league-of-the-environment-2f541e99cc90">
     <img 
          src="./docs/images/articles.your.finance.intro.png" 
          style="width:100%;" alt="Learning JWT security using KumuluzEE — The finances of a league of the environment">
      </a>
</div>

3. Remove obsolete badges

Some badges are no longer usable and don't work because some of the frameworks they used have been discontinued. For all .md files, or other markdown files, please remove badges from the following list:

  1. codebeat badge - All codebeat badges should be removed, along with any references to using it.
  2. BCH compliance - All BCH badges should be removed, along with any references to using it.

4. .md files in Submodules, or subfolders, should not contain any of the following badges

The following badges are applied to the whole project, hence why it makes no sense to keep them in submodules or subfolders. These badges should only be part of root Readme.md files. They should also be removed from other .md files if found.

  1. Twitter URL]()
  2. Generic badge]()
  3. GitHub release]()
  4. GitHub License]()
  5. CircleCI]()
  6. Build status]()
  7. jeorg-spring-master-test-drives](https://github.com/jesperancinha/jeorg-spring-master-test-drives/actions/workflows/jeorg-spring-master-test-drives.yml)
  8. Codacy Badge]()
  9. codebeat badge]()
  10. BCH compliance]()
  11. Known Vulnerabilities]()
  12. Codacy Badge]()
  13. Coverage Status]()
  14. codecov]()
  15. GitHub language count]()
  16. GitHub top language]()
  17. GitHub top language]()

The pipeline GitHub action badges usually have the name of the project. They usually have actions/workflows in the links. These should only be part of root Readme.md files. They should also be removed from other .md files if found.

5. Please remove emojis from badges

There may be other badges with emojis in their presentation text. Most of these bages are the Generic one:

Generic badge

Look for these badges and simply remove the emoji from the presentation text, if any is found.

04 同仓库更多 Skills

jesperancinha
jesperancinha/kotlin-mysteries

Spring Boot 依赖注入与 Mock 规范

spring

本项目中 Spring Boot 的依赖注入与 mock 约定。在编写、审查或重构集成测试类时(任何标注 @SpringBootTest 的类,或 src/test 下与真实 Spring 上下文交互的类)使用,尤其是在决定如何装配依赖或 mock 协作者时。在任何测试类中添加 @Autowired、@MockBean、@MockitoBean 或字段注入之前,也应先参考本技能。

软件开发工程师测试与质量保障
★ 2
jesperancinha
jesperancinha/kotlin-mysteries

Spring Boot 集成测试依赖装配

spring-integration-test-wiring

本项目中 Spring Boot 集成测试的依赖注入与 mock 约定。在编写、审查或重构集成测试类时(任何标注 @SpringBootTest 的类,或 src/test 下与真实 Spring 上下文交互的类)使用,尤其是在决定如何装配依赖或 mock 协作者时。在任何测试类中添加 @Autowired、@MockBean、@MockitoBean 或字段注入之前,也应先参考本技能。

软件开发工程师测试与质量保障
★ 2
jesperancinha
jesperancinha/kotlin-mysteries

Shell 与 Python 脚本规范

Scripts patterns

使用 sh、bash、bat、python 脚本时应遵循的约定。

软件开发工程师开发环境与工具链管理
★ 2
jesperancinha
jesperancinha/kotlin-mysteries

Jupiter 测试并行化

parallelization

在所有使用 Jupiter 的测试中使用并行化的约定。

测试工程师测试与质量保障
★ 2
jesperancinha
jesperancinha/kotlin-mysteries

Maven pom.xml 配置规范

Maven standards

在 Maven 文件中(主要是 `pom.xml` 文件)使用的约定。

软件开发工程师开发环境与工具链管理
★ 2
jesperancinha
jesperancinha/kotlin-mysteries

Kotlin 编码规范

kotlin patterns

使用 Kotlin 的约定。

软件开发工程师代码实现
★ 2