본문으로 건너뛰기

google/skia

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See documentation for contribution instructions.

https://skillcdn.ai/gh/google/skia

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋c333845
  • 라이선스BSD-3-Clause
  • 검색단어

커밋 c333845 기준으로 보여 주고 있습니다

최신 커밋(a418bfb)을 색인하는 중입니다. 준비될 때까지 이 페이지와 모든 에이전트에는 마지막으로 색인된 커밋이 제공됩니다.
GitHub에서 보기

skia-style-check

Checks that changed code on the current git branch matches Skia's style and formatting requirements defined in site/docs/dev/contrib/style.md. Use this skill when verifying, auditing, or reviewing code changes on the active branch for style compliance before committing or submitting. Do not use for compiler errors or build workflows.

경로
_agents/skills/skia-style-check/SKILL.md
라이선스
BSD-3-Clause

Skia Style Check Skill

This skill guides the agent in verifying that code modifications on the current git branch adhere to Skia's coding standards.

Scope: Current Branch Changes Only

  • Target Scope: Evaluate only the lines and files that have been changed on the current branch compared to its tracked upstream branch (@{u}, e.g., origin/main or parent feature branch).
  • Ignore Unchanged Code: Do not review or flag pre-existing style inconsistencies in unchanged code or outside the diff.
  • Obtaining Changes:
    • Determine the tracked upstream branch (falls back to origin/main if not set):
      UPSTREAM=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || \
                 echo "origin/main")
      
    • To view committed changes on the branch against the tracked upstream:
      git diff $(git merge-base "$UPSTREAM" HEAD)..HEAD
      
    • To include any uncommitted / staged working tree changes as well:
      git diff $(git merge-base "$UPSTREAM" HEAD)
      

Style Rules Reference

Always inspect site/docs/dev/contrib/style.md to determine the requirements applicable to the modified files.

Review Workflow

  1. Extract Changed Files and Lines:
    • Determine the tracked upstream branch and its merge base with HEAD.
    • Inspect the diff to identify modified files and line numbers.
  2. Consult Style Guidelines:
    • Read the relevant sections of site/docs/dev/contrib/style.md for the types of changes and languages in the diff.
  3. Verify Compliance:
    • Check all newly added or modified lines against the rules in site/docs/dev/contrib/style.md.
  4. Report Findings:
    • List any violations found in the modified code, including file path, line numbers, description of the issue, and suggested corrections.
    • If no violations are found, report that the changes comply with the current style requirements.

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기