Logo Project Context

Project Context

Tổ chức
upex-galaxy
project-context

Generate or refresh the business context maps (the HTML maps inside business-data-context, business-api-context and business-e2e-context) and the master test plan. Use for business-data-map, business-api-map, business-e2e-map, business-feature-map, user journeys map, master-test-plan, refresh project context, refresh all context, entity map, feature inventory, API business map, or risk-ranked test roadmap. Also scaffolds a project-owned <aspect>-context skill for any other aspect (context-skill mode), and builds the coverage inventory (coverage mode: coverage gaps, gap list, weak tests, what is not tested, behaviours vs tests). Routes exactly one mode at a time unless refresh-all is explicit. UPDATE regenerates only stale sections and always shows a diff and waits for approval before writing.

Tổng quan

Nhà phát hànhupex-galaxy
Kho mãagentic-qa-boilerplate
Tên kỹ năngproject-context
Sao
26
Bản fork
13
Tệp đi kèm
6
Giấy phépMIT
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ộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được upex-galaxy 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 Project Context 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/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/project-context
  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/upex-galaxy/agentic-qa-boilerplate.git /tmp/agentic-qa-boilerplate
mkdir -p .claude/skills
cp -r /tmp/agentic-qa-boilerplate/.agents/skills/project-context .claude/skills/project-context
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 Project Context 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 Project Context 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 Project Context 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.

Project Context

Own the regenerative project-context artifacts without duplicating their workflows across harness commands. The business maps live inside their context skills as HTML (agentic-qa-core/references/business-context-maps.md); this skill generates them and updates their stale sections.

Compact Rules

  • Exactly ONE mode per run: data · e2e (synonym features) · api · test-plan · refresh-all · context-skill · coverage. Load only that mode's reference; never open a second one in the same pass.
  • context-skill scaffolds a project-owned <aspect>-context for an aspect the shipped context map skills (CONTEXT_MAP_SKILLS) do not cover (../agentic-qa-core/references/skill-scaffold.md §3): it cites its sources and never copies them. refresh-all never includes it. Its router row goes in the ## Project context skills table of .agents/instructions/agent-project.md, its trigger phrases in that file's triggers:; NEVER in agent-skills-and-mcps.md, which bun sync overwrites.
  • coverage reads the maps, the KATA manifest and the TMS and buckets every behaviour (automated · manual-only · weak · uncovered); refresh-all never includes it. It writes only <<PRIMARY_ROOT>>/.session/project-context/coverage/ (companion files: this skill opts out of the session Phase 0) and never edits a test or a map. The weak verdict and the risk level are agent judgments with one evidence line per row; the buckets, order and diff are bun run context:coverage classify. Coverage Tech Stories are created only after a person approves the gap list, picked by weight (mkd deck for per-item choices, the question tool for one yes/no).
  • Mode → reference → output: see the Mode routing table. A map mode writes ONLY its own skill's references/<map>.html; the legacy markdown files a project may hold (the skill's legacy list in CONTEXT_MAP_SKILLS, cli/lib/context-maps.ts) are read as input and never deleted. Domain vocabulary and architecture come from the maps project-discovery generates: bun run context:map business-domain-context and bun run context:map infra-context, never a .context/ file. test-plan → references/test-plan.md → the ## Master Test Plan section of the QA Master Test Plan Epic description in Jira (cached by the sync at .context/PBI/qa-artifacts/master-test-plan.md; never a local file).
  • User did not name a mode → ASK. NEVER infer refresh-all from a generic "refresh the context" request.
  • refresh-all runs strictly data → e2e → api → test-plan, one at a time. Each reference's own validation and approval gate must close before the next is loaded. Never skip ahead.
  • Artifact missing (or a placeholder map) = CREATE mode: may write once the analysis completes. Artifact exists = UPDATE mode: generate a candidate (for a map: only its stale sections), show the diff summary, WAIT for explicit approval. NEVER overwrite an existing artifact without that approval, and NEVER regenerate a whole generated map.
  • Stop the run on a hard dependency failure or a rejected overwrite. A missing SOFT dependency is not a stop: record it as a Discovery Gap and continue, exactly as the selected reference defines.
  • NEVER invent business facts. Read every source the selected reference requires; anything unverified belongs under the output's mandatory discovery-gaps section, not asserted in the body.
  • After a successful artifact write, add the pointer to .agents/instructions/agent-project.md ONLY when that pointer is missing. NEVER write it into AGENTS.md (boilerplate-owned, size-budgeted) or add operational prose to CLAUDE.md. Placement per framework-development/references/instructions-doctrine.md §4, then bun run instructions:check; any other instruction change is /framework-development mode instructions.
  • Mode from $ARGUMENTS: when its first token matches a mode in the Mode routing table, that token IS the mode and the rest is forwarded to it unchanged (/project-context data on Claude Code, "project-context mode data" in prose on OpenCode and Codex, /skill:project-context data on Pi). No matching first token → ASK which mode.
  • Before any step that uses a declared capability (metadata.requires_capabilities: db, api-schema, diagrams for the maps' figures), run the point-of-use check in agentic-qa-core/references/preflight-gate.md §8: resolve by tool-name suffix, and when no available tool provides it STOP and name the capability + how to enable it, never a silent fallback.

Read full SKILL.md when: the requested mode is ambiguous, a refresh-all chain fails mid-sequence, or you need the selected reference's own analysis steps and validation gate.

Mode routing

Resolve one mode from the invocation: the first token of $ARGUMENTS when it names a mode below (or features, the synonym of e2e), otherwise ask. Load only the reference named in that row. The former business-*-map and master-test-plan command names survive as trigger phrases only.

ModeTrigger phrasesReferenceOutput
databusiness-data-map, entity/data mapreferences/data.md.agents/skills/business-data-context/references/business-data-map.html
e2ebusiness-e2e-map, business-feature-map, features, user journeys, feature inventoryreferences/e2e.md.agents/skills/business-e2e-context/references/business-e2e-map.html
apibusiness-api-map, API business mapreferences/api.md.agents/skills/business-api-context/references/business-api-map.html
test-planmaster-test-plan, risk-ranked test roadmapreferences/test-plan.mdMTP Epic description in Jira (cache: .context/PBI/qa-artifacts/master-test-plan.md)
refresh-allrefresh all project contextall four references, one at a timeall four outputs
context-skillcontext skill, scaffold <aspect>-context for another aspectreferences/context-skill.md.agents/skills/<aspect>-context/ (project-owned, never shipped upstream)
coveragecoverage inventory, coverage gaps, gap list, weak tests, what is not tested, behaviours vs testsreferences/coverage.md<<PRIMARY_ROOT>>/.session/project-context/coverage/gap-list.{json,md}; coverage Tech Stories in Jira only after approval

If the user does not identify a mode, ask which artifact to refresh. Do not infer refresh-all from a generic request.

refresh-all dependency order

Run sequentially and complete each reference's own validation and approval gate before loading the next:

  1. data
  2. e2e
  3. api
  4. test-plan

Stop on a hard dependency failure or rejected overwrite. Do not skip ahead. Missing soft dependencies remain Discovery Gaps exactly as each reference defines.

Shared contract

  • Read every available source required by the selected reference. Never invent business facts.
  • CREATE mode may write the missing artifact after analysis.
  • UPDATE mode must generate a candidate, show the diff summary, and wait for explicit approval before overwriting. In coverage the gap list is a recomputed session file, not an artifact: the approval gate applies to the tracker write it proposes.
  • Each output includes ## Discovery Gaps for unverified facts.
  • After a successful artifact write, update the context pointers in .agents/instructions/agent-project.md (the project-owned overlay) only when a pointer is missing. AGENTS.md is boilerplate-owned and size-budgeted, so it never receives them. Never add operational prose to CLAUDE.md.
  • A map mode writes into a business context skill that already exists (delivered by bun sync, never scaffolded here). After it writes, the mode reviews that skill's ## Rules and gotchas against the new map and PROPOSES any change; it never rewrites a rule.
  • $ARGUMENTS minus the mode token are forwarded unchanged to the selected mode.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

Kỹ năng AI Project Context làm được gì?

Generate or refresh the business context maps (the HTML maps inside business-data-context, business-api-context and business-e2e-context) and the master test plan. Use for business-data-map, business-api-map, business-e2e-map, business-feature-map, user journeys map, master-test-plan, refresh project context, refresh all context, entity map, feature inventory, API business map, or risk-ranked test roadmap. Also scaffolds a project-owned <aspect>-context skill for any other aspect (context-skill mode), and builds the coverage inventory (coverage mode: coverage gaps, gap list, weak tests, wha...

Vì sao nên dùng Project Context 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. Project Context 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 Project Context trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/upex-galaxy/agentic-qa-boilerplate/tree/main/.agents/skills/project-context. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm 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 Project Context?

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 Project Context 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 Project Context 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 Project Context có miễn phí không?

Có. Kỹ năng này được upex-galaxy phát hành trên GitHub theo giấy phép MIT. 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 👇