Tencent / Tencent/LoopForge

[Feature]: Provide common terminal CLI commands LF

Open
#19 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
45
Forks
9
Avg merge
1h 21m
Merged PRs (30d)
12

Description

Problem

当前启动 LoopForge 依赖在各宿主(Claude Code / Cursor / Codex / CodeBuddy)聊天框内手动输入 /start-devflow 或 $devflow-codex。缺少直接从命令行终端唤起和运行的统一入口,且现有命令名 loopforge 偏长。

Proposed behavior

短别名:bin 与 project.scripts 提供 lf 软链/别名,等同 loopforge。
终端启动任务:支持 lf run "需求描述" 或 lf "需求描述",自动探测当前环境可用宿主并在终端直接驱动对应 Agent 工作流。
环境检测与桥接:如果未指定宿主,按优先级检测本机的 Claude Code CLI、Codex CLI 等并转发执行

Scope

Installer / CLI

Alternatives considered

仅在用户 shell rc(.zshrc / .bashrc)配 alias lf=loopforge(只解决命令长度,没解决终端唤起 Agent 问题)。
维持现状,只在各 IDE/Agent 内置聊天框内敲斜杠指令

Checks
  • This proposal does not require organization-specific infrastructure or credentials.
  • I searched existing issues and discussions for similar proposals.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the existing bin entry points and project.scripts configuration, then trace the installer and CLI handling for loopforge. Define acceptance checks for lf, lf run "需求描述", and host detection and forwarding across Claude Code CLI and Codex CLI; done means both invocation forms and the stated priority behavior work from a terminal.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.