Expand description
§Nika Init — Project scaffolding
This crate contains workflow templates and the interactive course
generated by nika init.
§Organization
- minimal: 5 starter workflows (1 per verb: exec, fetch, infer, invoke, agent)
- course: 12-level interactive learning path with checks, hints, and progress
- context: Reusable context files for workflows
- schemas: JSON schemas for structured output validation
§Usage
ⓘ
use nika_init::{get_all_workflows, get_all_context_files, get_all_schemas, WORKFLOWS_README};Modules§
Structs§
- Context
File - Context file definition
- Workflow
Template - Workflow definition with metadata
Constants§
- CONTEXT_
BRAND - Brand guidelines context file
- CONTEXT_
CODE_ REVIEW - Code review checklist
- CONTEXT_
DIR - Directory for context files
- CONTEXT_
PERSONA - Sample persona for content generation
- CONTEXT_
STYLE_ GUIDE - Writing style guide
- CONTEXT_
TERMINOLOGY - Technical terminology reference
- MINIMAL_
AGENT - Agent verb — multi-turn LLM loop with tools
- MINIMAL_
EXEC - Exec verb — shell commands, env vars, piping
- MINIMAL_
FETCH - Fetch verb — HTTP requests, JSON APIs
- MINIMAL_
INFER - Infer verb — LLM generation
- MINIMAL_
INVOKE - Invoke verb — MCP tool calls
- SCHEMAS_
DIR - Directory for schema files
- SCHEMA_
ARTICLE - Article schema for content generation
- SCHEMA_
CODE_ REVIEW - Code review result schema
- SCHEMA_
ENTITY_ EXTRACTION - Entity extraction schema for knowledge graphs
- SCHEMA_
HEALTH_ CHECK - API endpoint health check result
- SCHEMA_
MEETING_ NOTES - Meeting notes schema
- SCHEMA_
SOCIAL_ POST - Social media post schema
- SHOWCASE_
01_ URL_ STATUS - SHOWCASE_
02_ LANG_ DETECT - SHOWCASE_
03_ SENTIMENT - SHOWCASE_
04_ TRANSLATION - SHOWCASE_
05_ API_ TESTER - SHOWCASE_
06_ LINK_ CHECKER - SHOWCASE_
07_ RSS_ AGGREGATOR - SHOWCASE_
08_ GIT_ ANALYZER - SHOWCASE_
09_ PKG_ VERSIONS - SHOWCASE_
10_ WEB_ SCRAPER - SHOWCASE_
11_ MULTI_ FORMAT - SHOWCASE_
12_ IMAGE_ ANALYSIS - SHOWCASE_
13_ NESTED_ FOREACH - SHOWCASE_
14_ FAN_ OUT_ FAN_ IN - SHOWCASE_
15_ RETRY_ PIPELINE - WORKFLOWS_
README - README content for workflows directory
Functions§
- get_
all_ context_ files - get_
all_ schemas - get_
all_ workflows - All workflows (5 minimal + 15 patterns + 15 advanced + 15 infra + 15 fetch)
- get_
context_ files - Returns all context files
- get_
minimal_ workflows - Return minimal workflow templates (5 total, 1 per verb)
- get_
schema_ files - Returns all schema files
- get_
showcase_ advanced_ workflows - Return all 15 showcase advanced workflows
- get_
showcase_ fetch_ workflows - Return all 15 showcase fetch workflows.
- get_
showcase_ infra_ workflows - Return all 15 showcase infrastructure workflows.
- get_
showcase_ workflows - Return all 15 showcase pattern workflows.