@sushanglewis/lincoln 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.ts +3 -0
- package/dist/main.js +1286 -916
- package/dist/main.js.map +1 -1
- package/dist/postinstall.d.ts +3 -0
- package/dist/postinstall.js +18 -0
- package/dist/postinstall.js.map +1 -0
- package/framework/.claude/agents/_contract.md +79 -0
- package/framework/.claude/agents/architect.md +31 -0
- package/framework/.claude/agents/default.md +151 -0
- package/framework/.claude/agents/designer.md +33 -0
- package/framework/.claude/agents/engineer.md +42 -0
- package/framework/.claude/agents/external/NOTICES.md +12 -0
- package/framework/.claude/agents/external/everything-claude-code.manifest.yaml +23 -0
- package/framework/.claude/agents/external/oh-my-claudecode.manifest.yaml +26 -0
- package/framework/.claude/agents/external/wshobson-agents.manifest.yaml +23 -0
- package/framework/.claude/agents/frontend-engineer.md +32 -0
- package/framework/.claude/agents/knowledge-curator.md +28 -0
- package/framework/.claude/agents/pm.md +38 -0
- package/framework/.claude/agents/qa.md +28 -0
- package/framework/.claude/agents/release-coordinator.md +25 -0
- package/framework/.claude/agents/researcher.md +41 -0
- package/framework/.claude/harnesses/claude-code.yaml +15 -0
- package/framework/.claude/harnesses/codex.yaml +40 -0
- package/framework/.claude/harnesses/command-map.yaml +255 -0
- package/framework/.claude/harnesses/opencode.yaml +32 -0
- package/framework/.claude/harnesses/scenarios.yaml +45 -0
- package/framework/.claude/hooks/on-pr-event.sh +69 -0
- package/framework/.claude/hooks/on-session-start.sh +427 -0
- package/framework/.claude/hooks/on-stop.sh +104 -0
- package/framework/.claude/hooks/post-tool-use.sh +161 -0
- package/framework/.claude/hooks/pre-tool-use.sh +246 -0
- package/framework/.claude/schemas/agent-definition.schema.json +35 -0
- package/framework/.claude/schemas/benchmark-report.schema.json +148 -0
- package/framework/.claude/schemas/pm-to-ux-handoff.schema.yaml +128 -0
- package/framework/.claude/schemas/stage-definition.schema.json +233 -0
- package/framework/.claude/schemas/workflow-stage.schema.json +86 -0
- package/framework/.claude/schemas/workflow-template.schema.json +88 -0
- package/framework/.claude/settings.json +14 -0
- package/framework/.claude/skills/build-product-prototype/SKILL.md +35 -0
- package/framework/.claude/skills/build-product-prototype/prompts/main.md +78 -0
- package/framework/.claude/skills/clarify-requirements/SKILL.md +32 -0
- package/framework/.claude/skills/clarify-requirements/prompts/main.md +81 -0
- package/framework/.claude/skills/dependencies.yaml +139 -0
- package/framework/.claude/skills/draft-product-design/SKILL.md +40 -0
- package/framework/.claude/skills/draft-product-design/prompts/main.md +47 -0
- package/framework/.claude/skills/lc-analyze-frameworks/SKILL.md +43 -0
- package/framework/.claude/skills/lc-analyze-frameworks/prompts/main.md +95 -0
- package/framework/.claude/skills/lc-benchmark/SKILL.md +61 -0
- package/framework/.claude/skills/lc-build-codebase-knowledge/SKILL.md +38 -0
- package/framework/.claude/skills/lc-build-codebase-knowledge/prompts/build-codebase-knowledge.md +61 -0
- package/framework/.claude/skills/lc-collect-intelligence/SKILL.md +43 -0
- package/framework/.claude/skills/lc-collect-intelligence/prompts/main.md +72 -0
- package/framework/.claude/skills/lc-competitive-analysis/SKILL.md +43 -0
- package/framework/.claude/skills/lc-competitive-analysis/prompts/main.md +70 -0
- package/framework/.claude/skills/lc-explore-opensource/SKILL.md +36 -0
- package/framework/.claude/skills/lc-explore-opensource/prompts/explore-opensource.md +77 -0
- package/framework/.claude/skills/lc-first-principles/SKILL.md +43 -0
- package/framework/.claude/skills/lc-first-principles/prompts/main.md +73 -0
- package/framework/.claude/skills/lc-handoff/SKILL.md +34 -0
- package/framework/.claude/skills/lc-init-branch/SKILL.md +52 -0
- package/framework/.claude/skills/lc-market-research/SKILL.md +43 -0
- package/framework/.claude/skills/lc-market-research/prompts/main.md +79 -0
- package/framework/.claude/skills/lc-product-research/SKILL.md +43 -0
- package/framework/.claude/skills/lc-product-research/prompts/main.md +80 -0
- package/framework/.claude/skills/lc-research-report/SKILL.md +43 -0
- package/framework/.claude/skills/lc-research-report/prompts/main.md +90 -0
- package/framework/.claude/skills/lc-research-scope/SKILL.md +43 -0
- package/framework/.claude/skills/lc-research-scope/prompts/main.md +82 -0
- package/framework/.claude/skills/lc-setup/SKILL.md +68 -0
- package/framework/.claude/skills/lc-setup/prompts/main.md +88 -0
- package/framework/.claude/skills/lc-stage/SKILL.md +45 -0
- package/framework/.claude/skills/lc-stakeholder-research/SKILL.md +43 -0
- package/framework/.claude/skills/lc-stakeholder-research/prompts/main.md +65 -0
- package/framework/.claude/skills/lc-status/SKILL.md +25 -0
- package/framework/.claude/skills/lc-storytelling/SKILL.md +43 -0
- package/framework/.claude/skills/lc-storytelling/prompts/main.md +77 -0
- package/framework/.claude/skills/lc-wf/SKILL.md +54 -0
- package/framework/.claude/skills/lc-workflow/SKILL.md +48 -0
- package/framework/.claude/skills/lc-workflow/validators/validate.py +755 -0
- package/framework/.claude/skills/lc-workflow-router/SKILL.md +41 -0
- package/framework/.claude/skills/lc-workflow-router/prompts/intake-prompt.md +91 -0
- package/framework/.claude/skills/lc-workflow-router/prompts/router-prompt.md +44 -0
- package/framework/.claude/skills/plan-tdd-development/SKILL.md +31 -0
- package/framework/.claude/skills/plan-tdd-development/prompts/main.md +44 -0
- package/framework/.claude/skills/process-interview/SKILL.md +32 -0
- package/framework/.claude/skills/process-interview/prompts/main.md +47 -0
- package/framework/.claude/skills/propose-with-openspec/SKILL.md +37 -0
- package/framework/.claude/skills/propose-with-openspec/prompts/main.md +53 -0
- package/framework/.claude/skills/split-to-github/SKILL.md +32 -0
- package/framework/.claude/skills/split-to-github/prompts/main.md +42 -0
- package/framework/.claude/skills/sync-to-knowledge/SKILL.md +35 -0
- package/framework/.claude/skills/sync-to-knowledge/prompts/main.md +54 -0
- package/framework/.claude/skills/workflow-continue/SKILL.md +24 -0
- package/framework/.claude/skills/workflow-continue/prompts/main.md +25 -0
- package/framework/.claude/stages/build-codebase-knowledge.yaml +42 -0
- package/framework/.claude/stages/clarify.yaml +59 -0
- package/framework/.claude/stages/explore-opensource.yaml +40 -0
- package/framework/.claude/stages/implement.yaml +60 -0
- package/framework/.claude/stages/ingest.yaml +40 -0
- package/framework/.claude/stages/lc-analyze-frameworks.yaml +37 -0
- package/framework/.claude/stages/lc-collect-intelligence.yaml +37 -0
- package/framework/.claude/stages/lc-competitive-analysis.yaml +37 -0
- package/framework/.claude/stages/lc-first-principles.yaml +37 -0
- package/framework/.claude/stages/lc-market-research.yaml +37 -0
- package/framework/.claude/stages/lc-product-research.yaml +37 -0
- package/framework/.claude/stages/lc-research-report.yaml +38 -0
- package/framework/.claude/stages/lc-research-scope.yaml +38 -0
- package/framework/.claude/stages/lc-stakeholder-research.yaml +37 -0
- package/framework/.claude/stages/lc-storytelling.yaml +37 -0
- package/framework/.claude/stages/product-design-docs.yaml +66 -0
- package/framework/.claude/stages/product-prototype.yaml +53 -0
- package/framework/.claude/stages/propose.yaml +45 -0
- package/framework/.claude/stages/split.yaml +41 -0
- package/framework/.claude/stages/sync-knowledge.yaml +49 -0
- package/framework/.claude/stages/tdd-development-plan.yaml +43 -0
- package/framework/.claude/stages/workflow-router.yaml +45 -0
- package/framework/.claude/templates/solo-workflow-context.yaml +23 -0
- package/framework/.claude/workflows/README.md +93 -0
- package/framework/.claude/workflows/bug-fix.yaml +81 -0
- package/framework/.claude/workflows/design-spike.yaml +55 -0
- package/framework/.claude/workflows/existing-project-iteration.yaml +106 -0
- package/framework/.claude/workflows/interview-to-knowledge.yaml +189 -0
- package/framework/.claude/workflows/oss-first-design.yaml +100 -0
- package/framework/.claude/workflows/pm-research.yaml +115 -0
- package/framework/.claude-plugin/hooks.json +6 -0
- package/framework/.claude-plugin/marketplace.json +32 -0
- package/framework/.claude-plugin/plugin.json +57 -0
- package/framework/.version-bump.json +43 -0
- package/framework/CLAUDE.md +140 -0
- package/framework/CONTRIBUTING.md +219 -0
- package/framework/LICENSE +21 -0
- package/framework/README.en.md +139 -0
- package/framework/README.md +139 -0
- package/framework/RELEASE.md +334 -0
- package/framework/SKILL.md +24 -0
- package/framework/USAGE.md +356 -0
- package/framework/manifest.json +1214 -0
- package/framework/requirements.txt +4 -0
- package/framework/scripts/__init__.py +0 -0
- package/framework/scripts/build_codebase_knowledge.py +76 -0
- package/framework/scripts/bump_version.py +181 -0
- package/framework/scripts/check-dependency-drift.py +69 -0
- package/framework/scripts/check-harness-drift.sh +57 -0
- package/framework/scripts/check-main-merge-hygiene.py +128 -0
- package/framework/scripts/check-skill-dependencies.sh +124 -0
- package/framework/scripts/init-lincoln-branch.sh +300 -0
- package/framework/scripts/init-project.sh +184 -0
- package/framework/scripts/lc-benchmark-cli.py +66 -0
- package/framework/scripts/lincoln-audit.py +288 -0
- package/framework/scripts/lincoln-setup.py +651 -0
- package/framework/scripts/lincoln-status.py +448 -0
- package/framework/scripts/lincoln_benchmark.py +224 -0
- package/framework/scripts/lincoln_benchmark_eval.py +104 -0
- package/framework/scripts/lincoln_benchmark_metrics.py +818 -0
- package/framework/scripts/lincoln_benchmark_report.py +141 -0
- package/framework/scripts/lincoln_command_map.py +289 -0
- package/framework/scripts/lincoln_dependency_manager.py +335 -0
- package/framework/scripts/lincoln_documents.py +175 -0
- package/framework/scripts/lincoln_harness_adapter.py +319 -0
- package/framework/scripts/lincoln_index.py +255 -0
- package/framework/scripts/lincoln_paths.py +198 -0
- package/framework/scripts/lincoln_prd.py +227 -0
- package/framework/scripts/lincoln_role.py +46 -0
- package/framework/scripts/lincoln_scenario.py +59 -0
- package/framework/scripts/lincoln_session_start_metrics.py +71 -0
- package/framework/scripts/lincoln_skill_prompt.py +48 -0
- package/framework/scripts/lincoln_trace.py +335 -0
- package/framework/scripts/lincoln_workflow.py +199 -0
- package/framework/scripts/list-active-lincoln-branches.sh +87 -0
- package/framework/scripts/package-lincoln-plugin.py +340 -0
- package/framework/scripts/run-infrastructure-tests.py +84 -0
- package/framework/scripts/stage_loader.py +1071 -0
- package/framework/scripts/static-check.sh +356 -0
- package/framework/scripts/sync-external-agents.sh +210 -0
- package/framework/scripts/sync-framework-package.mjs +218 -0
- package/framework/scripts/task_tool_guard.py +213 -0
- package/framework/scripts/track-artifacts.py +140 -0
- package/framework/scripts/validate_stage.py +350 -0
- package/{README.md → framework/tools/lincoln/README.md} +4 -4
- package/framework/tools/lincoln/package-lock.json +3349 -0
- package/framework/tools/lincoln/package.json +48 -0
- package/framework/tools/lincoln/src/cli.tsx +60 -0
- package/framework/tools/lincoln/src/components/AudioMeter.tsx +34 -0
- package/framework/tools/lincoln/src/components/CancelledScreen.tsx +11 -0
- package/framework/tools/lincoln/src/components/DevicesMenu.tsx +79 -0
- package/framework/tools/lincoln/src/components/HintBar.tsx +25 -0
- package/framework/tools/lincoln/src/components/LogView.tsx +36 -0
- package/framework/tools/lincoln/src/components/ModelMenu.tsx +122 -0
- package/framework/tools/lincoln/src/components/ReadyScreen.tsx +54 -0
- package/framework/tools/lincoln/src/components/RecordingApp.tsx +211 -0
- package/framework/tools/lincoln/src/components/RecordingScreen.tsx +41 -0
- package/framework/tools/lincoln/src/components/SelectMenu.tsx +53 -0
- package/framework/tools/lincoln/src/components/StatusPanel.tsx +52 -0
- package/framework/tools/lincoln/src/components/StopConfirmation.tsx +32 -0
- package/framework/tools/lincoln/src/config/args.ts +35 -0
- package/framework/tools/lincoln/src/config/loadConfig.ts +81 -0
- package/framework/tools/lincoln/src/config/resolveConfig.ts +85 -0
- package/framework/tools/lincoln/src/devices/listDevices.ts +11 -0
- package/framework/tools/lincoln/src/devices/parseDevices.ts +25 -0
- package/framework/tools/lincoln/src/hooks/useKeyHandler.ts +63 -0
- package/framework/tools/lincoln/src/main.tsx +4 -0
- package/framework/tools/lincoln/src/models/models.ts +34 -0
- package/framework/tools/lincoln/src/models/runWarmup.ts +46 -0
- package/framework/tools/lincoln/src/models/warmupProgress.ts +30 -0
- package/framework/tools/lincoln/src/recording/spawnRecorder.ts +127 -0
- package/framework/tools/lincoln/src/recording/useRecorder.ts +146 -0
- package/framework/tools/lincoln/src/utils/amplitudeToMeter.ts +4 -0
- package/framework/tools/lincoln/src/utils/formatDuration.ts +6 -0
- package/framework/tools/lincoln/src/utils/sessionId.ts +25 -0
- package/framework/tools/lincoln/tests/cli.test.tsx +52 -0
- package/framework/tools/lincoln/tests/components/AudioMeter.test.tsx +31 -0
- package/framework/tools/lincoln/tests/components/CancelledScreen.test.tsx +12 -0
- package/framework/tools/lincoln/tests/components/ReadyScreen.test.tsx +68 -0
- package/framework/tools/lincoln/tests/components/RecordingApp.menus.test.tsx +158 -0
- package/framework/tools/lincoln/tests/components/RecordingApp.test.tsx +248 -0
- package/framework/tools/lincoln/tests/components/RecordingScreen.test.tsx +37 -0
- package/framework/tools/lincoln/tests/components/SelectMenu.test.tsx +59 -0
- package/framework/tools/lincoln/tests/components/StopConfirmation.test.tsx +38 -0
- package/framework/tools/lincoln/tests/config/args.test.ts +49 -0
- package/framework/tools/lincoln/tests/config/loadConfig.test.ts +59 -0
- package/framework/tools/lincoln/tests/config/resolveConfig.test.ts +72 -0
- package/framework/tools/lincoln/tests/devices/parseDevices.test.ts +21 -0
- package/framework/tools/lincoln/tests/hooks/useKeyHandler.enabled.test.tsx +44 -0
- package/framework/tools/lincoln/tests/hooks/useKeyHandler.test.tsx +130 -0
- package/framework/tools/lincoln/tests/models/models.test.ts +27 -0
- package/framework/tools/lincoln/tests/models/warmupProgress.test.ts +25 -0
- package/framework/tools/lincoln/tests/recording/spawnRecorder.test.ts +85 -0
- package/framework/tools/lincoln/tests/recording/useRecorder.test.tsx +172 -0
- package/framework/tools/lincoln/tests/utils/amplitudeToMeter.test.ts +22 -0
- package/framework/tools/lincoln/tests/utils/formatDuration.test.ts +11 -0
- package/framework/tools/lincoln/tests/utils/sessionId.test.ts +30 -0
- package/framework/tools/lincoln/tsconfig.json +22 -0
- package/framework/tools/lincoln/tsconfig.tests.json +10 -0
- package/framework/tools/lincoln/tsup.config.ts +17 -0
- package/framework/tools/lincoln/vitest.config.ts +20 -0
- package/framework/tools/lincoln-installer/package-lock.json +3611 -0
- package/framework/tools/lincoln-installer/package.json +53 -0
- package/framework/tools/lincoln-installer/src/cli.tsx +63 -0
- package/framework/tools/lincoln-installer/src/components/HarnessSelectScreen.tsx +43 -0
- package/framework/tools/lincoln-installer/src/components/InstallerApp.tsx +98 -0
- package/framework/tools/lincoln-installer/src/components/OptionsScreen.tsx +56 -0
- package/framework/tools/lincoln-installer/src/components/ProgressScreen.tsx +25 -0
- package/framework/tools/lincoln-installer/src/components/ResultScreen.tsx +40 -0
- package/framework/tools/lincoln-installer/src/components/SelectMenu.tsx +73 -0
- package/framework/tools/lincoln-installer/src/components/SummaryScreen.tsx +49 -0
- package/framework/tools/lincoln-installer/src/components/UpdateApp.tsx +135 -0
- package/framework/tools/lincoln-installer/src/components/WelcomeScreen.tsx +22 -0
- package/framework/tools/lincoln-installer/src/config/args.ts +76 -0
- package/framework/tools/lincoln-installer/src/config/resolveConfig.ts +33 -0
- package/framework/tools/lincoln-installer/src/config/updateArgs.ts +67 -0
- package/framework/tools/lincoln-installer/src/hooks/useSetup.ts +149 -0
- package/framework/tools/lincoln-installer/src/main.tsx +11 -0
- package/framework/tools/lincoln-installer/src/types.ts +19 -0
- package/framework/tools/lincoln-installer/src/update-main.tsx +11 -0
- package/framework/tools/lincoln-installer/src/update.tsx +90 -0
- package/framework/tools/lincoln-installer/src/utils/detectHarness.ts +51 -0
- package/framework/tools/lincoln-installer/src/utils/runSetup.ts +62 -0
- package/framework/tools/lincoln-installer/src/utils/updateRelease.ts +454 -0
- package/framework/tools/lincoln-installer/tests/components/InstallerApp.test.tsx +88 -0
- package/framework/tools/lincoln-installer/tests/components/SelectMenu.test.tsx +26 -0
- package/framework/tools/lincoln-installer/tests/components/UpdateApp.test.tsx +170 -0
- package/framework/tools/lincoln-installer/tests/components/screens.test.tsx +310 -0
- package/framework/tools/lincoln-installer/tests/config/args.test.ts +66 -0
- package/framework/tools/lincoln-installer/tests/config/resolveConfig.test.ts +75 -0
- package/framework/tools/lincoln-installer/tests/config/updateArgs.test.ts +52 -0
- package/framework/tools/lincoln-installer/tests/hooks/useSetup.test.tsx +213 -0
- package/framework/tools/lincoln-installer/tests/update.test.tsx +108 -0
- package/framework/tools/lincoln-installer/tests/utils/detectHarness.test.ts +40 -0
- package/framework/tools/lincoln-installer/tests/utils/runSetup.test.ts +45 -0
- package/framework/tools/lincoln-installer/tests/utils/updateRelease.test.ts +559 -0
- package/framework/tools/lincoln-installer/tsconfig.json +22 -0
- package/framework/tools/lincoln-installer/tsconfig.tests.json +8 -0
- package/framework/tools/lincoln-installer/tsup.config.ts +17 -0
- package/framework/tools/lincoln-installer/vitest.config.ts +20 -0
- package/framework/tools/lincoln-record/Cargo.lock +1896 -0
- package/framework/tools/lincoln-record/Cargo.toml +24 -0
- package/framework/tools/lincoln-record/diarize/diarize.py +117 -0
- package/framework/tools/lincoln-record/diarize/merge.py +55 -0
- package/framework/tools/lincoln-record/src/audio/capture/microphone.rs +194 -0
- package/framework/tools/lincoln-record/src/audio/capture/mod.rs +1 -0
- package/framework/tools/lincoln-record/src/audio/devices.rs +20 -0
- package/framework/tools/lincoln-record/src/audio/mod.rs +5 -0
- package/framework/tools/lincoln-record/src/audio/resampler.rs +44 -0
- package/framework/tools/lincoln-record/src/audio/saver.rs +87 -0
- package/framework/tools/lincoln-record/src/audio/source.rs +104 -0
- package/framework/tools/lincoln-record/src/cli.rs +96 -0
- package/framework/tools/lincoln-record/src/config.rs +135 -0
- package/framework/tools/lincoln-record/src/lib.rs +6 -0
- package/framework/tools/lincoln-record/src/main.rs +242 -0
- package/framework/tools/lincoln-record/src/model/mod.rs +248 -0
- package/framework/tools/lincoln-record/src/output/metadata.rs +30 -0
- package/framework/tools/lincoln-record/src/output/mod.rs +2 -0
- package/framework/tools/lincoln-record/src/output/transcript.rs +42 -0
- package/framework/tools/lincoln-record/src/transcription/diarization.rs +64 -0
- package/framework/tools/lincoln-record/src/transcription/mod.rs +3 -0
- package/framework/tools/lincoln-record/src/transcription/provider.rs +43 -0
- package/framework/tools/lincoln-record/src/transcription/whisper.rs +176 -0
- package/framework/tools/lincoln-record/tests/cli_args.rs +103 -0
- package/framework/tools/lincoln-record/tests/config_test.rs +70 -0
- package/framework/tools/lincoln-record/tests/devices_test.rs +23 -0
- package/framework/tools/lincoln-record/tests/diarization_tests.rs +101 -0
- package/framework/tools/lincoln-record/tests/integration_tests.rs +44 -0
- package/framework/tools/lincoln-record/tests/model_test.rs +68 -0
- package/framework/tools/lincoln-record/tests/transcription_tests.rs +73 -0
- package/package.json +19 -13
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
schema_version: 1.0.0
|
|
3
|
+
description: |
|
|
4
|
+
Declares external skills and CLIs required by the Lincoln workflow.
|
|
5
|
+
Run `scripts/check-skill-dependencies.sh` to verify the local environment.
|
|
6
|
+
|
|
7
|
+
# Pin policy (#62): external skills/plugins are pinned to a known-good upstream
|
|
8
|
+
# ref (full SHA), never a floating branch — an upstream commit must not silently
|
|
9
|
+
# change every Lincoln user's session behavior. (#39 note: pins avoid the stale
|
|
10
|
+
# fixed-version problem by making every upgrade explicit and reviewable.)
|
|
11
|
+
# Upgrade flow: 1) pick the new upstream ref; 2) update `ref` (and `pinned_at`);
|
|
12
|
+
# 3) run the benchmark to confirm no behavior regression; 4) merge.
|
|
13
|
+
# Check upstream drift vs pins: `python3 "${CLAUDE_PLUGIN_ROOT:-${LINCOLN_HOME:-$HOME/.lincoln/current}}/scripts/check-dependency-drift.py`."
|
|
14
|
+
|
|
15
|
+
skills:
|
|
16
|
+
superpowers:
|
|
17
|
+
source: https://github.com/obra/superpowers.git
|
|
18
|
+
ref: 6fd4507659784c351abbd2bc264c7162cfd386dc
|
|
19
|
+
pinned_from: main
|
|
20
|
+
pinned_at: 2026-07-15
|
|
21
|
+
type: skill
|
|
22
|
+
required: true
|
|
23
|
+
license: MIT
|
|
24
|
+
required_skills:
|
|
25
|
+
- superpowers:brainstorming
|
|
26
|
+
- superpowers:writing-plans
|
|
27
|
+
- superpowers:test-driven-development
|
|
28
|
+
- superpowers:subagent-driven-development
|
|
29
|
+
- superpowers:verification-before-completion
|
|
30
|
+
- superpowers:dispatching-parallel-agents
|
|
31
|
+
- superpowers:using-git-worktrees
|
|
32
|
+
- superpowers:systematic-debugging
|
|
33
|
+
- superpowers:finishing-a-development-branch
|
|
34
|
+
- superpowers:requesting-code-review
|
|
35
|
+
- superpowers:receiving-code-review
|
|
36
|
+
- superpowers:writing-skills
|
|
37
|
+
|
|
38
|
+
gsd:
|
|
39
|
+
source: https://github.com/gsd-build/get-shit-done.git
|
|
40
|
+
ref: bdcaab2c752d9a33a1a1ca9acf3a3c81fb991815
|
|
41
|
+
pinned_from: main
|
|
42
|
+
pinned_at: 2026-07-15
|
|
43
|
+
type: skill
|
|
44
|
+
required: true
|
|
45
|
+
license: MIT
|
|
46
|
+
required_skills:
|
|
47
|
+
- gsd-import
|
|
48
|
+
- gsd-docs-update
|
|
49
|
+
- gsd-forensics
|
|
50
|
+
- gsd-ns-review
|
|
51
|
+
- gsd-code-review
|
|
52
|
+
- gsd-debug
|
|
53
|
+
- gsd-eval-review
|
|
54
|
+
- gsd-ingest-docs
|
|
55
|
+
|
|
56
|
+
openspec:
|
|
57
|
+
source: https://github.com/Fission-AI/openspec.git
|
|
58
|
+
ref: v0.5.0
|
|
59
|
+
type: cli
|
|
60
|
+
binary: openspec
|
|
61
|
+
required: true
|
|
62
|
+
platforms:
|
|
63
|
+
macos: npm install -g @fission-ai/openspec
|
|
64
|
+
linux: npm install -g @fission-ai/openspec
|
|
65
|
+
install_note: Requires Node.js >= 20.
|
|
66
|
+
|
|
67
|
+
gh:
|
|
68
|
+
source: https://cli.github.com/
|
|
69
|
+
type: cli
|
|
70
|
+
binary: gh
|
|
71
|
+
required: true
|
|
72
|
+
platforms:
|
|
73
|
+
macos: brew install gh
|
|
74
|
+
linux: sudo apt-get install gh
|
|
75
|
+
install_note: After install, run 'gh auth login'.
|
|
76
|
+
|
|
77
|
+
ffmpeg:
|
|
78
|
+
source: https://ffmpeg.org/
|
|
79
|
+
type: cli
|
|
80
|
+
binary: ffmpeg
|
|
81
|
+
required: false
|
|
82
|
+
platforms:
|
|
83
|
+
macos: brew install ffmpeg
|
|
84
|
+
linux: sudo apt-get install ffmpeg
|
|
85
|
+
install_note: Optional. Only needed for audio/video processing during interview ingestion (recording transcription).
|
|
86
|
+
|
|
87
|
+
faster-whisper:
|
|
88
|
+
source: https://github.com/SYSTRAN/faster-whisper.git
|
|
89
|
+
type: cli
|
|
90
|
+
binary: faster-whisper
|
|
91
|
+
required: false
|
|
92
|
+
platforms:
|
|
93
|
+
macos: pip install faster-whisper
|
|
94
|
+
linux: pip install faster-whisper
|
|
95
|
+
install_note: |
|
|
96
|
+
Optional. Only needed for interview recording transcription.
|
|
97
|
+
Recommended local Whisper implementation.
|
|
98
|
+
Alternatives: openai-whisper (`pip install openai-whisper`) or OpenAI API.
|
|
99
|
+
|
|
100
|
+
lc-explore-opensource:
|
|
101
|
+
source: inline
|
|
102
|
+
type: skill
|
|
103
|
+
path: .claude/skills/lc-explore-opensource
|
|
104
|
+
|
|
105
|
+
lc-build-codebase-knowledge:
|
|
106
|
+
source: inline
|
|
107
|
+
type: skill
|
|
108
|
+
path: .claude/skills/lc-build-codebase-knowledge
|
|
109
|
+
|
|
110
|
+
lc-workflow-router:
|
|
111
|
+
source: inline
|
|
112
|
+
type: skill
|
|
113
|
+
path: .claude/skills/lc-workflow-router
|
|
114
|
+
|
|
115
|
+
# oh-my-claudecode — optional multi-agent orchestration layer, installed by default
|
|
116
|
+
oh-my-claudecode:
|
|
117
|
+
source: https://github.com/Yeachan-Heo/oh-my-claudecode.git
|
|
118
|
+
ref: 590fb988931d34a12604be0ca4215c818079018e
|
|
119
|
+
pinned_from: main
|
|
120
|
+
pinned_at: 2026-07-15
|
|
121
|
+
type: plugin
|
|
122
|
+
required: false
|
|
123
|
+
default_install: true
|
|
124
|
+
license: MIT
|
|
125
|
+
platforms:
|
|
126
|
+
macos: git clone https://github.com/Yeachan-Heo/oh-my-claudecode.git ~/.claude/skills/oh-my-claudecode && git -C ~/.claude/skills/oh-my-claudecode checkout 590fb988931d34a12604be0ca4215c818079018e
|
|
127
|
+
linux: git clone https://github.com/Yeachan-Heo/oh-my-claudecode.git ~/.claude/skills/oh-my-claudecode && git -C ~/.claude/skills/oh-my-claudecode checkout 590fb988931d34a12604be0ca4215c818079018e
|
|
128
|
+
install_note: Optional but recommended. Installed as a skill under ~/.claude/skills/.
|
|
129
|
+
recommended_skills:
|
|
130
|
+
- oh-my-claudecode:plan
|
|
131
|
+
- oh-my-claudecode:team
|
|
132
|
+
- oh-my-claudecode:verify
|
|
133
|
+
- oh-my-claudecode:autopilot
|
|
134
|
+
- oh-my-claudecode:ralph
|
|
135
|
+
- oh-my-claudecode:ultrawork
|
|
136
|
+
- oh-my-claudecode:deep-interview
|
|
137
|
+
- oh-my-claudecode:ai-slop-cleaner
|
|
138
|
+
- oh-my-claudecode:wiki
|
|
139
|
+
- oh-my-claudecode:writer-memory
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: draft-product-design
|
|
3
|
+
description: 基于已确认需求生成产品设计评审文档包
|
|
4
|
+
triggers:
|
|
5
|
+
- "生成产品设计文档"
|
|
6
|
+
- "draft-product-design"
|
|
7
|
+
inputs:
|
|
8
|
+
- name: session_id
|
|
9
|
+
description: 访谈会话 ID
|
|
10
|
+
required: true
|
|
11
|
+
- name: design_id
|
|
12
|
+
description: 产品设计 ID,如 checkout-redesign
|
|
13
|
+
required: true
|
|
14
|
+
outputs:
|
|
15
|
+
- "{process_slug}/pages/docs/design-review.html"
|
|
16
|
+
- "{process_slug}/pages/docs/scenarios.html"
|
|
17
|
+
- "{process_slug}/pages/docs/feature-catalog.html"
|
|
18
|
+
- "{process_slug}/pages/docs/data-model.html"
|
|
19
|
+
- "{process_slug}/pages/docs/flows.html"
|
|
20
|
+
- "{process_slug}/pages/docs/feasibility.html"
|
|
21
|
+
- "{process_slug}/pages/docs/page-map.html"
|
|
22
|
+
- "{process_slug}/pages/docs/version-log.html"
|
|
23
|
+
- "{process_slug}/pages/docs/api-list.html"
|
|
24
|
+
- "{process_slug}/handoffs/pm-to-ux/pm-to-ux.handoff.yaml"
|
|
25
|
+
required_tools:
|
|
26
|
+
- Read
|
|
27
|
+
- Bash
|
|
28
|
+
- Write
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# draft-product-design
|
|
32
|
+
|
|
33
|
+
## Purpose
|
|
34
|
+
|
|
35
|
+
Using [draft-product-design] to 基于已确认需求生成产品设计评审文档包.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
基于已确认需求生成面向 PM 评审的简洁产品设计文档包。
|
|
39
|
+
|
|
40
|
+
运行入口: prompts/main.md
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# draft-product-design
|
|
2
|
+
|
|
3
|
+
You are executing the Lincoln workflow step `product-design-docs`: turn approved requirements into a concise product design review package for the human PM.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Create `{process_slug}/pages/docs/` HTML design documents with enough product, data, flow, feasibility, and technical framing for PM review and later development planning, without creating unnecessary review burden.
|
|
8
|
+
|
|
9
|
+
## Input
|
|
10
|
+
|
|
11
|
+
- `session_id`: the interview session identifier
|
|
12
|
+
- `design_id`: a kebab-case product design identifier
|
|
13
|
+
|
|
14
|
+
## 子技能准备
|
|
15
|
+
|
|
16
|
+
在执行本 prompt 前:
|
|
17
|
+
1. 调用 `superpowers:brainstorming` 探索 ≥2 种设计方向并说明 trade-offs,等待 PM 确认。
|
|
18
|
+
2. PM 确认后,调用 `superpowers:writing-plans` 规划文档文件结构与每份文档的职责。
|
|
19
|
+
|
|
20
|
+
## Steps
|
|
21
|
+
|
|
22
|
+
1. Validate that `{process_slug}/pages/docs/requirements.html` is approved (contains `<!-- status: approved -->`).
|
|
23
|
+
2. Read `{process_slug}/pages/docs/requirements.html`, `user-stories.html`, and the root-level `{process_slug}/pages/docs/prd.html`.
|
|
24
|
+
3. Produce the design package under `{process_slug}/pages/docs/` using `.claude/templates/issue-package/page-doc.html.tpl`. Each page embeds Markdown in `<script type="text/markdown" id="docSource">` with a `<!-- version: v1.0 -->` marker and meta tags (`doc-title`, `nav-label`, `nav-group`, `doc-version`, `doc-uid`). Also include the annotation tags `doc-purpose`, `doc-layout`, `doc-fields`, `doc-boundaries`, `doc-exceptions` (and `doc-stories`, `doc-rules`, `doc-refs` when useful) so the portal right panel explains functionality, layout, fields, boundary cases, and exception flows:
|
|
25
|
+
- `design-review.html`: PM-facing entry point with decision summary, scope, links to all design docs, open questions, and approval checklist.
|
|
26
|
+
- `scenarios.html`: target users, primary scenarios, boundary scenarios, and non-goals.
|
|
27
|
+
- `feature-catalog.html`: concise feature list, priority, acceptance mapping, and source requirement links.
|
|
28
|
+
- `data-model.html`: core entities, fields, constraints, validation rules, and state transitions.
|
|
29
|
+
- `flows.html`: Mermaid user flow, business flow, screen flow, sequence diagram, and architecture diagram.
|
|
30
|
+
- `page-map.html`: page inventory, page relationships, navigation, and routing/state notes.
|
|
31
|
+
- `feasibility.html`: business feasibility, technical feasibility, current official framework/library options, usable open-source projects, risks, and recommended stack.
|
|
32
|
+
- `version-log.html`: design decision version history and rationale.
|
|
33
|
+
- `api-list.html`: internal and external APIs/data contracts the feature depends on.
|
|
34
|
+
4. Create the PM→UX handoff contract at `{process_slug}/handoffs/pm-to-ux/pm-to-ux.handoff.yaml` referencing the approved design docs and PRD versions.
|
|
35
|
+
5. Keep all documents traceable to the approved requirement and transcript timestamps where available.
|
|
36
|
+
6. Update the root `{process_slug}/pages/docs/prd.html` section 9 "相关产物链接" with links to the new design documents. If the PRD already has an approved snapshot (`pages/docs/snapshots/prd-v*.html`), warn the PM that any content change requires bumping the version marker and re-freezing via `python scripts/lincoln_prd.py freeze`.
|
|
37
|
+
7. Ask the PM to review `design-review.html` and linked docs (they can open `{process_slug}/index.html` in a browser).
|
|
38
|
+
8. When the PM confirms, add `<!-- status: approved -->` to `design-review.html`.
|
|
39
|
+
9. Run `python scripts/stage_loader.py --stage product-design-docs --action record-artifacts`.
|
|
40
|
+
|
|
41
|
+
## Rules
|
|
42
|
+
|
|
43
|
+
- Use Chinese for PM-facing content unless the requirements are in English.
|
|
44
|
+
- Keep documents short and reviewable; prefer tables and Mermaid diagrams over long prose.
|
|
45
|
+
- For technical frameworks and open-source projects, check current official docs or primary repositories before recommending.
|
|
46
|
+
- Do not create a Pencil prototype in this step.
|
|
47
|
+
- After approval, tell the user to run: `claude build-product-prototype <session_id> <design_id>`.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lc-analyze-frameworks
|
|
3
|
+
description: 提供并应用分析框架(SWOT、波特五力、商业模式画布、PEST、用户分析等),必要时生成 ECharts/HTML 可视化方案。
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
triggers:
|
|
6
|
+
- "lc-analyze-frameworks"
|
|
7
|
+
inputs:
|
|
8
|
+
- name: topic
|
|
9
|
+
description: 研究主题或产品决策背景
|
|
10
|
+
required: false
|
|
11
|
+
outputs:
|
|
12
|
+
- "{process_slug}/research/{session_id}/analysis-frameworks.md"
|
|
13
|
+
required_tools:
|
|
14
|
+
- Bash
|
|
15
|
+
- Read
|
|
16
|
+
- Write
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# lc-analyze-frameworks
|
|
20
|
+
|
|
21
|
+
## Purpose
|
|
22
|
+
|
|
23
|
+
Using [lc-analyze-frameworks] to 提供并应用分析框架(SWOT、波特五力、商业模式画布、PEST、用户分析等),必要时生成 ECharts/HTML 可视化方案.
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- `pm-research` workflow 的 `lc-analyze-frameworks` 阶段。
|
|
28
|
+
- PM 需要 提供并应用分析框架(SWOT、波特五力、商业模式画布、PEST、用户分析等),必要时生成 ECharts/HTML 可视化方案。 时。
|
|
29
|
+
|
|
30
|
+
## Inputs
|
|
31
|
+
|
|
32
|
+
- `session_id`: 研究 session 标识
|
|
33
|
+
- 当前阶段之前的所有研究产物
|
|
34
|
+
|
|
35
|
+
## Outputs
|
|
36
|
+
|
|
37
|
+
- `{process_slug}/research/{session_id}/analyze-frameworks.md`
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
- 严格基于已有研究产物,避免引入未经验证的假设。
|
|
42
|
+
- 所有外部事实必须标注来源。
|
|
43
|
+
- human_gate 阶段必须获得人类 PM 显式确认。
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# lc-analyze-frameworks prompt
|
|
2
|
+
|
|
3
|
+
You are executing the Lincoln workflow step `lc-analyze-frameworks`: select and apply analysis frameworks to the research.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Produce `{process_slug}/research/{session_id}/analysis-frameworks.md` that selects the right frameworks, applies them, and specifies how to visualize the results (ECharts or HTML).
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `session_id`: the research session identifier
|
|
12
|
+
- `{process_slug}/research/{session_id}/scope.md`
|
|
13
|
+
- `{process_slug}/research/{session_id}/first-principles.md`
|
|
14
|
+
- `{process_slug}/research/{session_id}/stakeholders.md`
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
1. Read prior documents.
|
|
19
|
+
2. From the framework catalog, select 2-4 frameworks suited to the decision:
|
|
20
|
+
- SWOT — for strategic positioning
|
|
21
|
+
- Porter's Five Forces — for market attractiveness
|
|
22
|
+
- Business Model Canvas — for value creation logic
|
|
23
|
+
- PEST — for macro context
|
|
24
|
+
- User Analysis (jobs-to-be-done, personas) — for demand side
|
|
25
|
+
- Custom multi-dimensional framework — when none of the above fit
|
|
26
|
+
3. Justify each selection in one sentence.
|
|
27
|
+
4. Apply each framework using the evidence collected so far; note gaps.
|
|
28
|
+
5. For each framework, specify the best visualization:
|
|
29
|
+
- SWOT → quadrant matrix (HTML/CSS grid or ECharts custom series)
|
|
30
|
+
- Porter's Five Forces → radar chart or horizontal bar (ECharts)
|
|
31
|
+
- Business Model Canvas → HTML table/grid
|
|
32
|
+
- PEST → 2x2 matrix or quadrant chart
|
|
33
|
+
- User Analysis → persona cards or journey flow (HTML)
|
|
34
|
+
- Custom → choose the most intuitive ECharts/HTML rendering
|
|
35
|
+
6. Optionally generate the actual HTML/ECharts file in `{process_slug}/research/{session_id}/visualizations/`.
|
|
36
|
+
7. Write `analysis-frameworks.md` using the template below.
|
|
37
|
+
|
|
38
|
+
## Output template
|
|
39
|
+
|
|
40
|
+
```markdown
|
|
41
|
+
# Analysis Frameworks: <Title>
|
|
42
|
+
|
|
43
|
+
## Selected Frameworks
|
|
44
|
+
|
|
45
|
+
| Framework | Why Selected | Key Dimensions | Visualization |
|
|
46
|
+
|-----------|--------------|----------------|---------------|
|
|
47
|
+
| SWOT | ... | ... | quadrant matrix |
|
|
48
|
+
| ... | ... | ... | ... |
|
|
49
|
+
|
|
50
|
+
## Framework Applications
|
|
51
|
+
|
|
52
|
+
### SWOT
|
|
53
|
+
|
|
54
|
+
#### Strengths
|
|
55
|
+
- ...
|
|
56
|
+
|
|
57
|
+
#### Weaknesses
|
|
58
|
+
- ...
|
|
59
|
+
|
|
60
|
+
#### Opportunities
|
|
61
|
+
- ...
|
|
62
|
+
|
|
63
|
+
#### Threats
|
|
64
|
+
- ...
|
|
65
|
+
|
|
66
|
+
### Porter's Five Forces
|
|
67
|
+
|
|
68
|
+
| Force | Intensity | Evidence |
|
|
69
|
+
|-------|-----------|----------|
|
|
70
|
+
| ... | ... | ... |
|
|
71
|
+
|
|
72
|
+
## Visualization Plan
|
|
73
|
+
|
|
74
|
+
- <file path and chart type for each framework>
|
|
75
|
+
|
|
76
|
+
## Generated Visualizations
|
|
77
|
+
|
|
78
|
+
- `{process_slug}/research/{session_id}/visualizations/swot.html`
|
|
79
|
+
- ...
|
|
80
|
+
|
|
81
|
+
## Implications
|
|
82
|
+
|
|
83
|
+
- <what the frameworks reveal>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Rules
|
|
87
|
+
|
|
88
|
+
- Match the framework to the decision, not the other way around.
|
|
89
|
+
- Visualizations should be renderable in a browser (HTML/ECharts); embed data inline so they work offline.
|
|
90
|
+
- If generating HTML, include a concise title and legend.
|
|
91
|
+
|
|
92
|
+
## Exit Criteria
|
|
93
|
+
|
|
94
|
+
- `analysis-frameworks.md` selects and applies at least two frameworks.
|
|
95
|
+
- Each framework has a specified visualization format.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lc-benchmark
|
|
3
|
+
description: Generate a Lincoln benchmark report on explicit request.
|
|
4
|
+
triggers:
|
|
5
|
+
- lc-benchmark
|
|
6
|
+
- 运行 benchmark
|
|
7
|
+
- 生成 benchmark 报告
|
|
8
|
+
inputs:
|
|
9
|
+
- name: trigger
|
|
10
|
+
description: Optional trigger context (manual, handoff, pr_created, pr_merged, session_stop)
|
|
11
|
+
required: false
|
|
12
|
+
outputs:
|
|
13
|
+
- "{process_slug}/benchmark/lc-benchmark-{trigger}-{timestamp}.md"
|
|
14
|
+
- "{process_slug}/benchmark/lc-benchmark-{trigger}-{timestamp}.json"
|
|
15
|
+
required_tools:
|
|
16
|
+
- Bash
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# lc-benchmark
|
|
20
|
+
|
|
21
|
+
## Purpose
|
|
22
|
+
|
|
23
|
+
Using [lc-benchmark] to generate a Lincoln session benchmark report.
|
|
24
|
+
|
|
25
|
+
Run Lincoln benchmark metrics and write the Markdown + JSON report pair to the
|
|
26
|
+
active issue package's `benchmark/` directory. Benchmark is opt-in: it is no
|
|
27
|
+
longer triggered automatically on session stop or PR events.
|
|
28
|
+
|
|
29
|
+
## When to Use
|
|
30
|
+
|
|
31
|
+
- The PM or QA explicitly asks for a benchmark report.
|
|
32
|
+
- After a meaningful milestone (handoff, PR creation/merge) when humans want
|
|
33
|
+
to review L1-L5 metrics.
|
|
34
|
+
- During release readiness review.
|
|
35
|
+
|
|
36
|
+
## Inputs
|
|
37
|
+
|
|
38
|
+
- Active `{process_slug}/workflow-stage.yaml` (auto-resolved).
|
|
39
|
+
- Optional `--trigger` context to label the report.
|
|
40
|
+
|
|
41
|
+
## Outputs
|
|
42
|
+
|
|
43
|
+
- `{process_slug}/benchmark/lc-benchmark-{trigger}-{timestamp}.md`
|
|
44
|
+
- `{process_slug}/benchmark/lc-benchmark-{trigger}-{timestamp}.json`
|
|
45
|
+
|
|
46
|
+
## Rules
|
|
47
|
+
|
|
48
|
+
- Default trigger is `manual`.
|
|
49
|
+
- Do not run benchmark after every tool use or session stop.
|
|
50
|
+
- Reports should be generated only when a human explicitly requests metrics or
|
|
51
|
+
when a release/hygiene gate requires them.
|
|
52
|
+
|
|
53
|
+
## Invocation
|
|
54
|
+
|
|
55
|
+
Prefer using the `lc-benchmark` command or Skill tool. Equivalent CLI:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
python3 "${CLAUDE_PLUGIN_ROOT:-${LINCOLN_HOME:-$HOME/.lincoln/current}}/scripts/lc-benchmark-cli.py"
|
|
59
|
+
python3 "${CLAUDE_PLUGIN_ROOT:-${LINCOLN_HOME:-$HOME/.lincoln/current}}/scripts/lc-benchmark-cli.py" --trigger handoff
|
|
60
|
+
python3 "${CLAUDE_PLUGIN_ROOT:-${LINCOLN_HOME:-$HOME/.lincoln/current}}/scripts/lc-benchmark-cli.py" --state-file issue-<N>/workflow-stage.yaml --trigger manual
|
|
61
|
+
```
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lc-build-codebase-knowledge
|
|
3
|
+
description: Use when starting Lincoln on an existing project with source code but no feature knowledge base yet.
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Lincoln Build Codebase Knowledge
|
|
8
|
+
|
|
9
|
+
## Purpose
|
|
10
|
+
|
|
11
|
+
Using [lc-build-codebase-knowledge] to scan an existing codebase and generate feature knowledge documents under `knowledge/`.
|
|
12
|
+
|
|
13
|
+
Scan an existing codebase, identify its major features/modules, and generate feature knowledge documents under `knowledge/` so Lincoln can iterate from facts instead of assumptions.
|
|
14
|
+
|
|
15
|
+
## When to Use
|
|
16
|
+
|
|
17
|
+
- Project already has source code.
|
|
18
|
+
- `knowledge/03-features/` is empty or out of date.
|
|
19
|
+
- The `existing-project-iteration` workflow template is active.
|
|
20
|
+
|
|
21
|
+
## Inputs
|
|
22
|
+
|
|
23
|
+
- Repository root
|
|
24
|
+
- Existing source tree
|
|
25
|
+
- Existing `README.md`, `CHANGELOG.md`, and any architectural docs
|
|
26
|
+
|
|
27
|
+
## Outputs
|
|
28
|
+
|
|
29
|
+
- `knowledge/00-index.md` — master index
|
|
30
|
+
- `knowledge/03-features/existing-<feature>.md` — one per core feature
|
|
31
|
+
- `knowledge/05-glossary/00-index.md` — domain terms inferred from code
|
|
32
|
+
|
|
33
|
+
## Rules
|
|
34
|
+
|
|
35
|
+
- Do not modify source code.
|
|
36
|
+
- Infer features from directory structure, public APIs, and README.
|
|
37
|
+
- Cross-check generated docs against source files (cite file paths).
|
|
38
|
+
- Stop and ask the PM when confidence is low.
|
package/framework/.claude/skills/lc-build-codebase-knowledge/prompts/build-codebase-knowledge.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# build-codebase-knowledge prompt
|
|
2
|
+
|
|
3
|
+
You are the Lincoln Codebase Knowledge Builder. Your job is to turn an existing codebase into a concise feature knowledge base.
|
|
4
|
+
|
|
5
|
+
## Phase 1 — Structural scan
|
|
6
|
+
|
|
7
|
+
1. Run `scripts/build-codebase-knowledge.py --root .` to get a machine-readable feature map.
|
|
8
|
+
2. Read `README.md`, `CHANGELOG.md`, and any `ARCHITECTURE.md` / `docs/` files.
|
|
9
|
+
3. Identify the top 3-10 features/modules that a PM would care about.
|
|
10
|
+
|
|
11
|
+
## Phase 2 — Deep read per feature
|
|
12
|
+
|
|
13
|
+
For each feature from the map:
|
|
14
|
+
|
|
15
|
+
1. Read the entry-point files listed by the scanner.
|
|
16
|
+
2. Summarize in one paragraph:
|
|
17
|
+
- What the feature does (business value)
|
|
18
|
+
- How it is implemented (high-level technical approach)
|
|
19
|
+
- Key files and public APIs
|
|
20
|
+
3. List acceptance criteria that could be derived from existing tests or behavior.
|
|
21
|
+
|
|
22
|
+
## Phase 3 — Write knowledge documents
|
|
23
|
+
|
|
24
|
+
1. Create `knowledge/00-index.md` with a table of features and links.
|
|
25
|
+
2. Create `knowledge/03-features/existing-<feature>.md` for each feature using the template below.
|
|
26
|
+
3. Create `knowledge/05-glossary/00-index.md` with domain terms and definitions inferred from code.
|
|
27
|
+
|
|
28
|
+
## Feature document template
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
# <Feature Name>
|
|
32
|
+
|
|
33
|
+
## Business knowledge
|
|
34
|
+
|
|
35
|
+
- Purpose:
|
|
36
|
+
- User value:
|
|
37
|
+
- Linked requirements:
|
|
38
|
+
|
|
39
|
+
## Technical knowledge
|
|
40
|
+
|
|
41
|
+
- Entry points:
|
|
42
|
+
- Key files:
|
|
43
|
+
- Public API / surface:
|
|
44
|
+
- Data model:
|
|
45
|
+
- Dependencies:
|
|
46
|
+
|
|
47
|
+
## Acceptance criteria
|
|
48
|
+
|
|
49
|
+
- [ ] <criterion 1>
|
|
50
|
+
- [ ] <criterion 2>
|
|
51
|
+
|
|
52
|
+
## Source references
|
|
53
|
+
|
|
54
|
+
- `src/...`
|
|
55
|
+
- `tests/...`
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Human gate
|
|
59
|
+
|
|
60
|
+
- Ask the PM to review `knowledge/00-index.md` before continuing.
|
|
61
|
+
- Mark `codebase-knowledge-ready` in `<process_slug>/workflow-stage.yaml` only after PM confirms or 5 minutes pass with no objections.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lc-collect-intelligence
|
|
3
|
+
description: 基于权威报告、官方动态、开放 API、官网等渠道,体系化收集研究所需的权威信息并标注来源。
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
triggers:
|
|
6
|
+
- "lc-collect-intelligence"
|
|
7
|
+
inputs:
|
|
8
|
+
- name: topic
|
|
9
|
+
description: 研究主题或产品决策背景
|
|
10
|
+
required: false
|
|
11
|
+
outputs:
|
|
12
|
+
- "{process_slug}/research/{session_id}/collected-intelligence.md"
|
|
13
|
+
required_tools:
|
|
14
|
+
- Bash
|
|
15
|
+
- Read
|
|
16
|
+
- Write
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# lc-collect-intelligence
|
|
20
|
+
|
|
21
|
+
## Purpose
|
|
22
|
+
|
|
23
|
+
Using [lc-collect-intelligence] to 基于权威报告、官方动态、开放 API、官网等渠道,体系化收集研究所需的权威信息并标注来源.
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- `pm-research` workflow 的 `lc-collect-intelligence` 阶段。
|
|
28
|
+
- PM 需要 基于权威报告、官方动态、开放 API、官网等渠道,体系化收集研究所需的权威信息并标注来源。 时。
|
|
29
|
+
|
|
30
|
+
## Inputs
|
|
31
|
+
|
|
32
|
+
- `session_id`: 研究 session 标识
|
|
33
|
+
- 当前阶段之前的所有研究产物
|
|
34
|
+
|
|
35
|
+
## Outputs
|
|
36
|
+
|
|
37
|
+
- `{process_slug}/research/{session_id}/collect-intelligence.md`
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
- 严格基于已有研究产物,避免引入未经验证的假设。
|
|
42
|
+
- 所有外部事实必须标注来源。
|
|
43
|
+
- human_gate 阶段必须获得人类 PM 显式确认。
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# lc-collect-intelligence prompt
|
|
2
|
+
|
|
3
|
+
You are executing the Lincoln workflow step `lc-collect-intelligence`: systematically gather authoritative information for the research.
|
|
4
|
+
|
|
5
|
+
## Goal
|
|
6
|
+
|
|
7
|
+
Produce `{process_slug}/research/{session_id}/collected-intelligence.md` that compiles evidence from authoritative sources, organized by research question and analysis framework.
|
|
8
|
+
|
|
9
|
+
## Inputs
|
|
10
|
+
|
|
11
|
+
- `session_id`: the research session identifier
|
|
12
|
+
- `{process_slug}/research/{session_id}/scope.md`
|
|
13
|
+
- `{process_slug}/research/{session_id}/analysis-frameworks.md`
|
|
14
|
+
- Any prior research documents
|
|
15
|
+
|
|
16
|
+
## Steps
|
|
17
|
+
|
|
18
|
+
1. Read the scope and selected analysis frameworks.
|
|
19
|
+
2. For each research question and framework, derive an information checklist.
|
|
20
|
+
3. Gather information from authoritative sources:
|
|
21
|
+
- Industry reports (Gartner, IDC, McKinsey, etc.)
|
|
22
|
+
- Official product docs, blogs, release notes
|
|
23
|
+
- Open API docs and changelogs
|
|
24
|
+
- Public financial reports, investor decks
|
|
25
|
+
- Reputable news and analysis sites
|
|
26
|
+
4. For each piece of evidence, record:
|
|
27
|
+
- Claim / fact
|
|
28
|
+
- Source URL
|
|
29
|
+
- Source type
|
|
30
|
+
- Confidence (high / medium / low)
|
|
31
|
+
- Relevant research question
|
|
32
|
+
5. Write `collected-intelligence.md` using the template below.
|
|
33
|
+
|
|
34
|
+
## Output template
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
# Collected Intelligence: <Title>
|
|
38
|
+
|
|
39
|
+
## Research Questions → Evidence
|
|
40
|
+
|
|
41
|
+
### Q1: <question>
|
|
42
|
+
|
|
43
|
+
| Claim | Source | Type | Confidence | Notes |
|
|
44
|
+
|-------|--------|------|------------|-------|
|
|
45
|
+
| ... | ... | ... | ... | ... |
|
|
46
|
+
|
|
47
|
+
## Framework-Specific Evidence
|
|
48
|
+
|
|
49
|
+
### SWOT
|
|
50
|
+
- **Strengths evidence:** ...
|
|
51
|
+
- **Weaknesses evidence:** ...
|
|
52
|
+
|
|
53
|
+
## Information Gaps
|
|
54
|
+
|
|
55
|
+
- <what we still need to know>
|
|
56
|
+
|
|
57
|
+
## Source Index
|
|
58
|
+
|
|
59
|
+
1. <source 1>
|
|
60
|
+
2. <source 2>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Rules
|
|
64
|
+
|
|
65
|
+
- Prioritize authoritative sources over anonymous opinions.
|
|
66
|
+
- Quote or paraphrase accurately; never fabricate sources.
|
|
67
|
+
- Mark low-confidence information explicitly.
|
|
68
|
+
|
|
69
|
+
## Exit Criteria
|
|
70
|
+
|
|
71
|
+
- `collected-intelligence.md` has evidence mapped to research questions.
|
|
72
|
+
- Every claim has a source and confidence rating.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: lc-competitive-analysis
|
|
3
|
+
description: 分析竞争格局,评估竞争对手定位、能力、优势与劣势,形成差异化洞察。
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
triggers:
|
|
6
|
+
- "lc-competitive-analysis"
|
|
7
|
+
inputs:
|
|
8
|
+
- name: topic
|
|
9
|
+
description: 研究主题或产品决策背景
|
|
10
|
+
required: false
|
|
11
|
+
outputs:
|
|
12
|
+
- "{process_slug}/research/{session_id}/competitive.md"
|
|
13
|
+
required_tools:
|
|
14
|
+
- Bash
|
|
15
|
+
- Read
|
|
16
|
+
- Write
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# lc-competitive-analysis
|
|
20
|
+
|
|
21
|
+
## Purpose
|
|
22
|
+
|
|
23
|
+
Using [lc-competitive-analysis] to 分析竞争格局,评估竞争对手定位、能力、优势与劣势,形成差异化洞察.
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
- `pm-research` workflow 的 `lc-competitive-analysis` 阶段。
|
|
28
|
+
- PM 需要 分析竞争格局,评估竞争对手定位、能力、优势与劣势,形成差异化洞察。 时。
|
|
29
|
+
|
|
30
|
+
## Inputs
|
|
31
|
+
|
|
32
|
+
- `session_id`: 研究 session 标识
|
|
33
|
+
- 当前阶段之前的所有研究产物
|
|
34
|
+
|
|
35
|
+
## Outputs
|
|
36
|
+
|
|
37
|
+
- `{process_slug}/research/{session_id}/competitive-analysis.md`
|
|
38
|
+
|
|
39
|
+
## Rules
|
|
40
|
+
|
|
41
|
+
- 严格基于已有研究产物,避免引入未经验证的假设。
|
|
42
|
+
- 所有外部事实必须标注来源。
|
|
43
|
+
- human_gate 阶段必须获得人类 PM 显式确认。
|