mcpp-contributing SKILL.md skillA

mcpp-contributing from mcpp-community/mcpp is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mcpp-community/mcpp/mcpp-contributing@git:20261028.e0b1133

Pins git:20261028.e0b1133 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mcpp-community/mcpp
Path
.agents/skills/mcpp-contributing/SKILL.md
Versions recorded
8
Latest version
git:20261028.e0b1133, committed Oct 28, 2026
First version recorded
May 16, 2026
Size
14,056 bytes
Repository stars
197
License
Apache-2.0

Use when contributing to the mcpp project — submitting bug fixes, new features, code optimizations, documentation improvements, or any PR. Covers issue creation, branch conventions, build verification, CI requirements, and PR workflow using gh and git.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# mcpp 项目开发贡献规范

## Overview

mcpp 项目的贡献流程:先创建 Issue → 切分支 → 实现改动 → 提交 PR → CI 通过 → Review 合入。

- 仓库:https://github.com/mcpp-community/mcpp
- 构建:`mcpp build`(C++23 模块自举)
- 测试:`mcpp test` 覆盖 `tests/**/*.cpp`,`tests/e2e/` 提供真实二进制的端到端脚本
- CI:GitHub Actions,base 为 `main` 的 PR 触发分平台构建、测试与 E2E 检查

## 核心原则

### 禁止直接 push main

**所有改动必须通过 PR 合入 main**,无论改动大小。这包括:
- 代码改动(feat / fix / refactor)
- 文档改动(docs / skills / .agents/)
- 配置改动(mcpp.toml / .xlings.json / CI workflow)
- 版本号 bump(必须通过 PR,不能直接 push)

**唯一例外**:紧急 hotfix 需要 `--admin` 合入,但也必须先创建 PR。

违规示例(不允许):
```bash
# ✗ 直接 push 到 main
git commit -m "docs: add skill" && git push origin main

# ✗ 绕过分支保护
git push origin feature:main
```

正确做法:
```bash
# ✓ 始终走 PR 流程
git checkout -b docs/add-release-skill
git commit -m "docs: add release skill"
git push -u origin docs/add-release-skill
gh pr create --title "docs: add release skill" --body "..."
# 等 CI 通过后合入
```

## 贡献流程

### 1. 创建 Issue(必须)

所有贡献先创建 Issue,特别是新功能。避免重复工作,留下讨论记录。

**Bug 修复**

```bash
gh issue create \
  --title "fix: 简短描述" \
  --body "## 复现步骤
1. ...

## 期望行为
...

## 实际行为
...

## 环境
- mcpp 版本:\`mcpp --version\`
- OS:"
```

**新功能**

```bash
gh issue create \
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mcpp-community/mcpp/mcpp-contributing@sha256:61ec9400cc1105c4

The line at the top of this page pins the label git:20261028.e0b1133, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7sh3swadsszvyrzn.svg)](https://markdownregistry.com/a/art_7sh3swadsszvyrzn)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between May 16, 2026 and Oct 28, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
git:20261028.e0b1133 latest2026-10-28 e0b1133 14,056 BA view · diff
git:20261002.1bb5ea32026-10-02 1bb5ea3 13,821 BA view · diff
git:20260928.6410eaa2026-09-28 6410eaa 13,308 BA view · diff
git:20260829.f83dca12026-08-29 f83dca1 12,739 BA view · diff
git:20260827.84424342026-08-27 8442434 11,147 BA view · diff
git:20260803.a01fdd42026-08-03 a01fdd4 8,873 BA view · diff
git:20260520.326f97c2026-05-20 326f97c 7,261 BA view · diff
git:20260516.0d7e02a2026-05-16 0d7e02a 3,487 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14056 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mcpp-community/mcpp · 197 stars · license Apache-2.0 · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7sh3swadsszvyrzn
GET https://markdownregistry.com/api/v1/resolve?ref=mcpp-community/mcpp/mcpp-contributing
GET https://markdownregistry.com/api/v1/blob/61ec9400cc1105c482a82f2ffb323eef752ef6e89f150c35e22f4558620a443d

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mcpp-community/mcpp

mcpp-docs-style SKILL.md skill
mcpp-community/mcpp · .agents/skills/mcpp-docs-style/SKILL.md · Use when writing or editing anything under docs/ (English or 简体中文), docs/specs/, README files, or the design records…
git:20260908.9a71c9a · audit A · 197 stars
mcpp-release SKILL.md skill
mcpp-community/mcpp · .agents/skills/mcpp-release/SKILL.md · Use when releasing a new version of mcpp — bumps version, creates tag, triggers release CI, and monitors until all…
git:20261002.1bb5ea3 · audit A · 197 stars
mcpp-usage SKILL.md skill
mcpp-community/mcpp · .agents/skills/mcpp-usage/SKILL.md · Use when helping users install, configure, or use mcpp — the C++23 modular build tool. Covers installation, project…
git:20261023.d5ec182 · audit B · 197 stars

Every file in mcpp-community/mcpp

Browse by kind, by grade A, or by owner.