Skip to content

Generate profile README from public repos and design tokens - #1

Merged
BitByte08 merged 3 commits into
mainfrom
profile-generator
Nov 17, 2026
Merged

BitByte08 merged 3 commits into
mainfrom
profile-generator

Conversation

@BitByte08

Copy link
Copy Markdown
Member

개요

profile/README.md 를 손으로 고치는 대신 src/profile 의 TypeScript 생성기가 만들도록 바꿉니다. 프로젝트 표는 조직의 공개 레포 목록에서, 배지 색은 @team-carol/design-system 토큰에서 옵니다.

변경 사항

  • src/profile/ 생성기 추가 — content.ts(사람이 고치는 글·설명·스택·순서), github.ts(공개 레포 조회), render.ts(마크다운 조립), build.ts(진입점, --check 지원)
  • 프로젝트 표에 빠져 있던 carol-keyring, carol-design-system, carol-ops 추가. 비공개·보관·포크 레포는 제외
  • STACK 을 shields 배지(이미지)에서 텍스트 표로 변경, Go · C++ · 펌웨어 항목 추가 — 정보는 전부 글자로 나갑니다
  • 배지 색을 하드코딩 #9333EA 에서 디자인 시스템 토큰으로 변경 (현재 accent 는 코랄 #ff9294)
  • 레포에 홈페이지가 있으면 표에 "사이트" 링크 표시
  • profile 워크플로 추가 — PR 에서는 타입 검사와 최신 여부 확인, main 푸시 · 매일 06:17 KST · 수동 실행 때는 재생성 후 달라졌을 때만 커밋
  • 루트 README.md 의 구조 · 편집 방법 안내 갱신

확인이 필요한 것

  • carol-keyring, carol-ops 설명은 두 레포에 README 가 없어 파일 구조를 보고 쓴 것입니다. 특히 carol-ops 의 "Docker 컨테이너 상태 확인과 설정 값 편집" 은 추정이니 src/profile/content.ts 에서 확인해 주세요.
  • 워크플로는 재생성 결과를 봇이 main 에 직접 푸시합니다. main 에 브랜치 보호가 있으면 이 단계가 막힙니다.

확인

  • 로컬에서 npm run typecheck, npm run build, npm run check 통과
  • profile 워크플로는 이 PR 에서 처음 실행됩니다
  • 관련 문서(루트 README.md) 업데이트

🤖 Generated with Claude Code

BitByte08 and others added 3 commits November 17, 2026 10:31
profile/README.md is now built by src/profile (TypeScript, run directly
by Node 22.18+). The project table comes from the org's public repos via
the GitHub API, with descriptions, stacks and order overridden in
src/profile/content.ts. Badge colors come from @team-carol/design-system
tokens instead of a hardcoded purple.

All information is emitted as text: the STACK badges became a table, and
carol-keyring, carol-design-system and carol-ops are now listed.

The profile workflow checks freshness on PRs and regenerates on push to
main, daily, and on manual dispatch.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@BitByte08
BitByte08 merged commit bde1456 into main Nov 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant