# Spec mining edho ferdian

> Spec mining edho ferdian is an open-source agent skill for developer tools. Mines behavioural specs with code-anchored requirements from an undocumented codebase. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/edhoferdian/EEF/tree/main/.agents/skills/spec-mining-edho-ferdian
- **Repository:** https://github.com/edhoferdian/eef
- **GitHub stars:** 22
- **License:** MIT
- **Skill name:** spec-mining-edho-ferdian
- **Collection:** https://github.com/edhoferdian/EEF
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill reads a codebase that has no written specification and extracts what its code actually does, recording each behaviour as a WHEN/THEN requirement or an always-true invariant. Each entry is tied to the code location that enforces it, and behaviour that cannot be confidently inferred is recorded as an open uncertainty rather than guessed.

The work runs in phases: first the repository is grouped into candidate capabilities and the user picks which to mine, then the code is sampled from entry points and expanded one call level at a time within a fixed read budget. Output is written as flat requirement and invariant blocks with HTML-comment metadata into a project memory folder, and each file records the commit it was verified against. A closing checklist flags unanchored requirements, docstring claims not checked against callers, and missing provenance.

The skill reads source files and writes Markdown spec files; it ships no scripts and needs no external services. It is meant to be used alongside a companion project-kickoff skill and related test and design skills.

## When your agent uses it

> Extract behavioural specs from a codebase with none: WHEN/THEN requirements and invariants, each anchored to the code that enforces it, unclear behaviour recorded as uncertainty. Use for "ekstrak spec", "buat spec dari kode", "reverse-engineer the spec", "repo ini tidak ada dokumentasi", or a missing BEHAVIOR_SPEC in dev-kickoff.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/edhoferdian/EEF/tree/HEAD/.agents/skills/spec-mining-edho-ferdian)
- [License: MIT](https://github.com/edhoferdian/EEF/tree/HEAD/.agents/skills/spec-mining-edho-ferdian)

## Features

- **Behaviour extraction:** Derives WHEN/THEN requirements and invariants directly from existing source code.
- **Code anchoring:** Links each requirement to the file or location that enforces it.
- **Uncertainty recording:** Marks unclear behaviour as an open question instead of asserting it.
- **Capability scoping:** Groups a repository into capabilities and mines only those the user selects.
- **Bounded reading:** Samples entry points and expands the call chain within a fixed file budget.
- **Freshness provenance:** Records the verified commit hash in each generated spec file.

## Good for

- Document an undocumented backend module as a behavioural spec
- Extract the business rules a payments service enforces
- Find which code paths enforce a given invariant
- Prepare a behaviour spec before refactoring legacy code

## Install

### Claude Code

This skill ships in the `ekosistem-edho-ferdian` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add edhoferdian/EEF
/plugin install ekosistem-edho-ferdian@eef-marketplace
```

Or copy only this skill to `~/.claude/skills/spec-mining-edho-ferdian`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spec-mining-edho-ferdian &&
cp -R "$tmp/.agents/skills/spec-mining-edho-ferdian" ~/.claude/skills/spec-mining-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/spec-mining-edho-ferdian` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/spec-mining-edho-ferdian` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spec-mining-edho-ferdian &&
cp -R "$tmp/.agents/skills/spec-mining-edho-ferdian" ~/.agents/skills/spec-mining-edho-ferdian &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/spec-mining-edho-ferdian` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/spec-mining-edho-ferdian` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spec-mining-edho-ferdian &&
cp -R "$tmp/.agents/skills/spec-mining-edho-ferdian" ~/.cursor/skills/spec-mining-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/spec-mining-edho-ferdian` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/edhoferdian/EEF.git --path .agents/skills/spec-mining-edho-ferdian
```

Or copy the folder to `~/.gemini/skills/spec-mining-edho-ferdian` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/spec-mining-edho-ferdian`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spec-mining-edho-ferdian &&
cp -R "$tmp/.agents/skills/spec-mining-edho-ferdian" ~/.copilot/skills/spec-mining-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/spec-mining-edho-ferdian` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/edhoferdian/EEF.git
```

Then copy `EEF/.agents/skills/spec-mining-edho-ferdian` into your agent's skills folder as `spec-mining-edho-ferdian`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Spec mining edho ferdian need to run?

It reads the repository's SKILL-described code and writes Markdown files; it ships no scripts and lists no required tools.

### Does Spec mining edho ferdian modify my code?

No. It is designed to mine and report gaps only, without refactoring or opening pull requests.

### Where are the output specs saved?

One file per capability under a project-memory mined-specs folder.

### What license is Spec mining edho ferdian under?

The repository is released under the MIT license.

### How do I install Spec mining edho ferdian in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/spec-mining-edho-ferdian to use it in all your projects, or to .claude/skills/spec-mining-edho-ferdian in one project. Or install the ekosistem-edho-ferdian plugin, which includes it: /plugin marketplace add edhoferdian/EEF, then /plugin install ekosistem-edho-ferdian@eef-marketplace.

### Does Spec mining edho ferdian run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Spec mining edho ferdian?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Spec mining edho ferdian?

The closest alternatives to Spec mining edho ferdian are Spec coding, Mt spec, Spec scout, Feasibility probe and Spec lint.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Mt spec](https://ai-powered.com/skills/mt-spec): Mt spec is an open-source agent skill for developer tools.
- [Spec scout](https://ai-powered.com/skills/spec-scout): Spec scout is an open-source agent skill for developer tools.
- [Feasibility probe](https://ai-powered.com/skills/feasibility-probe): Feasibility probe is an open-source agent skill for developer tools.
- [Spec lint](https://ai-powered.com/skills/spec-lint): Spec lint is an open-source agent skill for developer tools.
- [Gen specs as issues](https://ai-powered.com/skills/gen-specs-as-issues): Gen specs as issues is an open-source agent skill for developer tools.
- [Create GitHub issues for unmet specification requirements](https://ai-powered.com/skills/create-github-issues-for-unmet-specification-requirements): Create GitHub issues for unmet specification requirements is an open-source agent skill for developer tools.
- [Spec](https://ai-powered.com/skills/spec-jasgujral): Spec is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/spec-mining-edho-ferdian
