agentleFS
Mininglamp-OSSMininglamp-OSS/octo-server/.claude/skills/octospec-workflow/SKILL.md

octospec-workflow

Skill1.1k starsChanged 6 months agoApache-2.0View on GitHub

Use when implementing a feature, fixing a bug, or making any non-trivial code change in this repository. Drives the octospec 4-phase engineering flow (Plan, Implement, Verify, Finish) so the change follows this repo's rules in .octospec/ and ships a PR with a linked spec. Triggers on requests like "add ...", "implement ...", "fix ...", "refactor ...", "change the ... API", 写功能, 修 bug, 加接口, 改逻辑. Skip for trivial edits (typo, docs, lint, pure config) — those do not need the flow.

Trending

Quiet since September.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 7 mentionsJun 2026: 1 mentionJul 2026: 6 mentionsAug 2026: 3 mentionsSep 2026: 21 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the Mininglamp-OSS/octo-server repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about Mininglamp-OSS/octo-server

The biggest 5 of 38 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 38

Talked about on GitHub (38 times).

On GitHub · 38

33 more on GitHub

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the flow for: a new feature, a bug fix, a refactor, an API change, or any change that touches load-bearing behavior.

    line 22
  2. Distinctive:

    Run them in order. Each phase maps to a slash command the user can also invoke manually.

    line 30
  3. Distinctive:

    Write the code. Do not commit yet.

    line 51
  4. Distinctive:

    Run this repo's gates (lint / type-check / tests.

    line 58
  5. Distinctive:

    Run the final gate once more.

    line 62
  6. Very specific:

    Write .octospec/journal/shared/<slug>.md (what was done + any learning).

    line 63
  7. Very specific:

    Start it with OKF frontmatter (type: Journal + title/description/tags/ timestamp) and add a dated entry to .octospec/log.md.

    line 64
  8. Very specific:

    If a learning is worth reusing, stage it in .octospec/learnings/pending/ (promotion into rules/ is a separate reviewed PR — do not …

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

octospec workflow

This repository uses the octospec engineering standard. When you are asked to make a non-trivial code change here, run the 4-phase flow instead of editing code directly. Rules live in .octospec/ and are the source of truth for this repo's conventions.

When to run this

Run the flow for: a new feature, a bug fix, a refactor, an API change, or any change that touches load-bearing behavior.

Do NOT run the flow for trivial changes: a typo, a docs-only edit, a lint-only fix, a pure config or dependency bump. Just make those directly.

The 4 phases

Run them in order. Each phase maps to a slash command the user can also invoke manually; as a skill you perform the same steps.

1. Plan

  • Choose a short kebab-case <slug>.
  • Read .octospec/tasks/_brief.template.md.
  • Inspect the relevant existing code, then write .octospec/tasks/<slug>/brief.md with: Goal, Load-bearing list (use the same tags as .octospec/rules/_index.yaml inject_when.touches where they apply), Out of scope, Acceptance.
  • Show the brief and get confirmation before writing code.

2. Implement

  • Resolve applicable rules: read .octospec/rules/_index.yaml and .octospec/_global/ (if synced). A rule applies when its inject_when.paths glob matches a file you will touch, OR its inject_when.touches tag is in the brief's load-bearing list. A repo-tier rule overrides a global one with the same id.
  • Read the full text of each matching rule and follow it. Prioritize load_bearing: true rules.
  • Record what you used in .octospec/tasks/<slug>/context.yaml.
  • Write the code. Do not commit yet.

3. Verify

  • Review the diff against each injected rule (trace load-bearing paths, not just the happy path).
  • Confirm the diff meets the brief's Acceptance and did not touch anything in Out of scope.
  • Run this repo's gates (lint / type-check / tests; see CLAUDE.md / AGENTS.md).
  • Self-fix what you can.

4. Finish

  • Run the final gate once more.
  • Write .octospec/journal/shared/<slug>.md (what was done + any learning). Start it with OKF frontmatter (type: Journal + title/description/tags/ timestamp) and add a dated entry to .octospec/log.md.
  • If a learning is worth reusing, stage it in .octospec/learnings/pending/ (promotion into rules/ is a separate reviewed PR — do not auto-edit rules).
  • Open a PR. Fill the PR template's Linked Spec (→ the brief) and the COMPREHENSION three questions to substance, for load-bearing / architectural / P0 changes.

Notes

  • This skill orchestrates the flow automatically. The user can still drive any single phase manually with /octospec-plan, /octospec-go, /octospec-check, /octospec-finish.
  • The flow is guidance, not a hard gate; the repo's PR/CI checks are the enforcement layer.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.