specrails-core 3.7.0 → 3.8.0
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/README.md +4 -3
- package/docs/getting-started.md +19 -13
- package/docs/installation.md +23 -11
- package/install.sh +206 -39
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,17 +47,18 @@ Updates automatically: `claude plugin update sr`
|
|
|
47
47
|
### Scaffold method (alternative)
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
|
-
npx specrails-core@latest init --root-dir . # TUI
|
|
51
|
-
/specrails:enrich --from-config # run AI analysis using your config
|
|
50
|
+
npx specrails-core@latest init --root-dir . # TUI: select agents, choose tier
|
|
52
51
|
```
|
|
53
52
|
|
|
53
|
+
**Quick tier** (default) — agents installed directly, ready to use immediately. No AI interaction.
|
|
54
|
+
**Full tier** — run `/specrails:enrich` after install for deep codebase analysis, VPC personas, and competitive research.
|
|
55
|
+
|
|
54
56
|
### Start building
|
|
55
57
|
|
|
56
58
|
```bash
|
|
57
59
|
> /specrails:implement "add user authentication"
|
|
58
60
|
> /specrails:implement #1, #2 # from local tickets (default)
|
|
59
61
|
> /specrails:implement #42, #43 # from GitHub Issues (if configured)
|
|
60
|
-
> /specrails:auto-propose-backlog-specs # discover new features with AI
|
|
61
62
|
```
|
|
62
63
|
|
|
63
64
|
That's it. The pipeline takes over.
|
package/docs/getting-started.md
CHANGED
|
@@ -37,15 +37,29 @@ npx specrails-core@latest init --root-dir <your-project>
|
|
|
37
37
|
|
|
38
38
|
See [installation.md](installation.md) for full details on both methods and when to use each.
|
|
39
39
|
|
|
40
|
-
##
|
|
40
|
+
## Installation Tiers
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
### Quick Install (default via TUI)
|
|
43
|
+
|
|
44
|
+
When you run `npx specrails-core@latest init`, the TUI installer lets you choose **Quick** tier. This places agents, commands, rules, and settings directly — no AI interaction required:
|
|
45
|
+
|
|
46
|
+
1. Select agents to install
|
|
47
|
+
2. Choose a model preset
|
|
48
|
+
3. Provide a brief product description
|
|
49
|
+
|
|
50
|
+
Agents are ready to use immediately after install. Open Claude Code and start working.
|
|
51
|
+
|
|
52
|
+
> Quick install excludes VPC personas and persona-dependent agents/commands (sr-product-manager, sr-product-analyst). These require the full enrichment process.
|
|
53
|
+
|
|
54
|
+
### Full Install (via `/specrails:enrich`)
|
|
55
|
+
|
|
56
|
+
For deeper customization, choose **Full** tier or run `/specrails:enrich` after a Quick install:
|
|
43
57
|
|
|
44
58
|
```
|
|
45
59
|
/specrails:enrich
|
|
46
60
|
```
|
|
47
61
|
|
|
48
|
-
|
|
62
|
+
The full 5-phase wizard provides deep stack analysis, researched user personas, and fully adapted agents:
|
|
49
63
|
|
|
50
64
|
| Phase | What happens |
|
|
51
65
|
|-------|-------------|
|
|
@@ -55,17 +69,9 @@ By default, `/specrails:enrich` runs the **full 5-phase wizard** — deep stack
|
|
|
55
69
|
| **4. Generate** | Generates your project data files (`.specrails/`) with project-specific context |
|
|
56
70
|
| **5. Cleanup** | Removes the wizard scaffolding, leaving only your tailored workflow files |
|
|
57
71
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
| Question | What it configures |
|
|
61
|
-
|----------|-------------------|
|
|
62
|
-
| What is this project? | Agent context and CLAUDE.md |
|
|
63
|
-
| Who are the target users? | Persona stubs for product discovery |
|
|
64
|
-
| Git access — read-only or read-write? | Whether agents can commit |
|
|
65
|
-
|
|
66
|
-
Quick mode installs the four core agents (architect, developer, reviewer, product manager), all workflow commands, and local ticket storage. You can run the full wizard later to deepen the configuration.
|
|
72
|
+
Full install adds VPC personas, sr-product-manager, sr-product-analyst, and persona-dependent commands.
|
|
67
73
|
|
|
68
|
-
After either
|
|
74
|
+
After either tier, your `/specrails:*` commands are live.
|
|
69
75
|
|
|
70
76
|
## Your first feature
|
|
71
77
|
|
package/docs/installation.md
CHANGED
|
@@ -226,24 +226,36 @@ After this phase, `/specrails:enrich` is no longer available until re-run — yo
|
|
|
226
226
|
|
|
227
227
|
---
|
|
228
228
|
|
|
229
|
-
### Quick
|
|
229
|
+
### Quick Install (TUI → `tier: quick`)
|
|
230
230
|
|
|
231
|
-
The quick path —
|
|
231
|
+
The quick path — select agents in the TUI, answer two context questions, done in seconds. No AI interaction required.
|
|
232
232
|
|
|
233
|
-
1.
|
|
234
|
-
2.
|
|
235
|
-
3.
|
|
233
|
+
1. Select which agents to install (from 14 available)
|
|
234
|
+
2. Choose a model preset (balanced, budget, or max)
|
|
235
|
+
3. Provide a short product description and target users
|
|
236
236
|
|
|
237
237
|
**What gets installed:**
|
|
238
238
|
|
|
239
239
|
| Item | Detail |
|
|
240
240
|
|------|--------|
|
|
241
|
-
|
|
|
242
|
-
|
|
|
243
|
-
|
|
|
244
|
-
|
|
|
241
|
+
| Selected agents | Placed directly in `.claude/agents/` with template defaults |
|
|
242
|
+
| Workflow commands | `/specrails:implement`, `/specrails:doctor`, and more (18 commands) |
|
|
243
|
+
| Rules & settings | Layer conventions, settings.json, security exemptions |
|
|
244
|
+
| Agent memory | `.claude/agent-memory/<agent>/` directories |
|
|
245
|
+
| Skills | OpenSpec skills in `.claude/skills/` |
|
|
245
246
|
|
|
246
|
-
|
|
247
|
+
**What is NOT installed (requires full enrichment):**
|
|
248
|
+
|
|
249
|
+
| Item | Reason |
|
|
250
|
+
|------|--------|
|
|
251
|
+
| VPC personas | Require competitive research and AI analysis |
|
|
252
|
+
| sr-product-manager | Drives VPC persona creation — needs enrichment |
|
|
253
|
+
| sr-product-analyst | Analyzes personas — needs enrichment |
|
|
254
|
+
| `/specrails:auto-propose-backlog-specs` | Depends on personas |
|
|
255
|
+
| `/specrails:vpc-drift` | Depends on personas |
|
|
256
|
+
| `/specrails:get-backlog-specs` | References personas for prioritization |
|
|
257
|
+
|
|
258
|
+
Agents work immediately with template defaults. Run `/specrails:enrich` later to add personas, competitive analysis, and codebase-specific customization.
|
|
247
259
|
|
|
248
260
|
---
|
|
249
261
|
|
|
@@ -256,7 +268,7 @@ Runs a fully automated installation using `.specrails/install-config.yaml`. No i
|
|
|
256
268
|
```yaml
|
|
257
269
|
version: 1
|
|
258
270
|
provider: claude # claude | codex | auto
|
|
259
|
-
tier: full # full | quick
|
|
271
|
+
tier: full # full (requires /specrails:enrich) | quick (agents placed directly)
|
|
260
272
|
agents:
|
|
261
273
|
selected: # list of agent names to install
|
|
262
274
|
- sr-architect
|
package/install.sh
CHANGED
|
@@ -857,6 +857,140 @@ if [ -d "$SCRIPT_DIR/prompts" ] && [ "$(ls -A "$SCRIPT_DIR/prompts" 2>/dev/null)
|
|
|
857
857
|
ok "Installed prompts"
|
|
858
858
|
fi
|
|
859
859
|
|
|
860
|
+
# ─────────────────────────────────────────────
|
|
861
|
+
# Phase 3c: Quick-tier direct placement
|
|
862
|
+
# ─────────────────────────────────────────────
|
|
863
|
+
# For Quick tier, copy agents/commands/rules/personas/settings from
|
|
864
|
+
# setup-templates directly to their final locations under $SPECRAILS_DIR.
|
|
865
|
+
# Placeholders are stripped (enrich not required).
|
|
866
|
+
|
|
867
|
+
if [[ "$TIER" == "quick" ]]; then
|
|
868
|
+
step "Phase 3c: Placing agents and commands (quick install)"
|
|
869
|
+
|
|
870
|
+
_templates="${REPO_ROOT}/.specrails/setup-templates"
|
|
871
|
+
_project_name="$(basename "$REPO_ROOT")"
|
|
872
|
+
_quick_product_desc=""
|
|
873
|
+
_quick_target_users=""
|
|
874
|
+
|
|
875
|
+
# Read quick_context from install-config.yaml if available
|
|
876
|
+
_qc_file="${CONFIG_PATH:-${REPO_ROOT}/.specrails/install-config.yaml}"
|
|
877
|
+
if [[ -f "$_qc_file" ]]; then
|
|
878
|
+
_quick_product_desc=$(grep '^\s*product_description:' "$_qc_file" 2>/dev/null | head -1 | sed 's/.*product_description:[[:space:]]*//' | sed 's/^"//;s/"$//' || true)
|
|
879
|
+
_quick_target_users=$(grep '^\s*target_users:' "$_qc_file" 2>/dev/null | head -1 | sed 's/.*target_users:[[:space:]]*//' | sed 's/^"//;s/"$//' || true)
|
|
880
|
+
fi
|
|
881
|
+
|
|
882
|
+
# VPC/persona-dependent agents are excluded from Quick tier (require enrichment)
|
|
883
|
+
_quick_excluded_agents="sr-product-manager sr-product-analyst"
|
|
884
|
+
|
|
885
|
+
# --- Agents ---
|
|
886
|
+
if [[ -d "$_templates/agents" ]] && ls "$_templates/agents/"*.md &>/dev/null; then
|
|
887
|
+
mkdir -p "${REPO_ROOT}/${SPECRAILS_DIR}/agents"
|
|
888
|
+
_agent_count=0
|
|
889
|
+
_agent_skipped=0
|
|
890
|
+
for _src in "$_templates/agents/"*.md; do
|
|
891
|
+
[[ -f "$_src" ]] || continue
|
|
892
|
+
_name="$(basename "$_src" .md)"
|
|
893
|
+
|
|
894
|
+
# Skip VPC-dependent agents in Quick tier
|
|
895
|
+
if echo " $_quick_excluded_agents " | grep -q " ${_name} "; then
|
|
896
|
+
(( _agent_skipped++ )) || true
|
|
897
|
+
continue
|
|
898
|
+
fi
|
|
899
|
+
|
|
900
|
+
_dest="${REPO_ROOT}/${SPECRAILS_DIR}/agents/${_name}.md"
|
|
901
|
+
cp "$_src" "$_dest"
|
|
902
|
+
|
|
903
|
+
# Substitute known placeholders
|
|
904
|
+
sed -i.bak \
|
|
905
|
+
-e "s|{{PROJECT_NAME}}|${_project_name}|g" \
|
|
906
|
+
-e "s|{{PROJECT_DESCRIPTION}}|${_quick_product_desc}|g" \
|
|
907
|
+
-e "s|{{TARGET_USERS}}|${_quick_target_users}|g" \
|
|
908
|
+
-e "s|{{MEMORY_PATH}}|.claude/agent-memory/${_name}/|g" \
|
|
909
|
+
-e "s|{{SECURITY_EXEMPTIONS_PATH}}|${SPECRAILS_DIR}/security-exemptions.yaml|g" \
|
|
910
|
+
-e "s|{{PERSONA_DIR}}|${SPECRAILS_DIR}/agents/personas/|g" \
|
|
911
|
+
"$_dest" && rm -f "${_dest}.bak"
|
|
912
|
+
|
|
913
|
+
# Strip remaining {{PLACEHOLDER}} lines (leave blank line)
|
|
914
|
+
sed -i.bak 's/{{[A-Z_]*}}//g' "$_dest" && rm -f "${_dest}.bak"
|
|
915
|
+
|
|
916
|
+
# Create agent memory directory
|
|
917
|
+
mkdir -p "${REPO_ROOT}/.claude/agent-memory/${_name}"
|
|
918
|
+
|
|
919
|
+
(( _agent_count++ )) || true
|
|
920
|
+
done
|
|
921
|
+
if (( _agent_skipped > 0 )); then
|
|
922
|
+
ok "Installed ${_agent_count} agent(s) to ${SPECRAILS_DIR}/agents/ (skipped ${_agent_skipped} VPC-dependent)"
|
|
923
|
+
else
|
|
924
|
+
ok "Installed ${_agent_count} agent(s) to ${SPECRAILS_DIR}/agents/"
|
|
925
|
+
fi
|
|
926
|
+
fi
|
|
927
|
+
|
|
928
|
+
# Persona-dependent commands excluded from Quick tier
|
|
929
|
+
_quick_excluded_cmds="auto-propose-backlog-specs vpc-drift get-backlog-specs"
|
|
930
|
+
|
|
931
|
+
# --- Commands ---
|
|
932
|
+
if [[ -d "$_templates/commands/specrails" ]]; then
|
|
933
|
+
mkdir -p "${REPO_ROOT}/${SPECRAILS_DIR}/commands/specrails"
|
|
934
|
+
_cmd_count=0
|
|
935
|
+
for _src in "$_templates/commands/specrails/"*.md; do
|
|
936
|
+
[[ -f "$_src" ]] || continue
|
|
937
|
+
_cmd_name="$(basename "$_src" .md)"
|
|
938
|
+
|
|
939
|
+
# Skip persona-dependent commands in Quick tier
|
|
940
|
+
if echo " $_quick_excluded_cmds " | grep -q " ${_cmd_name} "; then
|
|
941
|
+
continue
|
|
942
|
+
fi
|
|
943
|
+
|
|
944
|
+
_dest="${REPO_ROOT}/${SPECRAILS_DIR}/commands/specrails/${_cmd_name}.md"
|
|
945
|
+
cp "$_src" "$_dest"
|
|
946
|
+
sed -i.bak \
|
|
947
|
+
-e "s|{{PROJECT_NAME}}|${_project_name}|g" \
|
|
948
|
+
-e "s|{{PROJECT_DESCRIPTION}}|${_quick_product_desc}|g" \
|
|
949
|
+
-e "s|{{TARGET_USERS}}|${_quick_target_users}|g" \
|
|
950
|
+
-e "s|{{MEMORY_PATH}}|.claude/agent-memory/|g" \
|
|
951
|
+
-e "s|{{PERSONA_DIR}}|${SPECRAILS_DIR}/agents/personas/|g" \
|
|
952
|
+
-e "s|{{SECURITY_EXEMPTIONS_PATH}}|${SPECRAILS_DIR}/security-exemptions.yaml|g" \
|
|
953
|
+
"$_dest" && rm -f "${_dest}.bak"
|
|
954
|
+
sed -i.bak 's/{{[A-Z_]*}}//g' "$_dest" && rm -f "${_dest}.bak"
|
|
955
|
+
(( _cmd_count++ )) || true
|
|
956
|
+
done
|
|
957
|
+
ok "Installed ${_cmd_count} command(s) to ${SPECRAILS_DIR}/commands/specrails/"
|
|
958
|
+
fi
|
|
959
|
+
|
|
960
|
+
# --- Rules ---
|
|
961
|
+
if [[ -d "$_templates/rules" ]]; then
|
|
962
|
+
mkdir -p "${REPO_ROOT}/${SPECRAILS_DIR}/rules"
|
|
963
|
+
for _src in "$_templates/rules/"*.md; do
|
|
964
|
+
[[ -f "$_src" ]] || continue
|
|
965
|
+
cp "$_src" "${REPO_ROOT}/${SPECRAILS_DIR}/rules/$(basename "$_src")"
|
|
966
|
+
done
|
|
967
|
+
ok "Installed rules to ${SPECRAILS_DIR}/rules/"
|
|
968
|
+
fi
|
|
969
|
+
|
|
970
|
+
# Personas are NOT installed in Quick tier (require VPC enrichment)
|
|
971
|
+
|
|
972
|
+
# --- Settings ---
|
|
973
|
+
if [[ -f "$_templates/settings/settings.json" && ! -f "${REPO_ROOT}/${SPECRAILS_DIR}/settings.json" ]]; then
|
|
974
|
+
cp "$_templates/settings/settings.json" "${REPO_ROOT}/${SPECRAILS_DIR}/settings.json"
|
|
975
|
+
ok "Installed settings.json"
|
|
976
|
+
fi
|
|
977
|
+
if [[ -f "$_templates/settings/integration-contract.json" ]]; then
|
|
978
|
+
cp "$_templates/settings/integration-contract.json" "${REPO_ROOT}/.specrails/integration-contract.json"
|
|
979
|
+
ok "Installed integration-contract.json"
|
|
980
|
+
fi
|
|
981
|
+
|
|
982
|
+
# --- Skills (OpenSpec) ---
|
|
983
|
+
if [[ -d "$_templates/skills" ]]; then
|
|
984
|
+
mkdir -p "${REPO_ROOT}/${SPECRAILS_DIR}/skills"
|
|
985
|
+
cp -r "$_templates/skills/"* "${REPO_ROOT}/${SPECRAILS_DIR}/skills/" 2>/dev/null || true
|
|
986
|
+
ok "Installed skills to ${SPECRAILS_DIR}/skills/"
|
|
987
|
+
fi
|
|
988
|
+
|
|
989
|
+
if [[ "$HUB_JSON" == true ]]; then
|
|
990
|
+
echo "CHECKPOINT:quick_placement:done:Agents and commands placed"
|
|
991
|
+
fi
|
|
992
|
+
fi
|
|
993
|
+
|
|
860
994
|
# Initialize OpenSpec if available and not already initialized
|
|
861
995
|
if [ "$HAS_OPENSPEC" = true ] && [ ! -d "$REPO_ROOT/openspec" ]; then
|
|
862
996
|
info "Initializing OpenSpec..."
|
|
@@ -891,46 +1025,79 @@ if [[ "$AGENT_TEAMS" == "true" ]]; then
|
|
|
891
1025
|
echo " Agent Teams: installed (/specrails:team-review, /specrails:team-debug)"
|
|
892
1026
|
echo " Feature flag: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 (required)"
|
|
893
1027
|
fi
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
echo "
|
|
899
|
-
|
|
900
|
-
echo " $SPECRAILS_DIR/
|
|
901
|
-
|
|
902
|
-
echo " .specrails/
|
|
903
|
-
echo " .specrails/specrails-
|
|
904
|
-
echo "
|
|
905
|
-
echo ""
|
|
1028
|
+
if [[ "$TIER" == "quick" ]]; then
|
|
1029
|
+
# Quick tier: agents placed directly
|
|
1030
|
+
_installed_agents=$(ls "${REPO_ROOT}/${SPECRAILS_DIR}/agents/"*.md 2>/dev/null | wc -l | tr -d ' ')
|
|
1031
|
+
_installed_commands=$(ls "${REPO_ROOT}/${SPECRAILS_DIR}/commands/specrails/"*.md 2>/dev/null | wc -l | tr -d ' ')
|
|
1032
|
+
echo ""
|
|
1033
|
+
echo " Installed:"
|
|
1034
|
+
echo " ${_installed_agents} agent(s) → ${SPECRAILS_DIR}/agents/"
|
|
1035
|
+
echo " ${_installed_commands} command(s) → ${SPECRAILS_DIR}/commands/specrails/"
|
|
1036
|
+
echo " .specrails/specrails-version"
|
|
1037
|
+
echo " .specrails/specrails-manifest.json"
|
|
1038
|
+
echo ""
|
|
906
1039
|
|
|
907
|
-
echo -e "${BOLD}Prerequisites:${NC}"
|
|
908
|
-
echo ""
|
|
909
|
-
[ "$HAS_NPM" = true ] && ok "npm" || warn "npm (optional)"
|
|
910
|
-
[ "$HAS_OPENSPEC" = true ] && ok "OpenSpec" || warn "OpenSpec (optional)"
|
|
911
|
-
[ "$HAS_GH" = true ] && ok "GitHub CLI" || warn "GitHub CLI (optional, for GitHub Issues backlog)"
|
|
912
|
-
[ "$HAS_JIRA" = true ] && ok "JIRA CLI" || info "JIRA CLI not found (optional, for JIRA backlog)"
|
|
913
|
-
echo ""
|
|
1040
|
+
echo -e "${BOLD}Prerequisites:${NC}"
|
|
1041
|
+
echo ""
|
|
1042
|
+
[ "$HAS_NPM" = true ] && ok "npm" || warn "npm (optional)"
|
|
1043
|
+
[ "$HAS_OPENSPEC" = true ] && ok "OpenSpec" || warn "OpenSpec (optional)"
|
|
1044
|
+
[ "$HAS_GH" = true ] && ok "GitHub CLI" || warn "GitHub CLI (optional, for GitHub Issues backlog)"
|
|
1045
|
+
[ "$HAS_JIRA" = true ] && ok "JIRA CLI" || info "JIRA CLI not found (optional, for JIRA backlog)"
|
|
1046
|
+
echo ""
|
|
914
1047
|
|
|
915
|
-
echo -e "${BOLD}${CYAN}Next steps:${NC}"
|
|
916
|
-
echo ""
|
|
917
|
-
echo " 1. Open $CLI_PROVIDER in this repo:"
|
|
918
|
-
echo ""
|
|
919
|
-
echo -e " ${BOLD}cd $REPO_ROOT && $CLI_PROVIDER${NC}"
|
|
920
|
-
echo ""
|
|
921
|
-
echo " 2.
|
|
922
|
-
echo ""
|
|
923
|
-
|
|
924
|
-
echo
|
|
925
|
-
|
|
926
|
-
echo -e " ${BOLD}/specrails:enrich${NC}"
|
|
927
|
-
fi
|
|
928
|
-
echo ""
|
|
929
|
-
if [[ "$CLI_PROVIDER" == "codex" ]]; then
|
|
930
|
-
echo " Codex will analyze your codebase, ask about your users,"
|
|
1048
|
+
echo -e "${BOLD}${CYAN}Next steps:${NC}"
|
|
1049
|
+
echo ""
|
|
1050
|
+
echo " 1. Open $CLI_PROVIDER in this repo:"
|
|
1051
|
+
echo ""
|
|
1052
|
+
echo -e " ${BOLD}cd $REPO_ROOT && $CLI_PROVIDER${NC}"
|
|
1053
|
+
echo ""
|
|
1054
|
+
echo " 2. Your agents are ready to use! Start working:"
|
|
1055
|
+
echo ""
|
|
1056
|
+
echo " Agents, commands, and rules are pre-configured."
|
|
1057
|
+
echo " No additional setup required."
|
|
1058
|
+
echo ""
|
|
931
1059
|
else
|
|
932
|
-
echo "
|
|
1060
|
+
echo ""
|
|
1061
|
+
echo " Files installed:"
|
|
1062
|
+
if [[ "$CLI_PROVIDER" == "codex" ]]; then
|
|
1063
|
+
echo " .agents/skills/enrich/SKILL.md ← The \$enrich skill"
|
|
1064
|
+
echo " .agents/skills/doctor/SKILL.md ← The \$doctor skill"
|
|
1065
|
+
else
|
|
1066
|
+
echo " $SPECRAILS_DIR/commands/specrails/enrich.md ← The /specrails:enrich command"
|
|
1067
|
+
fi
|
|
1068
|
+
echo " .specrails/setup-templates/ ← Templates: commands + skills (temporary, removed after enrich)"
|
|
1069
|
+
echo " .specrails/specrails-version ← Installed specrails version"
|
|
1070
|
+
echo " .specrails/specrails-manifest.json ← Artifact checksums for update detection"
|
|
1071
|
+
echo ""
|
|
1072
|
+
|
|
1073
|
+
echo -e "${BOLD}Prerequisites:${NC}"
|
|
1074
|
+
echo ""
|
|
1075
|
+
[ "$HAS_NPM" = true ] && ok "npm" || warn "npm (optional)"
|
|
1076
|
+
[ "$HAS_OPENSPEC" = true ] && ok "OpenSpec" || warn "OpenSpec (optional)"
|
|
1077
|
+
[ "$HAS_GH" = true ] && ok "GitHub CLI" || warn "GitHub CLI (optional, for GitHub Issues backlog)"
|
|
1078
|
+
[ "$HAS_JIRA" = true ] && ok "JIRA CLI" || info "JIRA CLI not found (optional, for JIRA backlog)"
|
|
1079
|
+
echo ""
|
|
1080
|
+
|
|
1081
|
+
echo -e "${BOLD}${CYAN}Next steps:${NC}"
|
|
1082
|
+
echo ""
|
|
1083
|
+
echo " 1. Open $CLI_PROVIDER in this repo:"
|
|
1084
|
+
echo ""
|
|
1085
|
+
echo -e " ${BOLD}cd $REPO_ROOT && $CLI_PROVIDER${NC}"
|
|
1086
|
+
echo ""
|
|
1087
|
+
echo " 2. Run the enrich wizard:"
|
|
1088
|
+
echo ""
|
|
1089
|
+
if [[ "$CLI_PROVIDER" == "codex" ]]; then
|
|
1090
|
+
echo -e " ${BOLD}\$enrich${NC}"
|
|
1091
|
+
else
|
|
1092
|
+
echo -e " ${BOLD}/specrails:enrich${NC}"
|
|
1093
|
+
fi
|
|
1094
|
+
echo ""
|
|
1095
|
+
if [[ "$CLI_PROVIDER" == "codex" ]]; then
|
|
1096
|
+
echo " Codex will analyze your codebase, ask about your users,"
|
|
1097
|
+
else
|
|
1098
|
+
echo " Claude will analyze your codebase, ask about your users,"
|
|
1099
|
+
fi
|
|
1100
|
+
echo " research the competitive landscape, and generate all agents,"
|
|
1101
|
+
echo " commands, rules, and personas adapted to your project."
|
|
1102
|
+
echo ""
|
|
933
1103
|
fi
|
|
934
|
-
echo " research the competitive landscape, and generate all agents,"
|
|
935
|
-
echo " commands, rules, and personas adapted to your project."
|
|
936
|
-
echo ""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "specrails-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "AI agent workflow system for Claude Code — installs 12 specialized agents, orchestration commands, and persona-driven product discovery into any repository",
|
|
5
5
|
"bin": {
|
|
6
6
|
"specrails-core": "bin/specrails-core.js"
|