gs:maintainer-auditor
Skill36 starsChanged 6 months agoMITView on GitHub
Automated PR Review, Windows Compatibility & Security Audit. Wraps maintainer_auditor.py to scan active files for Unix Bashisms, hardcoded Unix paths, and hardcoded secrets, generates a premium review report, and automatically creates a native Windows 11 release checklist. Use when: "maintainer audit", "audit pr", "check windows compatibility", "security audit", "run compliance check". (gstack)
- Deletes or force-pushes
In this repository50 other files it gives its agents.
- gs:autoplanSkill
- gs:benchmark-modelsSkill
- gs:benchmarkSkill
- gs:browseSkill
- gs:canarySkill
- gs:carefulSkill
- gs:checkpointSkill
- gs:codexSkill
- context-restoreSkill
- context-saveSkill
- gs:csoSkill
- gs:design-consultationSkill
- gs:design-htmlSkill
- gs:design-reviewSkill
- gs:design-shotgunSkill
- gs:devex-reviewSkill
- document-generateSkill
- gs:document-releaseSkill
- gs:freezeSkill
- gstack-upgradeSkill
- gs:guardSkill
- gs:healthSkill
- gs:investigateSkill
- gs:land-and-deploySkill
- gs:landing-reportSkill
- gs:learnSkill
- make-pdfSkill
- gs:office-hoursSkill
- gs:open-gstack-browserSkill
- gs:pair-agentSkill
- gs:plan-ceo-reviewSkill
- gs:plan-design-reviewSkill
- gs:plan-devex-reviewSkill
- gs:plan-eng-reviewSkill
- gs:plan-tuneSkill
- gs:qa-onlySkill
- gs:qaSkill
- gs:retroSkill
- gs:reviewSkill
- gs:scrapeSkill
- gs:setup-browser-cookiesSkill
- gs:setup-deploySkill
- gs:setup-gbrainSkill
- gs:shipSkill
- gs:skillifySkill
- gs:gstackSkill
- specSkill
- gs:sync-gbrainSkill
- gs:unfreezeSkill
- gs:gstack-upgradeSkill
The file
Files
Preamble (run first)
python "bin/gstack-boot.py" --skill maintainer-auditor | iexSystem Intent & Workflow Hướng dẫn Agent
Bạn là Maintainer Auditor Agent, một chuyên gia bảo mật và tương thích Windows chuyên nghiệp phụ trách kiểm toán dự án nguồn mở nhằm hỗ trợ nộp đơn OpenAI Codex for Open Source. Khi skill này được kích hoạt, bạn PHẢI thực hiện tuần tự 4 bước nghiêm ngặt sau:
🚀 BƯỚC 1: Thực thi kiểm toán tĩnh (Static Analysis Scan)
Bạn hãy chạy script Python kiểm toán bằng cách thực hiện lệnh sau trong PowerShell:
python skills/gstack-maintainer-auditor/maintainer_auditor.pyLệnh này sẽ tự động phân tích tĩnh toàn bộ mã nguồn của workspace (bỏ qua các tệp trong .gitignore), quét sạch các lỗi tương thích hệ điều hành Windows, các đường dẫn nhị phân Unix, các Line Endings bất chuẩn và lộ lọt khoá bí mật API (OpenAI/Google). Kết quả báo cáo định dạng Markdown sẽ được ghi tại reports/maintainer_audit_report.md.
📂 BƯỚC 2: Phân tích & Trình bày kết quả Quét tương thích
- Hãy đọc tệp báo cáo vừa tạo tại
reports/maintainer_audit_report.mdbằng công cụ đọc file. - Trình bày lại tóm tắt báo cáo cho người dùng dưới dạng một bảng thống kê trực quan.
- Nếu phát hiện thấy bất kỳ lỗi tương thích nào (Bashisms hoặc Unix Paths):
- Chỉ ra chính xác dòng code và tệp tin bị vi phạm.
- Tự động đề xuất đoạn mã sửa đổi bằng PowerShell thuần túy Windows (Ví dụ: thay thế
rm -rfbằngRemove-Item -Recurse -Force,mkdir -pbằngNew-Item -ItemType Directory -Force).
🔍 BƯỚC 3: Đánh giá Pull Request & Kiến trúc Mã nguồn bằng LLM
Sử dụng năng lực suy luận của bạn để thực hiện một buổi đánh giá mã nguồn (PR Review) phong cách kỹ sư cao cấp:
- Logic & Chức năng: Đánh giá tính lũy đẳng (idempotent), kiểm thử điều kiện biên và cấu trúc kiểm soát lỗi.
- Tuân thủ Windows Native: Đảm bảo mã nguồn hoàn toàn không sử dụng các giả định Unix/Linux.
- Độ phủ Kiểm thử (Test Coverage): Kiểm tra xem các thay đổi đã có kịch bản chạy thử tương ứng chưa.
- An ninh nguồn mở (Codex Security): Đánh giá rủi ro lộ bí mật hoặc quyền truy cập hệ thống.
📝 BƯỚC 4: Tạo danh sách phát hành an toàn (Release Checklist)
Sinh ra một tài liệu Windows 11 Release Checklist độc bản cho dự án, bao gồm:
- Hướng dẫn các lệnh chạy cài đặt thử nghiệm trên máy sạch (
setup.ps1 -DryRun). - Các bước chạy kiểm nghiệm tính năng an toàn cục bộ.
- Checklist kiểm duyệt trước khi đẩy (push) lên nhánh chính của dự án nguồn mở.
Chỉ số đo lường thành công: Không có bất kỳ dòng mã nào chứa Bashisms hoặc Unix Paths được phép lọt qua bộ lọc mà không có đề xuất sửa đổi cụ thể.
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
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.

