Token导航 LogoToken导航

Agent Skill · 研究检索

philosophy-compliance-workflow(哲学合规工作流程)

philosophy-compliance-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

philosophy-compliance-workflow 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,674 个 Skill 里排第 33,203。

总安装 2,398周安装 103GitHub Stars 55下载 840核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:philosophy-compliance-workflow(哲学合规工作流程)
来源仓库:https://github.com/rysweet/amplihack
仓库路径:skills/philosophy-compliance-workflow
安装命令:
npx skills add https://github.com/rysweet/amplihack --skill philosophy-compliance-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rysweet/amplihack --skill philosophy-compliance-workflow

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词定位候选结果。通过 npx skills add 命令从指定仓库安装,需确认权限和维护状态。使用前建议核验是否会触发联网、命令执行或文件读写操作。

philosophy-compliance-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/philosophy-compliance-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/rysweet/amplihack --skill philosophy-complianc…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

philosophy-compliance-workflow 怎么安装?

在终端执行 npx skills add https://github.com/rysweet/amplihack --skill philosophy-compliance-workflow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

philosophy-compliance-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

philosophy-compliance-workflow 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

philosophy-compliance-workflow 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

philosophy-compliance-workflow 用的人多吗?

公开数据是累计安装 2,398 次,近一周安装 103 次,下载 840 次,GitHub 55 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

philosophy-compliance-workflow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
philosophy-compliance-workflow

哲学合规工作流程 · 本页

2,39855需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Philosophy Compliance Workflow Skill

Purpose

Systematic philosophy compliance review that ensures all code and architecture aligns with amplihack's core principles: ruthless simplicity, brick philosophy, and Zen-like minimalism. This skill validates that implementations serve clear purposes without unnecessary complexity.

When to Use This Skill

USE FOR:

  • Architecture reviews before implementation
  • Code reviews for philosophy alignment
  • Refactoring validation (did we actually simplify?)
  • Module design verification
  • Pre-merge philosophy checks
  • Identifying over-engineering and complexity creep

AVOID FOR:

  • Functional bug fixes (not philosophy issues)
  • Performance optimization alone
  • Documentation updates
  • Pure syntax/style issues

Core Philosophy Principles

The Zen of Simple Code

  • Each line serves a clear purpose without embellishment
  • As simple as possible, but no simpler
  • Complex systems from simple, well-defined components
  • Handle what's needed now, not hypothetical futures

The Brick Philosophy

  • A brick = Self-contained module with ONE clear responsibility
  • A stud = Public contract (functions, API, data model) others connect to
  • Regeneratable = Can be rebuilt from spec without breaking connections
  • Isolated = All code, tests, fixtures inside the module's folder

Ruthless Simplicity

  • Start with the simplest solution that works
  • Add complexity only when justified
  • Question every abstraction
  • Code you don't write has no bugs

Review Process

Step 1: Scope Identification

Identify what to review:

  • Single module, multiple modules, or full architecture
  • Recent changes or complete codebase
  • Specific complexity concerns or general review

Questions to ask:

  • What triggered this review?
  • What are the main concerns?
  • What's the expected outcome?

Step 2: Initial Analysis

Scan the code structure:

  • Module organization and boundaries
  • Public interfaces (the "studs")
  • Dependencies and coupling
  • Abstraction layers
  • Configuration complexity

Red flags to watch for:

  • Multiple responsibilities in one module
  • Unclear module boundaries
  • Deep inheritance hierarchies
  • Generic "framework" code
  • Future-proofing for hypothetical needs

Step 3: Philosophy Questions

Ask the 5 core questions for each component:

  1. Necessity: "Do we actually need this right now?"

- Is this solving a real problem today? - Or is it future-proofing for "maybe someday"?

  1. Simplicity: "What's the simplest way to solve this problem?"

- Can we remove layers? - Is there a more direct approach?

  1. Modularity: "Can this be a self-contained brick?"

- Does it have ONE clear responsibility? - Are the connection points (studs) obvious?

  1. Regenerability: "Can AI rebuild this from a specification?"

- Is the contract clear enough? - Are dependencies well-defined?

  1. Value: "Does the complexity add proportional value?"

- What would break if we simplified this? - Is the trade-off justified?

Step 4: Identify Violations

Categorize issues by severity:

CRITICAL (Must Fix):

  • Multiple responsibilities in one module
  • Circular dependencies
  • Unclear public contracts
  • Non-regeneratable designs
  • Tight coupling preventing module replacement

WARNING (Should Fix):

  • Premature optimizations
  • Excessive configuration options
  • Unnecessary abstractions
  • Generic "framework" patterns
  • Future-proofing without current need

SUGGESTION (Consider):

  • Opportunities for simplification
  • Alternative approaches with fewer dependencies
  • Ways to flatten abstraction layers
  • Module boundary improvements

Step 5: Generate Review Report

Create structured review output:

# Philosophy Compliance Review: [Component Name]

## Overall Score: [A/B/C/D/F]

## Summary

[One paragraph overview of findings]

## Strengths (What Aligns)

- [Philosophy-aligned patterns identified]
- [Well-implemented brick designs]
- [Clear simplicity examples]

## Concerns (Warnings)

- [Complexity that should be addressed]
- [Borderline philosophy violations]
- [Opportunities for improvement]

## Violations (Critical Issues)

- [Clear departures from philosophy]
- [Must-fix problems]
- [Blocking issues for philosophy compliance]

## Recommendations

### Immediate Actions (Critical)

1. [Specific fix required with rationale]
2. [Another critical fix]

### Structural Improvements (Important)

1. [Module boundary adjustments]
2. [Decoupling suggestions]

### Simplification Opportunities (Good to Have)

1. [Ways to reduce complexity]
2. [Abstraction removal suggestions]

## Regeneration Assessment

**Can AI rebuild these components from specifications?**

- Module A: [Ready/Needs Work] - [Specific reason]
- Module B: [Ready/Needs Work] - [Specific reason]

**What's blocking regeneration:**

- [List specific issues preventing clear AI regeneration]

## Philosophy Alignment Score

- Ruthless Simplicity: [0-10]/10 - [Rationale]
- Brick Philosophy: [0-10]/10 - [Rationale]
- Zen Minimalism: [0-10]/10 - [Rationale]

**Overall: [Score]/10**

Step 6: Provide Actionable Guidance

For each violation, provide:

  • Clear explanation of the problem
  • Why it violates philosophy
  • Specific fix recommendation
  • Expected improvement from fix
  • Priority (Critical/Important/Nice-to-have)

Example:

Issue: SessionManager class has 8 different responsibilities
Violation: Breaks single responsibility (brick philosophy)
Fix: Split into:
  - SessionStore (persistence only)
  - SessionValidator (validation only)
  - SessionLifecycle (creation/expiry only)
Impact: Each brick becomes regeneratable and testable independently
Priority: Critical

Philosophy Scoring Rubric

Ruthless Simplicity (0-10)

  • 10: Every component serves clear purpose, minimal complexity
  • 8-9: Generally simple with minor complexity creep
  • 6-7: Some unnecessary abstractions or future-proofing
  • 4-5: Significant over-engineering present
  • 0-3: Complex beyond necessity, hard to understand

Brick Philosophy (0-10)

  • 10: All modules self-contained with clear single responsibility
  • 8-9: Most modules follow brick pattern with minor coupling
  • 6-7: Some unclear boundaries or multiple responsibilities
  • 4-5: Significant coupling and unclear contracts
  • 0-3: Monolithic or tightly coupled, not regeneratable

Zen Minimalism (0-10)

  • 10: Embraces simplicity, handles only current needs
  • 8-9: Mostly minimal with some extra features
  • 6-7: Some hypothetical futures addressed unnecessarily
  • 4-5: Considerable future-proofing and "just in case" code
  • 0-3: Over-engineered for "maybe someday" scenarios

Overall Grade

  • A (9-10): Excellent philosophy alignment
  • B (7-8): Good with minor improvements needed
  • C (5-6): Acceptable but needs attention
  • D (3-4): Poor alignment, significant refactoring needed
  • F (0-2): Critical philosophy violations throughout

Green Patterns (Examples of Good Design)

Philosophy-Aligned Designs:

  • Single-responsibility modules with clear purpose
  • Self-contained directories with all code and tests
  • Obvious public interfaces (studs) for connections
  • Direct, straightforward implementations
  • Minimal dependencies (preferring standard library)

Example: Good Brick Module

authentication/
├── __init__.py        # Exports: authenticate, validate_token
├── core.py           # Implementation (one responsibility)
├── models.py         # User, Token (clear data models)
├── tests/
│   └── test_core.py  # Comprehensive tests
└── README.md         # Regeneration specification

Public Contract (Studs):
- authenticate(username, password) -> Token
- validate_token(token) -> User

One Responsibility: Authentication only (not authorization, not user management)
Regeneratable: Yes, from README.md specification

Red Patterns (Examples to Avoid)

Philosophy Violations:

  • God objects with multiple responsibilities
  • Abstract base classes without clear justification
  • Complex configuration systems for simple features
  • Generic "flexible" frameworks
  • Premature performance optimizations

Example: Bad Design

user_system/
├── framework.py          # Generic abstraction layer
├── manager.py            # UserManager does everything
├── config/               # Extensive config system
├── plugins/              # Plugin architecture (unused)
└── adapters/             # Future-proofing for other DBs

Problems:
- UserManager handles auth, profile, settings, notifications
- Framework adds complexity without current value
- Plugin system built for "maybe someday"
- Multiple responsibilities, not regeneratable

Integration with Other Workflows

When to combine philosophy review with:

  • After Builder: Validate implemented code follows philosophy
  • Before Architect: Ensure design specs embrace simplicity
  • During Reviewer: Include philosophy as review criteria
  • With Cleanup: Identify what to simplify/remove

Default workflow position:

  • Architecture Phase: Before implementation starts
  • Code Review Phase: After implementation, before merge
  • Refactoring Phase: Validate simplification efforts

Key Mantras

  • "It's easier to add complexity later than to remove it"
  • "Code you don't write has no bugs"
  • "Favor clarity over cleverness"
  • "The best code is often the simplest"
  • "Modules should be bricks: self-contained and regeneratable"
  • "Do we need this NOW, or are we future-proofing?"
  • "What's the simplest thing that could possibly work?"

Common Pitfalls

Disguised Complexity:

  • "This makes it flexible" → Often means over-engineered
  • "We might need this later" → Future-proofing without current need
  • "This is more generic" → Generic often means complex
  • "Industry best practice" → May not apply to your scale

Philosophy Traps:

  • Adding abstraction layers "just in case"
  • Building frameworks for single use cases
  • Creating plugin systems before needing plugins
  • Optimizing before measuring performance
  • Designing for hypothetical scale

Success Criteria

A successful philosophy review:

  • Identifies all critical philosophy violations
  • Provides actionable fix recommendations
  • Explains why violations matter
  • Scores components objectively
  • Validates regeneration readiness
  • Celebrates philosophy-aligned patterns
  • Guides team toward simpler designs

Output Artifacts

Generated documents:

  • Philosophy review report (markdown)
  • Action items with priorities
  • Before/after comparison (if fixes applied)
  • Regeneration assessment per module

Where to save:

  • ~/.amplihack/.claude/runtime/logs/<session>/philosophy_review_<timestamp>.md
  • Link in commit message if fixes applied
  • Store patterns learned in memory using store_discovery() from amplihack.memory.discoveries

Remember

You are the philosophical conscience of the system. Challenge complexity, celebrate simplicity, and ensure every architectural decision moves toward the Zen ideal of elegant, essential software.

Your goal is not perfection - it's continuous improvement toward simpler, clearer, more regeneratable code.

平台分布

Claude Code

29.94%
按下载量换算251

Antigravity

20.68%
按下载量换算174

OpenCode

16.96%
按下载量换算142

Gemini CLI

11.76%
按下载量换算99

windsurf

8.39%
按下载量换算70

Cursor

3.53%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills