wf-init

Initialize WikiFlow projects by creating directory structures and .wikiflow/config.json.

2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/liqunx/wikiflow --skill wf-init
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: wf-init
Source: https://github.com/liqunx/wikiflow/tree/main/skills/wf-init
Command: npx skills add https://github.com/liqunx/wikiflow --skill wf-init

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

wf-init removes the setup friction of starting a WikiFlow project by creating the required wiki-driven folder structure and generating a working .wikiflow/config.json so the rest of the workflow can run.

Core Features & Use Cases

  • Interactive configuration confirmation: Asks whether the current repo is the document repo or the code repo, and collects project/code mapping details (including multi-repo support).
  • Creates WikiFlow folder structure: Generates docs/wiki/{current,history,deprecated,decisions}, docs/raw/00-uncategorized, and docs/changes/active.
  • Bootstraps essential wiki files: Produces docs/wiki/index.md and docs/wiki/log.md for indexing and change tracking.
  • Environment and git hygiene: Updates .gitignore for .env/.env.local and can generate or update .env from .env.template via the --env option.

Quick Start

Run /wf-init to initialize the current project with the default document directory structure and generate .wikiflow/config.json for WikiFlow.

Frequently Asked Questions about wf-init

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

FAQPage Schema
How do I initialize a documentation-driven development workspace?▼

To initialize a documentation-driven development workspace, run the setup command to generate the required wiki directory structure, bootstrap index and log files, and create a valid configuration file for subsequent workflows.

What is the best way to set up a multi-repo project with separated docs and code?▼

Setting up a multi-repo project with separated docs and code involves interactively confirming repository mappings, generating a central configuration file, and creating a shared wiki directory structure to link document and code repositories.

Does project initialization handle existing wiki directories safely?▼

Yes, project initialization handles existing docs directories safely by preserving current content while generating missing structural folders, bootstrap wiki index files, and updating the gitignore configuration for environment files.

Can I generate environment variables from a template during project setup?▼

Yes, you can generate environment variables during project setup by using the --env option, which creates or updates your local .env file directly from an existing .env.template file.

What folder structure is required for a WikiFlow project?▼

A WikiFlow project requires a specific folder structure including docs/wiki/{current,history,deprecated,decisions}, docs/raw/00-uncategorized, and docs/changes/active directories to manage documentation lifecycle and changes.