Skip to content
cccskills
FreePublished on GitHub

cocos-log-reader

DEBUGGING SKILL — Read and analyze Cocos Creator project.log for runtime errors, warnings, and stack traces. USE FOR: any bug report, crash, UI glitch, TypeError, null reference, missing asset, CompositePanel mount fail, ChildPanel route fail, or screen spec wiring error. Load this skill FIRST before any runtime debugging session. DO NOT USE FOR: compile errors (use get_errors tool instead).

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

<!-- 此檔案為 .agents/skills/cocos-log-reader/SKILL.md (doc_agentskill_0003) 的鏡像副本,供 GitHub Copilot 技能載入使用 --> <!-- 主版本位於 c:\Users\User\3KLife\.agents\skills\cocos-log-reader\SKILL.md -->

Cocos Log Reader(鏡像索引)

此技能適用於所有 runtime debug 情境:

  • 使用者回報 crash / TypeError / 畫面異常
  • 使用者貼出錯誤截圖
  • 任何「一團亂」、「行為不對」描述

快速讀法

# 讀最後 150 行
Get-Content "c:\Users\User\3KLife\temp\logs\project.log" -Tail 150 -Encoding UTF8

# 過濾 Error
Get-Content "c:\Users\User\3KLife\temp\logs\project.log" -Tail 400 -Encoding UTF8 |
  Where-Object { $_ -match "error|TypeError|Cannot" } | Select-Object -Last 40

# 過濾 GeneralDetail 相關
Get-Content "c:\Users\User\3KLife\temp\logs\project.log" -Tail 400 -Encoding UTF8 |
  Where-Object { $_ -match "GeneralDetailPanel|GeneralDetailComposite" } | Select-Object -Last 20

完整 SOP

請讀取主技能檔案以取得完整步驟:
.agents/skills/cocos-log-reader/SKILL.md (doc_agentskill_0003)

UCUFLogger 提醒

assets/scripts/ 內禁用裸 console.log,統一使用 UCUFLogger(assets/scripts/ui/core/UCUFLogger.ts)。新增 debug 功能前先確認目標 LogCategory 存在或補 enum;不得自建平行 log 模組。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Deterministic external-evidence web validation workflow for Sanguo ETL/RAG. USE FOR: 外部證據網站檢查、來源健康度、allowlist 驗證、來源 seed 覆蓋、3kweb-check、external evidence source health、fetch/parse/hash first、LLM reviewer second。

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

Use when the user asks to switch AI role/mode/persona or uses role-trigger words such as Captain, Coordinator, 寫文章, 寫文章模式, 文章模式, 技術文章, 部落格, 出版, 預覽. Routes the request to Project Captain, Publishing Director, or Article Writing Mode, loads the matching keep memory when available, and applies the role's workflow without excessive roleplay.

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

Write or revise AI-learning-notes article pages in "寫文章模式" when the user asks for articles, technical articles, blog posts, bilingual versions, article formatting consistency, shared article-base alignment, responsive layout, summary/TOC decisions, contrast, or publishing-flow compatibility.

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

Plan ATM framework refactors by preserving atom/map semantics before splitting large governance modules.

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

Captain 派工規範與決策手冊。當 AI 進入隊長模式或進行派工/派任務語境時,遵照這套標準,產出可供人類直接轉貼、高度結構化、符合 token 經濟且能動態適應可用 Roster 的派工單。

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

Create and register an atom through the provisioning facade.

The English summary is being prepared. Showing the original description.

eaglhuang/3klife3Updated Oct 22, 2026

See all skills by eaglhuang

Report a problem with this skill