Logo Codely Plan Phase Implement Gitlab

Codely Plan Phase Implement Gitlab

Tổ chức
CodelyTV
codely-plan-phase-implement-gitlab

Implement one phase of a plan stored as GitLab issues in the repository of the current working directory. Given the URL of a phase (child) issue it implements that phase; given the parent plan issue it finds and implements the current phase. Only implements a single phase per invocation, then stops for user review. It opens a merge request that references the phase issue and keeps the plan issues reconciled, closing them explicitly when the instance does not auto-close on merge. Never merges the merge request.

Tổng quan

Nhà phát hànhCodelyTV
Kho mãagent-harness
Tên kỹ năngcodely-plan-phase-implement-gitlab
Sao
296
Bản fork
14
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được CodelyTV công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Codely Plan Phase Implement Gitlab trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/CodelyTV/agent-harness/tree/main/.agents/skills/codely-plan-phase-implement-gitlab
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CodelyTV/agent-harness.git /tmp/agent-harness
mkdir -p .claude/skills
cp -r /tmp/agent-harness/.agents/skills/codely-plan-phase-implement-gitlab .claude/skills/codely-plan-phase-implement-gitlab
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Codely Plan Phase Implement Gitlab trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Codely Plan Phase Implement Gitlab ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Codely Plan Phase Implement Gitlab không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

🫡 Implement a plan phase

[!CRITICAL] Implement ONLY ONE phase per invocation. After completing the current phase, STOP and wait for the user to review the changes. Never proceed to the next phase without explicit user approval.

[!CRITICAL] Never merge the merge request. This skill may create a feature branch, commit, push and open a merge request, but the user decides when to merge. Merging is what closes the phase issue (and this skill closes it explicitly when the instance has automatic issue closing disabled).

🎯 Input

This skill is invoked as /codely-plan-phase-implement-gitlab <gitlab-issue-url>. The URL can point to either:

  • A phase (child) issue: implement that phase.
  • The parent plan issue: find the current phase and implement it (see below).

GitLab issue URLs look like https://gitlab.com/<namespace>/<project>/-/issues/<iid>.

If no URL is provided, ask the user for it before doing anything else.

🗂️ Repository

The plan and its phases live as GitLab issues in the repository of the current working directory, and the merge requests are opened there too. Never hardcode a repository: let glab resolve it from the local Git remote.

bash
glab issue view <iid>
git checkout -b <iid>-<phase-kebab-name>
glab mr create --title "..." --description "..." --source-branch "..." --yes
glab mr list --merged --output json
glab issue close <iid>

Confirm the repository glab resolves with glab repo view, and check that the provided URL belongs to it. If it does not, stop and ask the user to run the skill from the clone of that repository: the phase branch must be created in the same repository you are implementing the task in.

[!IMPORTANT] Some GitLab instances (notably self-hosted ones using work items) have automatic issue closing disabled. There, Closes #<iid> in the merge request description renders as a plain reference: the merge request closes_issues list stays empty and the referenced issues remain open after merging. Keep including the closing keyword (it still works where auto-close is enabled), but never rely on it: the skill reconciles the issues explicitly (see the steps below).

🔍 Determining the current phase

  1. glab issue view <iid> to read the given issue.
  2. If the issue is a phase (child) issue (it has a Part of #<parent> reference and a to-do checklist), that is the phase to implement.
  3. If the issue is the parent plan issue (it has a Phases checklist linking child issues), the current phase is the first child issue in that checklist that is still open. Read that child issue and implement it.
  4. If all child issues are already closed, inform the user that all phases are complete and do not implement anything.

🪜 Steps to implement a plan phase

  1. Resolve the phase issue to implement using the rule above.

  2. Reconcile stale phases (covers instances with automatic issue closing disabled). Before implementing, check whether any child issue in the parent Phases checklist is still open although its merge request is already merged, and close it explicitly:

    bash
    glab mr list --merged --output json   # match each child by a source branch starting with `<child-iid>-`
    glab issue close <stale-child-iid>

    While doing this, also check the corresponding items in the parent Phases checklist (- [x] #<child>) if they are still unchecked.

  3. Create and check out the phase branch for that phase issue. GitLab has no glab issue develop equivalent: create the branch manually with a name that starts with the phase issue number so GitLab links the branch and the merge request to the issue:

    bash
    git checkout -b <phase-issue-number>-<phase-kebab-name>
  4. Implement the to-do actions of that phase only. Do NOT implement any other phase.

  5. Update the phase issue body checking the to-do items you completed (- [x] ...) with glab issue update <phase-issue-number> --description ....

  6. Verify the changes (typechecking, linting and tests) and fix any issue before continuing.

  7. STOP. Present the changes to the user and suggest 3 alternative commit / merge request titles following Conventional Commits (e.g. feat:, fix:, refactor:, test:, docs:). Use different plausible types across the 3 alternatives. Make it simple to reply something like "open the MR with title 1".

  8. When the user picks a title, commit, push the branch and open a merge request that references the phase issue so merging it closes the issue automatically:

    bash
    glab mr create \
      --title "<chosen title>" \
      --description "Closes #<phase-issue-number>" \
      --source-branch "<phase-branch>" \
      --yes
    • If this is the last phase of the plan (no other open child issue remains after this one), also close the parent in the same merge request description:

      Closes #<phase-issue-number>
      Closes #<parent-issue-number>
    • Check the phase item in the parent plan issue. GitLab does NOT auto-check task list items when the referenced issue closes, so edit the parent body with glab issue update <parent-issue-number> --description ... turning - [ ] #<phase-issue-number> into - [x] #<phase-issue-number>.

    • Do NOT merge the merge request. Tell the user to merge it. Ask them to confirm the merge (or let them know the next invocation will reconcile it). When the merge is confirmed, check whether the instance auto-closed the phase issue; if it is still open, close it explicitly with glab issue close <phase-issue-number>. On the last phase, do the same for the parent plan issue. If the user has not confirmed the merge yet, stop here: the reconciliation will run at the start of the next invocation (step 2).

  9. If this is the implementation of the last phase of the plan, suggest the user to export the conversation (using their IDE) and attach it as a comment on the parent plan issue (glab issue note <parent-issue-number> --message ...).

🔄 How to update the issues

  • Check the checkboxes of the current phase to-do list that have been completed in the child issue.
  • Update the Next step section of the parent issue with the next phase to be completed.
  • Check the corresponding phase item in the parent Phases checklist when the phase merge request is opened (GitLab does not do it automatically).
  • Replace the parent issue last sentence regarding Codely adding a new random emoji that explains a story together with the previous ones. For instance, if the previous last sentence was "Plan powered by Codely 🐢 💨", the new last sentence could be "Bugs squashed thanks to Codely AI tooling. 🐛 < 🐢 💨".

🔗 Parent / children relationship

  • Each phase merge request closes its own child issue on merge (Closes #<child> in the description). On instances with automatic issue closing disabled, the skill closes the child explicitly once the merge request is confirmed as merged (or reconciles it at the start of the next invocation).
  • The parent plan issue tracks its children through its Phases checklist; GitLab does not check each item automatically, so the skill updates it manually as the corresponding merge request is opened.
  • The last phase merge request also closes the parent (explicitly, when auto-close is disabled), so completing the final phase closes the whole plan.

☝️ General considerations

🧠 Logical reasoning

  • Use AGENTS.md file as a reference while:
    • Proposing application services, domain events, tests, etc.
    • Following code conventions and architecture decisions (all inside the docs/ directory).
    • Determining the test suites and tests cases to be created/modified/deleted.
  • Use available agent tools while offering different alternatives for the user to choose from:
    • AskQuestion tool if you are Cursor and have this tool available (only available in certain models such as Opus 4.5, not in others such as Composer 1).
    • AskUserQuestion tool if you are Claude Code.

Câu hỏi thường gặp

Kỹ năng AI Codely Plan Phase Implement Gitlab làm được gì?

Implement one phase of a plan stored as GitLab issues in the repository of the current working directory. Given the URL of a phase (child) issue it implements that phase; given the parent plan issue it finds and implements the current phase. Only implements a single phase per invocation, then stops for user review. It opens a merge request that references the phase issue and keeps the plan issues reconciled, closing them explicitly when the instance does not auto-close on merge. Never merges the merge request.

Vì sao nên dùng Codely Plan Phase Implement Gitlab trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Codely Plan Phase Implement Gitlab là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Codely Plan Phase Implement Gitlab trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/CodelyTV/agent-harness/tree/main/.agents/skills/codely-plan-phase-implement-gitlab. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Codely Plan Phase Implement Gitlab?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Codely Plan Phase Implement Gitlab với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Codely Plan Phase Implement Gitlab với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Codely Plan Phase Implement Gitlab có miễn phí không?

Kỹ năng này được CodelyTV phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇