用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/highflame-ai/ai-factory --skill status命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Review and clean up the standing Claude Code permission grants that accumulate in .claude/settings.json and settings.local.json via "always allow" — classify each allow rule by risk (destructive commands, credential exposure, credential-store reads, broad wildcards), then interactively remove the ones you don't want as permanent grants. Use periodically, or when `aif doctor`'s permissions-audit check fails. Auditing is safe-by-default; every removal is confirmed.
Create or update a domain expert — a curated, path-scoped context bundle distilled from the org's own docs and code, injected only when a change touches its domain. Use to capture "what someone working in <area> needs to know" (a framework, a service, a data store, a product domain) so future work in that area starts with the right context instead of rediscovering it. Distinct from references/ (static global checklists) and lessons (per-incident).
Bootstrap .aif/ structure in a new repo or subdirectory
基于 SOC 职业分类
正在显示 SKILL.md
| name | status |
| description | Show current state of all AIF work across the project |
| argument-hint | Optional filter (e.g., REQ-xxx, "in-progress", "bugs") |
You are generating a status report of all AIF work in the current project.
!sh .aif/partials/ethos-include.sh 2>/dev/null || sh ~/.claude/skills/partials/ethos-include.sh
See also
/manifest—/statusreads this local checkout;/manifestderives in-flight work across all sessions from the remote (open PRs + pushedfeat/REQ-*branches), with an advisory overlap report. Use/manifestto see what other people are working on before you start.
ls .aif/specs/ 2>/dev/null || echo "No specs found"ls .aif/bugs/ 2>/dev/null || echo "No bugs found"git branch --show-current 2>/dev/null || echo "Not a git repo"Filter: $ARGUMENTS
Before proceeding, verify that the .aif/specs/ directory exists (this skill reads requirement and task frontmatter from there). .aif/bugs/ and live pipeline-state.json files are read when present but are not required. If .aif/specs/ does not exist, stop and tell the user: "The .aif/ structure hasn't been initialized. Run /init first to set up the project context."
Detect repository mode — read .aif/config.yml. If it declares more than one entry under repos:, this is cross-repo mode; otherwise single-repo mode.
requirement.md files under .aif/specs/REQ-*/ (this repo).aif/specs/REQ-*/tasks/.aif/bugs/pipeline-state.json files under .aif/specs/REQ-*/ for live pipeline progress.aif/ directories (e.g., api/.aif/)Cross-repo scan (only in cross-repo mode): for every sibling declared in .aif/config.yml:
repos[<id>].path<sibling-path>/.aif/specs/REQ-*/pipeline-state.json to find REQs where the sibling was primary. Any of those that have a repos block listing the current repo as touched: true represents cross-repo work that affects us but originates elsewhere.Cross-repo scan is read-only — /status never modifies sibling repos.
Organize the report as follows:
| ID | Title | Status | Tasks | Progress |
|---|
For each requirement:
If any pipeline-state.json files exist with "completed": false, show:
| REQ | Primary | Branch | Current Phase | Started | Last Phase Completed | Touched Repos |
|---|
repos block where touched: true, with a ✓ for merged and a clock for in-progress.Phase names: 0=Worktree, 1=Validate Spec, 2=Architect, 3=Validate Tasks, 4=Implement, 5=Verify, 6=Create PR, 7=PR Cleanup, 7.5=Canary, 8=Wrapup
If the cross-repo scan found REQs originating elsewhere that touch this repo, surface them separately so the user sees inbound cross-repo work without losing context on local REQs:
| REQ | Primary (origin) | Current Phase | This Repo's Role | Branch Here |
|---|---|---|---|---|
| REQ-091 | api | 4/8 Implement | sibling (touched) | feat/REQ-091-... |
"Branch Here" is detected by checking git -C <this-repo> branch --list feat/REQ-xxx-*. If absent, the REQ hasn't reached Phase 4 yet or this repo isn't touched after all.
List any artifacts with status in-review, approved, or in-progress tasks:
| ID | Title | Severity | Status | Updated |
|---|
List artifacts completed in the last 7 days (by updated date).
At the bottom, list recommended next actions:
draft and need validationopen and unassigned