agentleFS
leanEthereumleanEthereum/leanSpec/.claude/skills/workflows/SKILL.md

workflows

Skill143 starsChanged 2 months agoMITView on GitHub

Common developer workflows, commands, and troubleshooting for leanSpec

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use arming-thought, concentrate-forces and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SanjithBolloju18Skill

    arming-thought

    触发:在每次新的顶层对话开始时自动调用,用于建立“实事求是”的总原则,并在明确适用时为后续任务选择下游 skill;如果你是被派遣执行单一具体任务的子 agent,则跳过此 skill。 English: Trigger at the start of each new top-level conversation to establish the core methodology and select downstream skills only when clearly useful. Skip this skill when you are a delegated sub-agent handling a narrow, concrete task.

    Also in 3 projects that use this

  • SanjithBolloju18Skill

    concentrate-forces

    触发:当多个任务同时争夺时间、注意力、算力或预算,必须确定主攻方向并停止分散用力时调用;常见信号包括优先级过多、资源紧张、推进分散、需要决定先做什么。 English: Trigger when limited resources are being split across too many tasks and one main target must be chosen. Use this skill to concentrate effort, sequence work decisively, and finish a meaningful breakthrough before expanding.

    Also in 3 projects that use this

  • +8 more from SanjithBolloju18

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After running tests, coverage reports are generated:

    line 42
  2. Very specific:

    ruff format changes after ruff check --fix: Always run format after fix — the fixer doesn't guarantee formatting compliance.

    line 80
  3. Very specific:

    Import ordering issues: Run just fix to auto-sort imports.

    line 81

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “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

/workflows - Repository Workflows

Common developer workflows and commands for working in leanSpec.

Running Specific Tests

# Single test file
just test tests/node/networking/transport/test_peer_id.py -v

# Single test class or method
just test -k "TestDiscoveryTransport::test_start" -v

# With print output visible
just test -s -k "test_name"

Resolving Type Errors

The project uses two type checkers. Run them separately to isolate issues:

# Full type check (ty — the primary checker used in CI)
just typecheck

# Lint check (ruff — catches style and import issues)
just lint

Common type error patterns:

  • invalid-assignment — Wrong type assigned; check if a domain type (RequestId, PeerId) is expected instead of raw bytes
  • invalid-argument-type — Function argument type mismatch; verify the function signature
  • union-attr — Accessing attribute on a possibly-None value; add an assert is not None guard

Inspecting Coverage

After running tests, coverage reports are generated:

# View coverage in terminal
just test-cov

# Open HTML report
open htmlcov/index.html

Running Interop Tests

Interop tests are excluded from the default test run. Run them explicitly:

just interop

Spell Check Failures

# Run spell check
just spellcheck

# Add legitimate words to the ignore list
echo "newword" >> .codespell-ignore-words.txt

Markdown Formatting

# Check markdown formatting (docs only)
just mdformat

Common Pitfalls

  • Tests pass locally but CI fails: CI runs checks across Python 3.12, 3.13, and 3.14. Ensure no version-specific syntax is used.
  • ruff format changes after ruff check --fix: Always run format after fix — the fixer doesn't guarantee formatting compliance.
  • Import ordering issues: Run just fix to auto-sort imports.

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.