make-discover

Enumerate Makefile targets via make help and build outputs.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/drusifer/via --skill make-discover
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: make-discover
Source: https://github.com/drusifer/via/tree/main/agents/skills/make-discover
Command: npx skills add https://github.com/drusifer/via --skill make-discover

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Makefile projects often lack a single source of truth for available targets; this Skill guides users to reveal and understand all targets before acting.

Core Features & Use Cases

  • Automatically enumerate all Makefile targets for quick visibility
  • Support Bob-managed targets and standard targets via make help
  • Use case: a new contributor runs make help to learn the build surface before adding new targets

Quick Start

Run make help to see the current, authoritative target list before attempting any build steps.

Frequently Asked Questions about make-discover

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover all available Makefile targets in a project?

Run make help to discover all available Makefile targets. This command reveals the authoritative target list, eliminating guesswork by showing the current build surface before you attempt any build steps or add new targets.

What Makefile patterns are required to make targets discoverable?

Discoverable Makefile targets require real recipes under the MKF_ACTIVE block and a public stub in the else block. The public stub must include a discoverable ## comment so the target can be enumerated and validated by the build system.

How does Bob-managed target discovery work with standard Makefiles?

Bob-managed target discovery works with standard Makefiles by enforcing required patterns and pointing to a centralized registry at agents/Makefile.bob. This allows make help to enumerate both Bob-managed and standard targets uniformly.

Can I use make help to view and validate targets before adding new ones?

Yes, you can use make help to view and validate targets before adding new ones. Running make help reveals the current authoritative target list, allowing new contributors to learn the build surface and ensure new targets follow required Makefile patterns.

Why are my Makefile targets not showing up when running make help?

Makefile targets may not show up if they lack the required discoverable ## comment in the public stub within the else block. Ensure real recipes are placed under MKF_ACTIVE and the stub follows the centralized registry patterns at agents/Makefile.bob.

What's the best way to enumerate build system targets for new contributors?

The best way to enumerate build system targets for new contributors is running make help. It provides quick visibility into all Makefile targets, including Bob-managed ones, serving as a single source of truth for the available build surface.