docs: Update all documentation to use new 'analyze' command

- Update Chinese README (README.zh-CN.md) with new preset flags
- Update docs/features/*.md (PATTERN_DETECTION, HOW_TO_GUIDES, BOOTSTRAP_SKILL_TECHNICAL)
- Update scripts/bootstrap_skill.sh to use 'skill-seekers analyze'
- Update scripts/skill_header.md command examples
- Update tests/test_bootstrap_skill.py assertions
- Fix CHANGELOG.md historical entry with correct command name

All references to 'skill-seekers-codebase' updated to 'skill-seekers analyze'
except where needed for backward compatibility (pyproject.toml, E2E tests).

Related to Phase 1 implementation from previous commits.
This commit is contained in:
yusyus
2026-01-29 22:56:33 +03:00
parent 41fdafa13d
commit 5a78522dbc
8 changed files with 30 additions and 32 deletions

View File

@@ -148,7 +148,7 @@ Fails fast with helpful installation instructions.
**Step 2: Codebase Analysis (lines 37-45)**
```bash
rm -rf "$OUTPUT_DIR" 2>/dev/null || true
uv run skill-seekers-codebase \
uv run skill-seekers analyze \
--directory "$PROJECT_ROOT" \
--output "$OUTPUT_DIR" \
--depth deep \

View File

@@ -31,7 +31,7 @@ First, extract workflow examples from your test files:
```bash
# Extract test examples including workflows
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--extract-test-examples \
--output output/codebase/
@@ -64,13 +64,13 @@ Enable guide generation during codebase analysis:
```bash
# Automatic pipeline: extract tests → build guides
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--extract-test-examples \
--build-how-to-guides \
--output output/codebase/
# Skip guide generation
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--skip-how-to-guides
```
@@ -284,7 +284,7 @@ AI enhancement happens automatically with AUTO mode detection:
```bash
# Auto-detects best mode (API if key set, else LOCAL)
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--extract-test-examples \
--build-how-to-guides \
--ai-mode auto
@@ -299,7 +299,7 @@ Use Claude API directly (requires ANTHROPIC_API_KEY):
export ANTHROPIC_API_KEY=sk-ant-...
# Enable API mode
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--build-how-to-guides \
--ai-mode api
```
@@ -316,7 +316,7 @@ Use Claude Code CLI (no API key needed):
```bash
# Uses your Claude Code Max plan (FREE!)
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--build-how-to-guides \
--ai-mode local
```
@@ -334,7 +334,7 @@ Generate basic guides without AI:
```bash
# Faster, but basic quality
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--build-how-to-guides \
--ai-mode none
```
@@ -358,7 +358,7 @@ skill-seekers-codebase tests/ \
```bash
# 1. Extract test examples from your codebase
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--extract-test-examples \
--output output/codebase/
@@ -401,7 +401,7 @@ which claude
**Issue: Enhancement takes too long**
```bash
# Switch to API mode for faster processing
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--build-how-to-guides \
--ai-mode api # Much faster than LOCAL
@@ -873,7 +873,7 @@ How-to guides are built from workflow examples extracted by C3.2:
```bash
# Full pipeline
skill-seekers-codebase tests/ \
skill-seekers analyze tests/ \
--extract-test-examples \
--build-how-to-guides
```
@@ -907,7 +907,7 @@ skill-seekers-how-to-guides examples.json --no-ai
Automatic guide generation during codebase analysis:
```bash
skill-seekers-codebase /path/to/repo/ \
skill-seekers analyze /path/to/repo/ \
--extract-test-examples \
--build-how-to-guides \
--output output/codebase/
@@ -946,7 +946,7 @@ skill-seekers-how-to-guides tests/integration/test_examples.json \
Extract usage patterns from test suites:
```bash
skill-seekers-codebase tests/api/ \
skill-seekers analyze tests/api/ \
--extract-test-examples \
--build-how-to-guides
```
@@ -1375,7 +1375,7 @@ pytest tests/test_how_to_guide_builder.py --cov=skill_seekers.cli.how_to_guide_b
**Get Started:**
```bash
# Quick start
skill-seekers-codebase tests/ --output output/codebase/
skill-seekers analyze tests/ --output output/codebase/
# Check your new guides
cat output/codebase/tutorials/index.md

View File

@@ -119,10 +119,10 @@ The `--detect-patterns` flag integrates with codebase analysis:
```bash
# Analyze codebase + detect patterns
skill-seekers-codebase --directory src/ --detect-patterns
skill-seekers analyze --directory src/ --detect-patterns
# With other features
skill-seekers-codebase \
skill-seekers analyze \
--directory src/ \
--detect-patterns \
--build-api-reference \