init.md is a human- and machine-readable procedure for inspecting a target, determining what it requires, applying the appropriate initialization pattern, validating the result, and reporting its operational state.
The repository provides the canonical general protocol, target-specific templates, and a static website for browsing and copying those templates.
This version focuses on broad target initialization. A target may be a software project, repository, AI agent, server, service, workspace, research environment, data pipeline, application, tool, local directory, remote environment, or existing system requiring restoration or reconfiguration.
The project does not provide a backend, database, account system, hosted execution runtime, or automatic target execution in this version.
The root protocol determines the initialization process:
- Inspect what exists.
- Determine what is needed.
- Create what applies.
- Configure what is required.
- Validate the result.
- Report what became operational.
Templates define concrete initialization patterns for specific targets and modes. Target-specific requirements belong in templates rather than the root protocol.
The repository includes these canonical templates:
- Minimal initialization.
- Dry-run initialization.
- Development-project initialization.
- Agent initialization.
- Server initialization.
Templates declare metadata for name, target, purpose, mode, likely created artifacts, configured elements, validation checks, and optional outputs. Metadata describes likely behavior and does not force universal output creation.
Generated files are conditional. No output file is universally required except where the selected template or target requires it.
Examples:
- Generate a README only when project documentation is missing or inadequate.
- Generate a PRD only when product requirements need to be established.
- Generate
AGENTS.mdonly when agent operation applies. - Generate a snapshot only when a point-in-time record is useful.
- Generate a server report only for server or infrastructure targets.
The Markdown files under templates/ are the canonical source of template content. The website imports those Markdown files directly with Vite raw imports.
The template browser must:
- render content from the canonical Markdown files;
- parse and display template metadata;
- copy root
init.mdas a complete usable procedure; - copy complete template Markdown bodies without frontmatter metadata;
- avoid storing complete template bodies as TypeScript strings.
The build runs a template integrity check that verifies the expected template files and metadata fields exist.
The website is a static Vite and React application deployed through GitHub Pages. It preserves the template browser, copy-to-clipboard behavior, and the Overview, Protocol, Templates, and Guide structure.
The public interface should communicate:
init.mdis not one fixed scaffold;- the six-stage initialization process;
- the relationship between the root protocol and templates;
- conditional generated outputs;
- target-specific agent instructions;
- GitHub and BIThub as header and footer destinations, with content reserved for init guidance and copy actions.
The visual and editorial system should align with the BITwiki ecosystem through strong black, white, and neutral structure, high-contrast typography, geometric protocol surfaces, restrained accents, and precise technical language.
Required public links, limited to header and footer:
- GitHub repository: https://github.com/bitwikiorg/init.md
- BIThub forum: https://hub.bitwiki.org/
BIThub is presented as the place to discuss the protocol, ask questions, share templates, propose improvements, and report implementation experiences.
GitHub Pages remains the public interface. The existing deploy workflow builds the Vite site and uploads the dist artifact to Pages.
- No new framework.
- No backend service.
- No database.
- No account system.
- No hosted execution runtime.
- No universal production server checklist in the root protocol.
- No universal requirement to generate README, PRD, snapshot, context, task, server, or agent files.
- Root
init.mdis target-neutral and follows Inspect, Determine, Create, Configure, Validate, Report. - Server-specific checks live in the server template.
- Existing minimal, server, and dry-run template concepts are preserved and corrected.
- Development-project and agent templates exist.
- Templates include metadata and optional outputs.
- The website renders canonical Markdown template files and copies complete usable instruction bodies.
- GitHub and BIThub links are visible in the header and footer only.
- README and PRD describe the corrected model.
- Production build succeeds without adding a backend or execution runtime.