Not in the top 1,000 by GitHub stars
WoJiSama/skill-based-architecture
A meta-skill that produces skills. Point it at any codebase and it distills the project's rules, workflows, and hard-won lessons into a dedicated skills/<name>/ directory — a project skill that becomes the single source of truth every AI agent (Cursor, Claude Code, Codex, Windsurf, Gemini) consults before every task.
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
e5d2da58ec68 → e5d2da58ec68
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e5d2da58ec68
No earlier version was observed for comparison.
Verified commit e5d2da58ec6812b4615d39869f630cfd20fd58a5
git clone --filter=blob:none --no-checkout https://github.com/WoJiSama/skill-based-architecture.git .hotskills/wojisama-skill-based-architecture && git -C .hotskills/wojisama-skill-based-architecture checkout --detach e5d2da58ec6812b4615d39869f630cfd20fd58a5
# Copy each selected skill directory from .hotskills/wojisama-skill-based-architecture into .claude/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/WoJiSama/skill-based-architecture.git .hotskills/wojisama-skill-based-architecture && git -C .hotskills/wojisama-skill-based-architecture checkout --detach e5d2da58ec6812b4615d39869f630cfd20fd58a5
# Copy each selected skill directory from .hotskills/wojisama-skill-based-architecture into .agents/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/WoJiSama/skill-based-architecture.git .hotskills/wojisama-skill-based-architecture && git -C .hotskills/wojisama-skill-based-architecture checkout --detach e5d2da58ec6812b4615d39869f630cfd20fd58a5
# Copy each selected skill directory from .hotskills/wojisama-skill-based-architecture into .cursor/skills/<skill-name>/git clone --filter=blob:none --no-checkout https://github.com/WoJiSama/skill-based-architecture.git .hotskills/wojisama-skill-based-architecture && git -C .hotskills/wojisama-skill-based-architecture checkout --detach e5d2da58ec6812b4615d39869f630cfd20fd58a5
# Copy each selected skill directory from .hotskills/wojisama-skill-based-architecture into .gemini/skills/<skill-name>/Heat
0.2- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
How it works
skill-based-architecture
When your agent uses it
This skill should be used when the user asks to "organize the project rules", "clean up scattered documentation", "把规则迁移到 skills 目录", "优化 skill 路由", "提高 description 命中率", or "减少薄壳重复维护". Activate when a SKILL.md is too large, rules are duplicated across agent entry files, task routing or trigger_examples miss natural user language, or templates / thin shells / validation scripts need drift-resistant maintenance.
What it loads into context
Frontmatter
116 tokensAlways available to the agent
SKILL.md
2,846 tokensWhen the skill is activated
Reference documents
308,910 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- When to Use
- Progressive Rigor
- Evidence-Selected Structure
- Core Principles
- Common Pitfalls
- Content Classification
- Multi-Skill & Composition
- Resources
Scripts executed separately
.claude/hooks/session-startexamples/simple-repo/repo/package.jsonexamples/simple-repo/repo/src/cart.jsscripts/check-all.shscripts/check-live-agent-journey.shscripts/check-migration-evidence.shscripts/check-self-scenarios.shscripts/check-self-shells.shscripts/check-template-hooks.shscripts/check-upstream-changes.shscripts/check-upstream-supersedes.shscripts/check-validation-contract.shscripts/scaffold-downstream.shscripts/skill-assetscripts/sync-self-shells.shscripts/test.jstemplates/hooks/session-starttemplates/hooks/workflow-statetemplates/skill/scripts/audit-orphans.shtemplates/skill/scripts/check-version-conformance.shtemplates/skill/scripts/route-health.shtemplates/skill/scripts/route-reachability.shtemplates/skill/scripts/smoke-test.shtemplates/skill/scripts/sync-routing.shtemplates/skill/scripts/sync-vendor.shtemplates/skill/scripts/upstream-status.sh
Files
.claude-plugin/marketplace.jsonasset820 bytes.claude-plugin/plugin.jsonasset524 bytes.claude/hooks/session-startruns935 bytes.claude/settings.jsonasset707 bytes.cursor/rules/workflow.mdcasset3,883 bytes.cursor/skills/skill-based-architecture/SKILL.mddoc1,862 bytes.gitignoreasset26 bytes.maintenance-log.yamlasset1,703 bytesAGENTS.mddoc3,900 bytesCLAUDE.mddoc3,784 bytesCODEX.mddoc4,091 bytesEXAMPLES.mddoc7,795 bytesGEMINI.mddoc3,784 bytesLICENSEasset1,065 bytesREADME.mddoc17,657 bytesREADME.zh-CN.mddoc16,222 bytesREFERENCE.mddoc7,226 bytesSKILL.mdcore13,212 bytesSKILL.mdcore13,212 bytesSKILL.mdcore13,212 bytesTEMPLATES-GUIDE.mddoc11,205 bytesUPSTREAM-CHANGES-archive.mddoc222,512 bytesUPSTREAM-CHANGES.mddoc18,990 bytesWORKFLOW.mddoc12,569 bytesassets/skill-based-architecture-title.pngasset3,411 bytesdocs/diagrams/README.mddoc7,451 bytesdocs/diagrams/file-call-graph-fixbug.pngasset151,607 bytesdocs/diagrams/file-call-graph-fixbug.svgasset6,084 bytesdocs/diagrams/progressive-rigor.pngasset88,160 bytesdocs/diagrams/progressive-rigor.svgasset3,872 bytesdocs/diagrams/routes-to-workflows.pngasset124,081 bytesdocs/diagrams/routes-to-workflows.svgasset5,119 bytesdocs/diagrams/routing-core.pngasset244,956 bytesdocs/diagrams/routing-core.svgasset8,419 bytesdocs/diagrams/skill-flow-complete.pngasset395,275 bytesdocs/diagrams/skill-flow-complete.svgasset13,987 bytesdocs/diagrams/system-panorama.pngasset260,186 bytesdocs/diagrams/system-panorama.svgasset9,988 bytesdocs/diagrams/upstream-downstream-sync.pngasset136,564 bytesdocs/diagrams/upstream-downstream-sync.svgasset6,024 bytesdocs/linuxdo-project-introduction.mddoc16,532 bytesdocs/plans/2026-05-12-thin-shells-generator.mddoc3,688 bytesdocs/plans/2026-05-20-subagent-surface-hints.mddoc19,809 bytesdocs/plans/2026-06-24-skeleton-flesh-axis/plan.mddoc13,143 bytesdocs/plans/2026-06-24-skeleton-flesh-axis/prd.mddoc5,698 bytesdocs/plans/2026-07-09-dynamic-rigor-assembly.mddoc13,707 bytesdocs/plans/2026-07-16-business-global-model-and-load-reason/prd.mddoc35,643 bytesdocs/plans/2026-07-27-rule-ownership-and-change-fanout/prd.mddoc21,922 bytesdocs/plans/2026-07-27-user-confirmed-plan-mainline/prd.mddoc7,200 bytesdocs/plans/2026-07-30-evidence-driven-progressive-disclosure/prd.mddoc29,191 bytesdocs/plans/2026-07-31-evidence-funnel-code-localization.mddoc34,224 bytesdocs/plans/2026-07-31-plan-feature-workflow-redesign/design.mddoc18,440 bytesdocs/plans/2026-07-31-plan-feature-workflow-redesign/prd.mddoc12,864 bytesdocs/plans/2026-08-03-plan-composition-and-db-artifacts/prd.mddoc43,188 bytesdocs/plans/2026-08-03-requirement-semantics-change-contract/prd.mddoc40,686 bytesdocs/plans/2026-08-04-default-downstream-simplification/prd.mddoc27,827 bytesdocs/plans/2026-08-04-failure-driven-long-term-memory.mddoc28,916 bytesdocs/plans/2026-08-04-proactive-workflow-distillation.mddoc26,541 bytesdocs/plans/2026-08-05-rule-update-progressive-disclosure/prd.mddoc30,957 bytesdocs/plans/2026-08-06-chaos-runtime-context-reduction/prd.mddoc75,130 bytesdocs/plans/2026-08-12-bounded-deterministic-execution.mddoc27,871 bytesdocs/plans/2026-08-12-requirement-first-planning.mddoc18,640 bytesdocs/plans/2026-08-13-requirement-definition-plan-separation/design.mddoc16,208 bytesdocs/plans/2026-08-13-requirement-definition-plan-separation/prd.mddoc10,336 bytesdocs/plans/README.mddoc15,324 bytesdocs/plans/_TEMPLATE.mddoc5,854 bytesdocs/sba-bible.mddoc21,227 bytesdocs/task-anchor-native-plan.mddoc17,073 bytesexamples/behavior-failures.mddoc16,803 bytesexamples/simple-repo/COPY-PASTE-INPUT.mddoc4,432 bytesexamples/simple-repo/EXPECTED-SHAPE.mddoc1,580 bytesexamples/simple-repo/README.mddoc2,329 bytesexamples/simple-repo/repo/.cursor/rules/frontend.mdcasset839 bytesexamples/simple-repo/repo/AGENTS.mddoc1,457 bytesexamples/simple-repo/repo/CLAUDE.mddoc920 bytesexamples/simple-repo/repo/README.mddoc549 bytesexamples/simple-repo/repo/package.jsonruns163 bytesexamples/simple-repo/repo/src/cart.jsruns1,032 bytesreferences/README.mddoc515 bytesreferences/business-global-model.mddoc18,580 bytesreferences/conventions.mddoc11,508 bytesreferences/executable-skill-architecture.mddoc7,755 bytesreferences/layout.mddoc14,463 bytesreferences/multi-skill-routing.mddoc13,713 bytesreferences/per-tool-shells.mddoc6,876 bytesreferences/permission-model.mddoc4,904 bytesreferences/progressive-rigor.mddoc10,661 bytesreferences/protocols.mddoc27,587 bytesreferences/scenario-testing.mddoc6,388 bytesreferences/self-hosting-conformance.yamlasset49,500 bytesreferences/self-hosting-routing.yamlasset5,017 bytesreferences/self-hosting-shell-base.mddoc2,930 bytesreferences/self-hosting-shells.yamlasset2,927 bytesreferences/skeleton-flesh-split.mddoc15,907 bytesreferences/skill-composition.mddoc7,533 bytesreferences/tests-as-spec.mddoc6,721 bytesreferences/thin-shells.mddoc16,465 bytesscripts/README.mddoc13,976 bytesscripts/check-all.shruns39,246 bytesscripts/check-live-agent-journey.shruns11,239 bytesscripts/check-migration-evidence.shruns9,219 bytesscripts/check-self-scenarios.shruns87,677 bytesscripts/check-self-shells.shruns2,887 bytesscripts/check-template-hooks.shruns4,382 bytesscripts/check-upstream-changes.shruns3,998 bytesscripts/check-upstream-supersedes.shruns2,618 bytesscripts/check-validation-contract.shruns100,522 bytesscripts/scaffold-downstream.shruns63,716 bytesscripts/skill-assetruns19,433 bytesscripts/sync-self-shells.shruns10,246 bytesscripts/test.jsruns7,731 bytesskill.yamlasset2,480 bytestemplates/ANTI-TEMPLATES.mddoc11,941 bytestemplates/README.mddoc11,384 bytestemplates/hooks/README.mddoc3,722 bytestemplates/hooks/SECURITY.mddoc2,080 bytestemplates/hooks/hooks-cursor.jsonasset904 bytestemplates/hooks/hooks.jsonasset921 bytestemplates/hooks/session-startruns2,378 bytestemplates/hooks/workflow-stateruns2,640 bytestemplates/shells/.cursor/rules/workflow.mdcasset3,820 bytestemplates/shells/.cursor/skills/{{NAME}}/SKILL.md.templateasset1,919 bytestemplates/shells/.cursor/skills/{{NAME}}/SKILL.single.md.templateasset513 bytestemplates/shells/AGENTS.mddoc4,244 bytestemplates/shells/CLAUDE.mddoc4,409 bytestemplates/shells/CODEX.mddoc4,230 bytestemplates/shells/GEMINI.mddoc4,231 bytestemplates/shells/single-entry.md.templateasset842 bytestemplates/skill/.upstream-syncasset472 bytestemplates/skill/SKILL.md.templateasset6,207 bytestemplates/skill/SKILL.routed.md.templateasset2,000 bytestemplates/skill/SKILL.single.md.templateasset2,244 bytestemplates/skill/conformance.yamlasset44,620 bytestemplates/skill/protocol-blocks/ambiguous-request-gate.mddoc3,213 bytestemplates/skill/protocol-blocks/change-contract.mddoc5,085 bytestemplates/skill/protocol-blocks/composite-plan-execution.mddoc2,480 bytestemplates/skill/protocol-blocks/external-delivery-verification.mddoc4,620 bytestemplates/skill/protocol-blocks/plan-knowledge-closure.mddoc3,390 bytestemplates/skill/protocol-blocks/reboot-check.mddoc1,958 bytestemplates/skill/protocol-blocks/source-localization.mddoc3,379 bytestemplates/skill/protocol-blocks/subagent-contract.mddoc2,572 bytestemplates/skill/protocol-blocks/user-decision-drift.mddoc2,881 bytestemplates/skill/protocol-blocks/workflow-distillation-proposal.mddoc2,021 bytestemplates/skill/references/behavior-failures.mddoc2,133 bytestemplates/skill/references/gotchas.mddoc1,150 bytestemplates/skill/references/subagent-verification.mddoc4,090 bytestemplates/skill/routing.yamlasset4,395 bytestemplates/skill/rules/change-discipline.mddoc1,687 bytestemplates/skill/rules/coding-standards.mddoc508 bytestemplates/skill/rules/project-rules.mddoc469 bytestemplates/skill/scripts/audit-orphans.shruns5,629 bytestemplates/skill/scripts/check-version-conformance.shruns15,109 bytestemplates/skill/scripts/route-health.shruns7,139 bytestemplates/skill/scripts/route-reachability.shruns7,380 bytestemplates/skill/scripts/smoke-test.shruns58,372 bytestemplates/skill/scripts/sync-routing.shruns31,244 bytestemplates/skill/scripts/sync-vendor.shruns5,749 bytestemplates/skill/scripts/upstream-status.shruns5,662 bytestemplates/skill/sync-manifest.yamlasset1,467 bytestemplates/skill/workflows/change-managed.mddoc5,252 bytestemplates/skill/workflows/define-requirement.mddoc7,653 bytestemplates/skill/workflows/edit-templates.mddoc3,800 bytestemplates/skill/workflows/fix-bug.mddoc9,302 bytestemplates/skill/workflows/invoke-skill.md.exampleasset5,416 bytestemplates/skill/workflows/light-task.md.templateasset872 bytestemplates/skill/workflows/maintain-docs.mddoc20,861 bytestemplates/skill/workflows/plan-feature.mddoc9,885 bytestemplates/skill/workflows/plan-large.mddoc5,216 bytestemplates/skill/workflows/profile-business-model.md.exampleasset14,549 bytestemplates/skill/workflows/profile-project.mddoc6,998 bytestemplates/skill/workflows/receiving-review.mddoc2,059 bytestemplates/skill/workflows/refactor-fanout.mddoc2,240 bytestemplates/skill/workflows/rule-update/business-truth.mddoc5,598 bytestemplates/skill/workflows/rule-update/knowledge-reconciliation.mddoc3,422 bytestemplates/skill/workflows/rule-update/verified-failure.mddoc5,921 bytestemplates/skill/workflows/rule-update/workflow-distillation.mddoc3,240 bytestemplates/skill/workflows/subagent-auxiliary.mddoc2,383 bytestemplates/skill/workflows/subagent-driven.mddoc2,295 bytestemplates/skill/workflows/subagent-orchestration.mddoc3,402 bytestemplates/skill/workflows/task-closure.materialized.md.templateasset722 bytestemplates/skill/workflows/task-closure.mddoc10,745 bytestemplates/skill/workflows/task-execution.materialized.md.templateasset2,046 bytestemplates/skill/workflows/task-execution.mddoc16,232 bytestemplates/skill/workflows/update-rules.mddoc7,827 bytestemplates/skill/workflows/update-upstream.mddoc10,090 bytesworkflows/full-migration.mddoc19,510 bytesworkflows/upgrade-downstream.mddoc5,470 bytes
Read SKILL.md
# Skill-Based Architecture
Restructure oversized single-file Skills or scattered project rules into a well-organized Skill directory. Builds on the official minimal Agent Skill contract (`name` + `description`) and kicks in when a single small `SKILL.md` is no longer enough.
## When to Use
- A single `SKILL.md` exceeds ~150 lines, mixing rules, workflows, and background material; or project rules are scattered across `AGENTS.md`, `CLAUDE.md`, `CODEX.md`, `.cursor/rules/`, `.claude/`, etc.
- Recurring tasks need procedures, fitted verification, or reliable completion checks; or the user explicitly requests Skill-based architecture or rule consolidation.
- Skip temporary repos with no durable routing need, teams with a working compact instruction system, and small projects; an explicit SBA request may still materialize a complete direct `SKILL.md` carrier.
## Progressive Rigor
Grow only under pressure. The materializer derives **Single-file**, **Folder-light**, or **Full/broad** internally from target evidence; users do not select a tier, profile, capability pack, or install mode. `routing.yaml`, Task Execution, Task Closure, maintenance checks, and each harness surface need their own routing/loading/ownership pressure. **Split by abstraction (骨架/肉)** when content tangles invariant design theory with current-code facts: abstract theory → `architecture/`, code maps → `references/`, house style → `conventions/`, per-module landmines → `gotchas/` (methodology stays in `rules/`). Downgrade when content shrinks. Details: [references/progressive-rigor.md](references/progressive-rigor.md).
View the complete source on GitHubSkills included
- skill-based-architecture
Repository facts
- License
- MIT
- Created
- Apr 8, 2026
- Last pushed
- Sep 20, 2026
- Forks
- 52
- Open issues
- 0
- Project activity
- Active
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 4, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 2 notes
SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- 59 dangerous shell commandsin 10 files: scripts/check-validation-contract.sh:29 scripts/check-all.sh:116 scripts/scaffold-downstream.sh:1424 and 7 more
- 94 network referencesin 26 files: README.md:20 README.zh-CN.md:20 docs/linuxdo-project-introduction.md:22 and 23 more
- 1 obfuscation signalin 1 file: scripts/test.js:212
- 2 instruction override signalsin 1 file: docs/plans/2026-08-04-failure-driven-long-term-memory.md:191
- 26 executable scriptsin 26 files: .claude/hooks/session-start:1 examples/simple-repo/repo/package.json:1 examples/simple-repo/repo/src/cart.js:1 and 23 more
- 1 reference to secretsin 1 file: scripts/check-template-hooks.sh:40
- No requests to vote in Hot
Show all 183 signals by file
.claude/hooks/session-start
- Executable scriptline 1
#!/usr/bin/env bash
README.md
- Network accessline 20
<p align="center"> <a href="https://github.com/WoJiSama/skill-based-architecture/stargazers"> - Network accessline 21
<a href="https://github.com/WoJiSama/skill-based-architecture/stargazers"> - Network accessline 22
<img alt="GitHub stars" src="https://img.shields.io/github/stars/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 23
</a> <a href="https://github.com/WoJiSama/skill-based-architecture/forks"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 24
<a href="https://github.com/WoJiSama/skill-based-architecture/forks"> - Network accessline 25
<img alt="GitHub forks" src="https://img.shields.io/github/forks/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 26
</a> <a href="LICENSE"> <img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> - Network accessline 27
<a href="LICENSE"> <img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> </a> - Network accessline 28
<img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> - Network accessline 79
git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 111
- Use [`examples/simple-repo/`](examples/simple-repo/) as a tiny local fixture with deliberately duplicated instructions. - Use [`COPY-PASTE-INPUT.md`](examples/simple-repo/COPY-PASTE-INPUT.md) when a hosted environment accepts pasted files - Network accessline 113
- [Run SBA in Telegram or WhatsApp through ClawMama](https://app.clawmama.run/skills/i78bb1/hermes?utm_source=github&utm_medium=issue&utm_campaign=skill_outreach_wojisama_skill_based_architecture) for a lightweight external preview. Do not - Network accessline 245
License: [LICENSE](LICENSE). Community discussion: [LinuxDO](https://linux.do/). - Network accessline 249
<a href="https://www.star-history.com/?repos=WoJiSama%2Fskill-based-architecture&type=date&legend=top-left"> - Network accessline 250
[Credential-related source omitted] - Network accessline 251
[Credential-related source omitted] - Network accessline 252
[Credential-related source omitted] - Network accessline 253
[Credential-related source omitted]
README.zh-CN.md
- Network accessline 20
<p align="center"> <a href="https://github.com/WoJiSama/skill-based-architecture/stargazers"> - Network accessline 21
<a href="https://github.com/WoJiSama/skill-based-architecture/stargazers"> - Network accessline 22
<img alt="GitHub stars" src="https://img.shields.io/github/stars/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 23
</a> <a href="https://github.com/WoJiSama/skill-based-architecture/forks"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 24
<a href="https://github.com/WoJiSama/skill-based-architecture/forks"> - Network accessline 25
<img alt="GitHub forks" src="https://img.shields.io/github/forks/WoJiSama/skill-based-architecture?style=flat&logo=github"> - Network accessline 26
</a> <a href="LICENSE"> <img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> - Network accessline 27
<a href="LICENSE"> <img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> </a> - Network accessline 28
<img alt="License" src="https://img.shields.io/github/license/WoJiSama/skill-based-architecture?style=flat"> - Network accessline 79
git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 111
- 把 [`examples/simple-repo/`](examples/simple-repo/) 当作本地最小 fixture;其中故意放了互相重复的指令。 - Hosted 环境支持粘贴文件时,使用 [`COPY-PASTE-INPUT.md`](examples/simple-repo/COPY-PASTE-INPUT.md)。 - 通过 ClawMama [在 Telegram 或 WhatsApp 中运行 SBA](https://app.clawmama.r - Network accessline 113
- 通过 ClawMama [在 Telegram 或 WhatsApp 中运行 SBA](https://app.clawmama.run/skills/i78bb1/hermes?utm_source=github&utm_medium=issue&utm_campaign=skill_outreach_wojisama_skill_based_architecture),进行轻量外部体验。不要上传敏感项目规则。 - Network accessline 245
许可证:[LICENSE](LICENSE)。社区讨论:[LinuxDO](https://linux.do/)。 - Network accessline 249
<a href="https://www.star-history.com/?repos=WoJiSama%2Fskill-based-architecture&type=date&legend=top-left"> - Network accessline 250
[Credential-related source omitted] - Network accessline 251
[Credential-related source omitted] - Network accessline 252
[Credential-related source omitted] - Network accessline 253
[Credential-related source omitted]
WORKFLOW.md
- Dangerous shell operationline 118
trap 'rm -f "$MIGRATION_EVIDENCE_JSON"' EXIT
docs/diagrams/file-call-graph-fixbug.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="620" viewBox="0 0 680 620" role="img">
docs/diagrams/progressive-rigor.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="330" viewBox="0 0 680 330" role="img">
docs/diagrams/routes-to-workflows.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="540" viewBox="0 0 680 540" role="img">
docs/diagrams/routing-core.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="800" viewBox="0 0 680 800" role="img">
docs/diagrams/skill-flow-complete.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="1420" viewBox="0 0 680 1420" role="img">
docs/diagrams/system-panorama.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="906" viewBox="0 0 680 906" role="img">
docs/diagrams/upstream-downstream-sync.svg
- Network accessline 1
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="502" viewBox="0 0 680 502" role="img">
docs/linuxdo-project-introduction.md
- Network accessline 22
项目地址:[WoJiSama/skill-based-architecture](https://github.com/WoJiSama/skill-based-architecture) - Network accessline 90
如果一个 skill 只有几条稳定原则,单个 `SKILL.md` 就够了。参考 [forrestchang/andrej-karpathy-skills](https://github.com/forrestchang/andrej-karpathy-skills) 这类项目,核心价值不是目录复杂,而是规则写得克制、具体、可检查。 - Network accessline 395
# Cursor 用户级 skill git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 396
git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 399
# Cursor 项目级 skill git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 400
git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 403
# 通用项目内安装 git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 404
git clone https://github.com/WoJiSama/skill-based-architecture.git \ - Network accessline 455
[https://github.com/WoJiSama/skill-based-architecture](https://github.com/WoJiSama/skill-based-architecture) - Network accessline 461
<a href="https://www.star-history.com/?repos=WoJiSama%2Fskill-based-architecture&type=date&legend=top-left"> - Network accessline 462
<picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=WoJiSama/skill-based-architecture&type=date&theme=dark&legend=top-left" /> <source media="(prefers-color-scheme: light)" srcset="h - Network accessline 463
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=WoJiSama/skill-based-architecture&type=date&theme=dark&legend=top-left" /> - Network accessline 464
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=WoJiSama/skill-based-architecture&type=date&legend=top-left" /> - Network accessline 465
<img alt="Star History Chart" src="https://api.star-history.com/chart?repos=WoJiSama/skill-based-architecture&type=date&legend=top-left" />
docs/plans/2026-07-27-rule-ownership-and-change-fanout/prd.md
- Network accessline 217
- Upstream ownership convergence landed in commit `5a9785d`. The complete Drift Gate is owned by `task-execution.md`; Plan, information-model, distillation, documentation-maintenance, and Closure responsibilities remain with their own route - Network accessline 218
- Upstream closure passed `scripts/check-all.sh`, including both temporary downstream journeys, self-hosting scenarios, template/self-hosting conformance, shell/path integrity, and orphan/reachability checks. The D7 simulation found one com - Network accessline 219
- Chaos adaptation landed in exact meta commit `5bad9fd` and was pushed on `codex/rule-ownership-local-action-20260727`. Codeup MR [#17](https://codeup.aliyun.com/60dd34bf4690c27532d3d021/aiinfra/chaos/change/17) is open and pending from th
docs/plans/2026-08-03-plan-composition-and-db-artifacts/prd.md
- Network accessline 547
- **0.77 assembly:** `aii update release-0.77_shiqi --no-pull --no-self-upgrade` assembled the canonical commit. Backend and frontend canonical, `.codex`, and `.claude` trees are recursively identical, while both business repositories retai - Network accessline 548
- **Database-change dossier:** the 0.77 iteration-testing-mode `prd.md` now has a separate schema-impact checkpoint and its sibling `schema.sql` contains the live MySQL 8.0.27 baseline, complete target DDL, forward schema/data update, read- - Network accessline 549
- **Canonical MR:** Codeup MR `#22` is `https://codeup.aliyun.com/60dd34bf4690c27532d3d021/aiinfra/chaos/change/22`, source `codex/plan-composition-db-artifacts-20260803`, target `master`, state `待合并`, one commit, eight files, and `无代码冲突`.
docs/plans/2026-08-04-failure-driven-long-term-memory.md
- Instruction override signalline 191
- Consumes: T1-T3 final wording. - Produces: owner/hook assertions and transcript-shaped failure-learning scenarios. - Acceptance: checks fail if Rule Update loses complete ownership, consumers copy its procedure, first failures create a le - Instruction override signalline 193
- Acceptance: checks fail if Rule Update loses complete ownership, consumers copy its procedure, first failures create a ledger, retries count as recurrence, activation repair is skipped, or shared gates bypass approval.
examples/simple-repo/README.md
examples/simple-repo/repo/package.json
- Executable scriptline 1
Executable file
examples/simple-repo/repo/src/cart.js
- Executable scriptline 1
Executable file
references/layout.md
- Network accessline 173
Anthropic's public [`skills` repository](https://github.com/anthropics/skills) defines the **minimal** skill shape: a folder with a `SKILL.md`, plus frontmatter where `name` identifies the skill and `description` explains what it does and w
references/per-tool-shells.md
- Network accessline 97
<!-- external-fact: verified=2026-04-28 source=https://code.claude.com/docs/en/skills --> - Network accessline 121
<!-- external-fact: verified=2026-04-28 source=https://docs.cursor.com/en/context --> - Network accessline 122
<!-- external-fact: verified=2026-04-28 source=https://code.claude.com/docs/en/skills --> - Network accessline 123
<!-- external-fact: verified=2026-04-28 source=https://developers.openai.com/codex/guides/agents-md --> - Network accessline 124
<!-- external-fact: verified=2026-04-28 source=https://docs.windsurf.com/windsurf/cascade/memories --> - Network accessline 125
<!-- external-fact: verified=2026-04-28 source=https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/gemini-md.md --> - Network accessline 126
<!-- external-fact: verified=2026-04-28 source=https://opencode.ai/docs/rules/ -->
references/skill-composition.md
- Network accessline 7
A project skill captures *this project's* rules and routing. General-purpose capabilities — planning, security review, writing tests, research — are better built once in a reusable skill (e.g. [`obra/superpowers`](https://github.com/obra/su
references/thin-shells.md
- Network accessline 119
The pattern is adopted from [OpenSpec](https://github.com/Fission-AI/OpenSpec)'s `<context>` / `<rules>` injection approach, adapted to our routing-table model.
scripts/check-all.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 116
find . -name '*.bak' -type f -delete - Dangerous shell operationline 193
trap 'rm -rf "$tmp" "$before"' EXIT - Dangerous shell operationline 241
trap 'rm -rf "$tmp" "$before"' EXIT - Dangerous shell operationline 322
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 361
trap 'rm -rf "$tmp" "$before" "$after_apply"' EXIT - Dangerous shell operationline 535
rm -rf "$tmp" - Dangerous shell operationline 540
rm -rf "$tmp" - Dangerous shell operationline 544
rm "$skill_root/gotchas/shared.md" - Dangerous shell operationline 549
rm -rf "$tmp" - Dangerous shell operationline 574
rm -rf "$tmp" - Dangerous shell operationline 577
rm -rf "$tmp" - Dangerous shell operationline 584
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 632
rm -rf "$skill/scripts" - Dangerous shell operationline 643
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 736
rm "$skill/references/business/unregistered.md" - Dangerous shell operationline 760
rm "$skill/references/navigation.md" - Dangerous shell operationline 775
rm "$root/services/billing/skills/billing/references/business/billing.md" - Dangerous shell operationline 807
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 888
trap 'rm -rf "$tmp"' EXIT
scripts/check-live-agent-journey.sh
scripts/check-migration-evidence.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/check-self-scenarios.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/check-self-shells.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/check-template-hooks.sh
scripts/check-upstream-changes.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/check-upstream-supersedes.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/check-validation-contract.sh
- Executable scriptline 1
#!/usr/bin/env bash - Dangerous shell operationline 29
find "$target/skills/$name" -maxdepth 1 -type f -name 'SKILL.*.md.template' ! -name 'SKILL.md.template' -delete - Dangerous shell operationline 35
find "$target/skills/$name" -type f \( -name '*.md.template' -o -name '*.yaml.template' \) -delete - Dangerous shell operationline 60
find . -name '*.bak' -type f -delete - Dangerous shell operationline 188
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 238
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 417
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 498
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 524
find . -name '*.bak' -type f -delete - Dangerous shell operationline 550
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 774
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 805
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 855
rm -f "$owner.bak" - Dangerous shell operationline 974
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1014
rm -f "$owner.bak" - Dangerous shell operationline 1040
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1495
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1620
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1728
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1850
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1911
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 1997
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2061
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2130
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2166
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2265
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2309
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2339
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2369
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2411
trap 'rm -rf "$tmp"' EXIT - Dangerous shell operationline 2433
trap 'rm -rf "$tmp"' EXIT
scripts/scaffold-downstream.sh
scripts/skill-asset
- Executable scriptline 1
#!/usr/bin/env node
scripts/sync-self-shells.sh
- Executable scriptline 1
#!/usr/bin/env bash
scripts/test.js
templates/hooks/README.md
- Network accessline 59
Schema check: Claude Code CLI v2.1+ uses the nested hook format (`matcher` -> `hooks[]` -> `{type,command}`). If a hook appears configured but does not fire, inspect hook events with the CLI's verbose hook output. <!-- external-fact: verifi - Network accessline 60
<!-- external-fact: verified=2026-05-06 source=https://code.claude.com/docs/en/hooks -->
templates/hooks/SECURITY.md
- Network accessline 19
Origin: trust-boundary principle condensed from [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files).
templates/hooks/session-start
- Executable scriptline 1
#!/usr/bin/env bash
templates/hooks/workflow-state
- Executable scriptline 1
#!/usr/bin/env bash
templates/shells/CLAUDE.md
- Network accessline 5
<!-- external-fact: verified=2026-04-28 source=https://code.claude.com/docs/en/skills -->
templates/skill/.upstream-sync
- Network accessline 3
# - workflows/update-upstream.md sets synced_sha (final step) after each refresh. # - scripts/upstream-status.sh reads it to report what's new upstream since then. upstream: https://github.com/WoJiSama/skill-based-architecture - Network accessline 4
# - scripts/upstream-status.sh reads it to report what's new upstream since then. upstream: https://github.com/WoJiSama/skill-based-architecture synced_sha: <set by update-upstream.md on first refresh> - Network accessline 5
upstream: https://github.com/WoJiSama/skill-based-architecture
templates/skill/protocol-blocks/reboot-check.md
- Network accessline 21
Origin: condensed from [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files) 5-Question Reboot Test.
templates/skill/scripts/audit-orphans.sh
- Executable scriptline 1
#!/usr/bin/env bash
templates/skill/scripts/check-version-conformance.sh
templates/skill/scripts/route-health.sh
- Executable scriptline 1
#!/usr/bin/env bash
templates/skill/scripts/route-reachability.sh
- Executable scriptline 1
#!/usr/bin/env bash
templates/skill/scripts/smoke-test.sh
templates/skill/scripts/sync-routing.sh
- Executable scriptline 1
#!/usr/bin/env bash
templates/skill/scripts/sync-vendor.sh
templates/skill/scripts/upstream-status.sh
templates/skill/workflows/invoke-skill.md.example
- Network accessline 19
3. `rules/change-discipline.md` immediately before the first mutation 4. **Verify the invoked skill is present** — `ls skills/superpowers/SKILL.md` must exist. If not: - Stop and report: "This workflow depends on skills/superpowers/. Ins - Network accessline 20
4. **Verify the invoked skill is present** — `ls skills/superpowers/SKILL.md` must exist. If not: - Stop and report: "This workflow depends on skills/superpowers/. Install it first: `git clone https://github.com/obra/superpowers skills/s - Network accessline 21
- Stop and report: "This workflow depends on skills/superpowers/. Install it first: `git clone https://github.com/obra/superpowers skills/superpowers`."
templates/skill/workflows/update-upstream.md
- Network accessline 5
<!-- upstream-source: repo=https://github.com/WoJiSama/skill-based-architecture.git --> - Network accessline 32
tmp="$(mktemp -d)" git clone https://github.com/WoJiSama/skill-based-architecture.git "$tmp/upstream" - Network accessline 33
git clone https://github.com/WoJiSama/skill-based-architecture.git "$tmp/upstream" - Network accessline 65
```bash printf 'upstream: %s\nsynced_sha: %s\nsynced_date: %s\n' \ "https://github.com/WoJiSama/skill-based-architecture" \ - Network accessline 66
printf 'upstream: %s\nsynced_sha: %s\nsynced_date: %s\n' \ "https://github.com/WoJiSama/skill-based-architecture" \ "$(git -C "$tmp/upstream" rev-parse HEAD)" "$(date +%F)" > "skills/$NAME/.upstream-sync" - Network accessline 67
"https://github.com/WoJiSama/skill-based-architecture" \
workflows/full-migration.md
- Network accessline 199
<!-- external-fact: verified=2026-04-28 source=https://code.claude.com/docs/en/skills -->
workflows/upgrade-downstream.md
- Network accessline 10
https://github.com/WoJiSama/skill-based-architecture.git
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Signal confidence: 170 facts
- Executable script in code of a file that runs.claude/hooks/session-start:1High confidence
- Network access in prose of documentationREADME.md:20Low confidence
- Network access in prose of documentationREADME.md:21Low confidence
- Network access in prose of documentationREADME.md:22Low confidence
- Network access in prose of documentationREADME.md:23Low confidence
- Network access in prose of documentationREADME.md:24Low confidence
- Network access in prose of documentationREADME.md:25Low confidence
- Network access in prose of documentationREADME.md:26Low confidence
- Network access in prose of documentationREADME.md:27Low confidence
- Network access in prose of documentationREADME.md:28Low confidence
- Network access in code of documentationREADME.md:79Low confidence
- Network access in prose of documentationREADME.md:111Low confidence
- Network access in prose of documentationREADME.md:113Low confidence
- Network access in prose of documentationREADME.md:245Low confidence
- Network access in prose of documentationREADME.md:249Low confidence
- Network access in prose of documentationREADME.md:250Low confidence
- Network access in prose of documentationREADME.md:251Low confidence
- Network access in prose of documentationREADME.md:252Low confidence
- Network access in prose of documentationREADME.md:253Low confidence
- Network access in prose of documentationREADME.zh-CN.md:20Low confidence
- Network access in prose of documentationREADME.zh-CN.md:21Low confidence
- Network access in prose of documentationREADME.zh-CN.md:22Low confidence
- Network access in prose of documentationREADME.zh-CN.md:23Low confidence
- Network access in prose of documentationREADME.zh-CN.md:24Low confidence
- Network access in prose of documentationREADME.zh-CN.md:25Low confidence
- Network access in prose of documentationREADME.zh-CN.md:26Low confidence
- Network access in prose of documentationREADME.zh-CN.md:27Low confidence
- Network access in prose of documentationREADME.zh-CN.md:28Low confidence
- Network access in code of documentationREADME.zh-CN.md:79Low confidence
- Network access in prose of documentationREADME.zh-CN.md:111Low confidence
- Network access in prose of documentationREADME.zh-CN.md:113Low confidence
- Network access in prose of documentationREADME.zh-CN.md:245Low confidence
- Network access in prose of documentationREADME.zh-CN.md:249Low confidence
- Network access in prose of documentationREADME.zh-CN.md:250Low confidence
- Network access in prose of documentationREADME.zh-CN.md:251Low confidence
- Network access in prose of documentationREADME.zh-CN.md:252Low confidence
- Network access in prose of documentationREADME.zh-CN.md:253Low confidence
- Dangerous shell operation in code of documentationWORKFLOW.md:118Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:22Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:90Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:395Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:396Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:399Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:400Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:403Low confidence
- Network access in code of documentationdocs/linuxdo-project-introduction.md:404Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:455Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:461Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:462Low confidence
- Network access in prose of documentationdocs/linuxdo-project-introduction.md:463Low confidence
and 120 more
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/marketplace.json | .claude/skills/<skill-name>/ |
| Codex | Native | Manifest AGENTS.md | .agents/skills/<skill-name>/ |
| Cursor | Native | Path .cursor/rules/workflow.mdc | .cursor/skills/<skill-name>/ |
| Gemini CLI | Native | Path GEMINI.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.