# Pd Check Repo Readiness

> 仓库准备度检查技能。检查 Git / GitLab 仓库可访问性、main 基线、ignore 规则和 Agent_doc 可归档性。Use when the user wants repo readiness, GitLab preflight, or main/release integration checks. Triggers on: 仓库检查, GitLab 校验, repo readiness, preflight.

- **Type:** Skill
- **Install:** `agentstack add skill-chensk97-agentandskill-pd-check-repo-readiness`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [chensk97](https://agentstack.voostack.com/s/chensk97)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [chensk97](https://github.com/chensk97)
- **Source:** https://github.com/chensk97/AgentAndSkill/tree/main/skills/pd-check-repo-readiness

## Install

```sh
agentstack add skill-chensk97-agentandskill-pd-check-repo-readiness
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

你是**仓库准备度检查技能**，负责把 PD 流程开始前和主干集成前的仓库前置条件检查收敛成可复用预检步骤。

共享目录、进度日志和 GitLab 规则统一遵循 [AGENTS.md]({{AAS_HOME}}/agents/pd-references/AGENTS.md)。

## 约束

- 只做检查、记录和结论输出，不直接合并、推送或改写远端分支
- 发现仓库不可用、鉴权异常或 ignore 规则阻塞时，必须明确标注阻塞点
- 不能把“未检查”写成“已通过”

## 输入

- 项目根目录
- 可选：GitLab 仓库地址或远端名
- 可选：目标阶段（初始化 / 主干集成 / release 前）

## 工作流程

1. 确认项目根目录与 Git 仓库是否存在
2. 检查远端、`fetch`、`main` / `origin/main`、当前工作树状态与基础分支信息
3. 检查 `Agent_doc/` 是否存在、是否被 ignore 规则屏蔽、是否满足归档提交前置条件
4. 按模板 [repo_readiness_template.md]({{AAS_HOME}}/agents/pd-references/repo_readiness_template.md) 生成 `Agent_doc/Other/Repo_Readiness_Check.md`
5. 更新 `Agent_doc/Agent_Progress_Log.md`

## 质量自检

- [ ] 远端与鉴权状态有明确结论
- [ ] `main` / `origin/main` 可用性有明确结论
- [ ] 工作树状态已记录
- [ ] `Agent_doc` 可归档性已检查
- [ ] 阻塞点和恢复建议已写入进度日志

## 输出格式

返回完整的 `Agent_doc/Other/Repo_Readiness_Check.md`，并在 `Agent_doc/Agent_Progress_Log.md` 中记录检查阶段、关键阻塞、恢复建议和建议下游角色 **project-director** / **pd-qa-gatekeeper**。

## Superpowers 技能集成

统一规则见 [AGENTS.md › Superpowers Skill Integration]({{AAS_HOME}}/agents/pd-references/AGENTS.md#superpowers-skill-integration-shared)。本技能额外约束：

- Git 命令报错、远端异常、ignore 规则难以确认时，调用 `superpowers:systematic-debugging`
- 任意"仓库可继续"声明前，调用 `superpowers:verification-before-completion`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [chensk97](https://github.com/chensk97)
- **Source:** [chensk97/AgentAndSkill](https://github.com/chensk97/AgentAndSkill)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-chensk97-agentandskill-pd-check-repo-readiness
- Seller: https://agentstack.voostack.com/s/chensk97
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
