The development project template initializes software projects: libraries, applications, CLIs, websites, monorepos, and any other codebase where the operational goal is a working developer workflow. Unlike the minimal template, it addresses the full surface of a development project — package manifests, source layout, test commands, build configuration, environment setup, and validation — choosing only what the specific project requires.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bitwikiorg/init.md/llms.txt
Use this file to discover all available pages before exploring further.
Template metadata
| Field | Value |
|---|---|
| Name | Development Project Init Protocol |
| Target | Software development project, repository, application, library, CLI, website, or monorepo |
| Purpose | Inspect a development target, determine the project-specific artifacts and commands required for productive operation, configure what applies, validate the developer workflow, and report readiness |
| Modes | Active, Dry Run, Repair, Reinitialize |
| Creates | README.md when missing or inadequate; AGENTS.md when agent contributors will operate in the project and no valid guidance exists; PRD.md or specification files when product requirements must be established; source, test, task, or configuration files only when required by the project |
| Configures | Package or dependency manifests; development scripts; linting and formatting; test commands; build and preview commands; environment examples |
| Validates | Required commands run or are documented as unavailable; manifests parse; dependencies resolve where installation is in scope; tests, lint, type checks, or builds pass when applicable |
| Optional outputs | README.md; AGENTS.md; PRD.md; .env.example; PLAN.md; task or issue files; source directories; tests; validation report |
When to use
Use this template when the target is a codebase, repository, application, package, library, website, CLI, tool, or monorepo.What it may create
All outputs are conditional on the specific project. Possible artifacts include:README.md— when entry-point documentation is missing or misleading.AGENTS.md— when agent contributors will operate in the project and no valid guidance exists.PRD.mdor other specification files — when product requirements must be established.- Package or dependency manifests — when the project has a compatible package system.
- Source directories — when the project lacks an expected implementation location.
- Test files — when there is a clear test surface and project convention.
- Lint or formatting configuration — when the project requires it.
.env.example— when environment variables are required.- Development scripts — when the project needs documented commands.
- Task or issue files — when actionable work must be tracked.
What it configures
- Dependency manifests and package scripts.
- Development scripts (install, start, dev server).
- Linting and formatting rules.
- Test commands.
- Build and preview commands.
- Environment examples (
.env.example).
Validation
The development project template does not declare a project operational without a validation step tied to its real workflow. Relevant checks include:- Manifest parsing — confirm the package or dependency file is valid.
- Dependency installation — when installation is in scope, confirm dependencies resolve.
- Lint — run the project’s configured linter.
- Type check — run the project’s type checker if applicable.
- Tests — run the test suite if one exists.
- Build — confirm the project builds without errors.
- Preview — confirm a preview or dev server starts when applicable.
- CLI smoke tests — confirm the CLI entry point executes when the target is a CLI.
- Documentation link review — confirm internal links resolve.
- Agent instruction consistency — confirm
AGENTS.mdreferences valid paths and tools.
OPERATIONAL, OPERATIONAL_WITH_WARNINGS, BLOCKED, or DRY_RUN_COMPLETE.
The procedure
INSPECT
Understand the project as it exists.
- Inspect repository files, README, license, package or dependency manifests, source layout, tests, scripts, build config, deployment config, environment examples, issue or task files, existing specs, existing agent instructions, and user constraints.
- Preserve local conventions and avoid unrelated cleanup.
- Use files in the project, package scripts, framework configuration, docs, and operator instructions as sources.
DETERMINE
Decide what the project requires to become operational for development.
- Identify project type, expected developer workflow, missing documentation, missing manifests, dependency setup, command surface, environment requirements, validation checks, and optional agent guidance.
- Produce a project-specific initialization plan.
- Create or update
README.mdonly when entry-point documentation is missing or misleading. - Create
AGENTS.mdonly when agent contribution or operation applies. - Create
PRD.mdonly when product requirements need to be established. - Add
.env.exampleonly when environment variables are required. - Add or repair package scripts only when the project has a compatible package system.
- Add tests only when there is a clear test surface and project convention.
- Add source directories only when the project lacks an expected implementation location.
CREATE
Create only applicable artifacts from the list above.
- Preserve existing work. Update substantial, mostly-correct files rather than replacing them.
CONFIGURE
Make the selected development artifacts work together.
- Configure dependency manifests, package scripts, build commands, test commands, linting, formatting, environment examples, deployment settings, agent instructions, file references, and documentation links.
- Match the project’s existing framework and style.
VALIDATE
Confirm the developer workflow is operational.
- Use the relevant checks described above, derived from the project’s actual workflow.
- Do not declare the project operational without a validation step tied to its real workflow.
- Report status as
OPERATIONAL,OPERATIONAL_WITH_WARNINGS,BLOCKED, orDRY_RUN_COMPLETE.
REPORT
Report the complete development project initialization result:
- Project identified.
- Project type and operational goal.
- Inspected files and commands.
- Created or updated artifacts.
- Configuration changes.
- Validation commands or reviews.
- Remaining warnings, blockers, or deferred work.
- Final status.
Project-specific examples
Different project shapes require different initialization work:Library
Library
A small library may need accurate package metadata, a README with a usage example, and a working test command. It is unlikely to need deployment notes, a PRD, or agent instructions unless those apply to the specific project.
Website
Website
A website may need build and preview commands plus deployment notes. The validation step should confirm both the build succeeds and the preview server starts.
CLI
CLI
A CLI may need executable configuration, command examples in the README, and smoke tests that confirm the CLI entry point executes and returns expected output for a simple invocation.
Monorepo
Monorepo
A monorepo may need workspace discovery, package-specific commands (install, build, test scoped per package), and agent instructions scoped to the relevant sub-package when agents operate on specific parts of the repo.