core

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package core provides helper functions for the initialize command.

This package contains file handling, template creation, plugin management, prompt/CLAUDE.md merging, and validation logic used by the init command's Run function.

Directories

Path Synopsis
Package backup creates timestamped backups of files before overwriting them during initialization.
Package backup creates timestamped backups of files before overwriting them during initialization.
Package claude creates or merges CLAUDE.md with ctx project instructions and content markers.
Package claude creates or merges CLAUDE.md with ctx project instructions and content markers.
Package entry finds insertion points in existing Markdown files for ctx content during initialization.
Package entry finds insertion points in existing Markdown files for ctx content during initialization.
Package merge orchestrates create-or-merge operations with interactive confirmation and marker-based content updates.
Package merge orchestrates create-or-merge operations with interactive confirmation and marker-based content updates.
Package plan creates or merges IMPLEMENTATION_PLAN.md with project planning templates during initialization.
Package plan creates or merges IMPLEMENTATION_PLAN.md with project planning templates during initialization.
Package plugin enables and checks the ctx plugin in Claude Code settings and installed plugins configuration.
Package plugin enables and checks the ctx plugin in Claude Code settings and installed plugins configuration.
Package project defines project-root directories created during initialization, such as specs/ and ideas/.
Package project defines project-root directories created during initialization, such as specs/ and ideas/.
Package prompt creates or merges PROMPT.md with ctx system prompt templates during initialization.
Package prompt creates or merges PROMPT.md with ctx system prompt templates during initialization.
Package tpl deploys embedded templates to subdirectories during initialization, handling skip-or-overwrite logic for each file.
Package tpl deploys embedded templates to subdirectories during initialization, handling skip-or-overwrite logic for each file.
Package validate checks that the ctx binary is available in PATH before initialization proceeds.
Package validate checks that the ctx binary is available in PATH before initialization proceeds.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL