# vector-of-bool/pitchfork

Pitchfork is a Set of C++ Project Conventions

Repository: https://github.com/vector-of-bool/pitchfork
Canonical: https://ross.abutalabs.com/products/pitchfork
Language: C++
License: MIT
License Family: permissive
Last push: 2024-04-26T09:25:43+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2931, "days_push": 859, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1258, forks 64 (observed 2026-08-28T04:04:09.550058+00:00)

## What it is
Pitchfork is a set of conventions for native C and C++ projects, best known for its project directory layout specification. The repository also hosts an experimental pf tool and pf library for creating and manipulating Pitchfork-compliant projects.

## Use cases
- how to structure a C++ project directory layout
- standard folder conventions for C and C++ projects
- where to put headers, sources, and tests in a C++ project
- de facto standard C++ project layout for CMake builds
- scaffold a new C++ project with a conventional layout
- organize and name directories in native C/C++ codebases

## When to choose
- you are starting a new C or C++ project and want a widely recognized directory structure
- you want consistency across multiple C++ codebases or open-source contributions
- you want a layout that works well with CMake and typical native build setups

## When to avoid
- you need working tooling today - the pf CLI and library are explicitly experimental
- you need a build system, package manager, or compiler - Pitchfork only defines conventions
- your project already follows a different established layout and migrating would not pay off

## Facets
- artifact type: learning-resource
- maturity: stable
- function: documentation, developer-tools, boilerplate
- domain: developer-tools, programming-languages
- platform: cpp, c, cross-platform
- tags: project-layout, project-structure, conventions, specification, cmake, scaffolding, c-plus-plus, native-projects

## Member repositories
- vector-of-bool/pitchfork (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.550058+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:08.869072+00:00, confidence not recorded.
  - readme: https://github.com/vector-of-bool/pitchfork (fetched 2026-08-28T04:04:09.550058+00:00, sha 18f87cf92331)
- Data as of 2026-08-30T08:39:29.467469+00:00.
