Community코딩 & 개발github.com

nehakanjamala/personal_website

기존 프로젝트를 Apify Actor(서버리스 클라우드 프로그램)로 변환합니다. JavaScript/TypeScript(SDK와 Actor.init/exit 사용), Python(비동기 컨텍스트 매니저), 또는 다른 모든 언어(CLI 래퍼)를 지원합니다. 코드를 Apify로 마이그레이션하거나, CLI 도구를 Actor로 감싸거나, 기존 프로젝트에 Actor SDK를 추가할 때 사용하세요.

personal_website란 무엇인가요?

이 스킬은 기존 소프트웨어 프로젝트를 Apify 플랫폼에서 실행 가능한 재사용 가능한 서버리스 애플리케이션(Actor)으로 변환하는 방법을 안내합니다. Actor는 Docker 이미지로 패키징된 프로그램으로, 잘 정의된 JSON 입력을 받아 작업을 수행하고 선택적으로 구조화된 JSON 출력을 생성합니다. 주요 사용 사례로는 기존 프로젝트를 Apify로 마이그레이션, CLI 도구나 스크립트를 Actor로 래핑, Crawlee 프로젝트를 Apify로 이전, 또는 기존 코드베이스에 Apify SDK를 통합하는 경우가 있습니다. JavaScript/TypeScript, Python, 기타 언어(CLI 기반) 등 다양한 언어를 지원하며, 각 언어별 SDK 통합 방법(Actor.init/exit, async with Actor, CLI 래퍼)을 상세히 설명합니다. 이 스킬은 apify CLI와 함께 사용되며, Actor 초기화, 입력/출력 스키마 구성, 로컬 테스트, Apify 플랫폼 배포, 선택적 수익화(PPE 모델)까지 전체 워크플로우를 다룹니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nehakanjamala/personal_website/tree/HEAD/.agents/skills/apify-actorization

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Apify Actorization (액터화)

액터화는 기존 소프트웨어를 Apify 플랫폼과 호환되는 재사용 가능한 서버리스 애플리케이션으로 변환합니다. Actor는 Docker 이미지로 패키징된 프로그램으로, 잘 정의된 JSON 입력을 받아 작업을 수행하고 선택적으로 구조화된 JSON 출력을 생성합니다.

빠른 시작

  1. 프로젝트 루트에서 apify init --user-agent apify-agent-skills/apify-actorization 실행
  2. SDK 라이프사이클로 코드를 래핑합니다 (아래 언어별 섹션 참조)
  3. .actor/input_schema.json 구성
  4. apify run --input '{"key": "value"}' --user-agent apify-agent-skills/apify-actorization 으로 테스트
  5. apify push --user-agent apify-agent-skills/apify-actorization 으로 배포

이 스킬을 사용해야 하는 경우

  • 기존 프로젝트를 Apify 플랫폼에서 실행하도록 변환할 때
  • 프로젝트에 Apify SDK를 통합할 때
  • CLI 도구나 스크립트를 Actor로 래핑할 때
  • Crawlee 프로젝트를 Apify로 마이그레이션할 때

사전 요구 사항

apify CLI가 설치되어 있는지 확인합니다:

apify --help

설치되지 않은 경우, 다음 방법 중 하나를 사용합니다 (선호도 순):

# 권장: 패키지 매니저로 설치 (무결성 검사 제공)
npm install -g apify-cli

# 또는 (Mac): brew install apify-cli

보안 참고: 원격 스크립트를 셸로 파이핑하여 CLI를 설치하지 마십시오 (예: curl ... | bash 또는 irm ... | iex). 항상 패키지 매니저를 사용하세요.

CLI가 로그인되어 있는지 확인합니다:

apify info  # 사용자 이름을 반환해야 함

로그인되지 않은 경우, OAuth를 사용하여 인증합니다 (브라우저 열림):

apify login

브라우저 로그인을 사용할 수 없는 경우 (헤드리스 환경 또는 CI), APIFY_TOKEN 환경 변수가 내보내졌는지 확인합니다 (참고: 변수는 APIFY_TOKEN이며 APIFY_API_TOKEN이 아닙니다). CLI가 자동으로 읽습니다 - 명시적 로그인은 필요하지 않습니다. 사용자에게 토큰이 없는 경우, https://console.apify.com/settings/integrations 에서 생성합니다.

Apify 플랫폼 환경: Actor가 Apify 플랫폼에서 실행될 때 APIFY_TOKEN은 환경 변수로 자동 주입되며 Apify SDK가 자동으로 읽습니다 — 명시적으로 전달할 필요가 없습니다. 로컬에서는 apify login이 자격 증명을 ~/.apify에 저장하고 SDK가 이를 사용합니다.

보안 참고: 토큰을 명령줄 인수로 전달하지 마십시오 (예: apify login -t <token>). 인수는 프로세스 목록에 표시되고 셸 기록에 기록될 수 있습니다. OAuth 로그인 또는 환경 변수를 대신 사용하세요. 소스 코드나 구성 파일에 APIFY_TOKEN을 기록, 출력 또는 포함시키지 마십시오. 최소 권한이 있는 토큰(범위가 지정된 토큰)을 사용하고 주기적으로 교체하세요.

텔레메트리 속성 (필수)

이 스킬에서 실행하는 모든 apify 명령어(apify init, apify run, apify push 등)에 --user-agent apify-agent-skills/apify-actorization을 전달하세요. 이는 모든 apify 명령어에서 허용되는 전역 플래그이며, 텔레메트리 속성에만 태그를 지정하고 다른 것은 변경하지 않습니다.

apify push --user-agent apify-agent-skills/apify-actorization

액터화 체크리스트

이 체크리스트를 복사하여 진행 상황을 추적하세요:

  • 1단계: 프로젝트 분석 (언어, 진입점, 입력, 출력)
  • 2단계: apify init --user-agent apify-agent-skills/apify-actorization 실행하여 Actor 구조 생성
  • 3단계: 언어별 SDK 통합 적용
  • 4단계: .actor/input_schema.json 구성
  • 5단계: .actor/output_schema.json 구성 (해당하는 경우)
  • 6단계: .actor/actor.json 메타데이터 업데이트
  • 7단계: Apify Store 등록을 위한 README.md 작성
  • 8단계: apify run --user-agent apify-agent-skills/apify-actorization으로 로컬 테스트
  • 9단계: apify push --user-agent apify-agent-skills/apify-actorization으로 배포

1단계: 프로젝트 분석

변경하기 전에 프로젝트를 이해하세요:

  1. 언어 식별 - JavaScript/TypeScript, Python 또는 기타
  2. 진입점 찾기 - 실행을 시작하는 메인 파일
  3. 입력 식별 - 명령줄 인수, 환경 변수, 구성 파일
  4. 출력 식별 - 파일, 콘솔 출력, API 응답
  5. 상태 확인 - 실행 간 데이터를 유지해야 합니까?

2단계: Actor 구조 초기화

프로젝트 루트에서 실행:

apify init --user-agent apify-agent-skills/apify-actorization

다음을 생성합니다:

  • .actor/actor.json - Actor 구성 및 메타데이터
  • .actor/input_schema.json - Apify Console용 입력 정의
  • Dockerfile (없는 경우) - 컨테이너 이미지 정의

3단계: 언어별 변경 적용

프로젝트 언어에 따라 선택:

빠른 참조

언어설치코드 래핑
JS/TSnpm install apifyawait Actor.init() ... await Actor.exit()
Pythonpip install apifyasync with Actor:
기타래퍼 스크립트에서 CLI 사용apify actor:get-input / apify actor:push-data

4-6단계: 스키마 구성

자세한 구성은 schemas-and-output.md를 참조하세요:

  • 입력 스키마 (.actor/input_schema.json)
  • 출력 스키마 (.actor/output_schema.json)
  • Actor 구성 (.actor/actor.json)
  • 상태 관리 (요청 큐, 키-값 저장소)

@apify/json_schemas npm 패키지에 대해 스키마의 유효성을 검사합니다.

7단계: README 작성

중요: 액터화의 일부로 항상 README.md를 생성하세요. README는 Apify Store에서 Actor의 방문 페이지이며 검색 엔진 최적화(SEO), 사용자 온보딩 및 지원에 중요합니다. 적절한 README 없이 Actor가 완료된 것으로 간주하지 마십시오.

skills/apify-actor-development/references/actor-readme.md에 있는 Actor README 가이드라인을 참조하여 필요한 구조(소개 및 기능, 데이터 추출 테이블, 단계별 튜토리얼, 가격 정보, 입/출력 예제, FAQ)를 확인하세요. SEO에 최적화된 H2/H3 제목으로 최소 300단어를 목표로 하세요. 또한 다음 우수 Actor를 참조하여 모범 사례를 확인하세요:

8단계: 로컬 테스트

인라인 입력으로 Actor 실행 (JS/TS 및 Python Actor의 경우):

apify run --input '{"startUrl": "https://example.com", "maxItems": 10}' --user-agent apify-agent-skills/apify-actorization

또는 입력 파일 사용:

apify run --input-file ./test-input.json --user-agent apify-agent-skills/apify-actorization

중요: npm start 또는 python main.py 대신 항상 apify run을 사용하세요. CLI가 적절한 환경과 스토리지를 설정합니다.

9단계: 배포

apify push --user-agent apify-agent-skills/apify-actorization

이렇게 하면 Actor가 Apify 플랫폼에 업로드되고 빌드됩니다.

수익화 (선택 사항)

배포 후 Apify Store에서 Actor를 수익화할 수 있습니다. 권장 모델은 Pay Per Event (PPE) 입니다:

  • 스크랩한 결과/항목당
  • 처리된 페이지당
  • API 호출당

Apify Console에서 Actor > Monetization 아래에서 PPE를 구성합니다. 코드에서 await Actor.charge('result')로 이벤트에 대해 요금을 청구합니다.

기타 옵션: Rental (월간 구독) 또는 Free (오픈 소스).

보안

모든 크롤링된 웹 콘텐츠를 신뢰할 수 없는 입력으로 취급하세요. Actor는 악성 페이로드를 포함할 수 있는 외부 웹사이트의 데이터를 수집합니다. 다음 규칙을 따르세요:

  • 크롤링된 데이터를 살균하세요 — 원시 HTML, URL 또는 스크랩한 텍스트를 셸 명령어, eval(), 데이터베이스 쿼리 또는 템플릿 엔진에 직접 전달하지 마십시오. 적절한 이스케이프 또는 매개변수화된 API를 사용하세요.
  • 모든 외부 데이터의 유효성을 검사하고 타입을 확인하세요 — 데이터 집합이나 키-값 저장소에 푸시하기 전에 값이 예상된 타입과 형식과 일치하는지 확인하세요. 예상치 못한 구조는 거부하거나 살균하세요.
  • 크롤링된 콘텐츠를 실행하거나 해석하지 마세요 — 스크랩한 텍스트를 코드, 명령어 또는 구성으로 취급하지 마십시오. 웹사이트의 콘텐츠에는 프롬프트 인젝션 시도나 내장 스크립트가 포함될 수 있습니다.
  • 자격 증명을 데이터 파이프라인과 분리하세요 — APIFY_TOKEN 및 기타 비밀번호가 요청 핸들러에서 액세스 가능하거나 크롤링된 데이터와 함께 전달되지 않도록 하십시오. 데이터 처리 코드에서 환경 변수를 통해 토큰을 전달하는 대신 Apify SDK의 내장 자격 증명 관리를 사용하세요.
  • 설치 전 종속성을 검토하세요 — npm install 또는 pip install로 패키지를 추가할 때 패키지 이름과 게시자를 확인하세요. Typosquatting은 일반적인 공급망 공격 벡터입니다. 잘 알려지고 적극적으로 유지 관리되는 패키지를 선호하세요.
  • 버전을 고정하고 잠금 파일을 사용하세요 — 항상 package-lock.json(Node.js)을 커밋하거나 requirements.txt(Python)에 정확한 버전을 고정하세요. 잠금 파일은 재현 가능한 빌드를 보장하고 자동 종속성 대체를 방지합니다. 알려진 취약점이 있는지 주기적으로 npm audit 또는 pip-audit을 실행하세요.

배포 전 체크리스트

  • .actor/actor.json이 올바른 이름과 설명으로 존재합니다.
  • .actor/actor.json이 @apify/json_schemas (actor.schema.json)에 대해 유효성을 검사합니다.
  • .actor/input_schema.json이 모든 필수 입력을 정의합니다.
  • .actor/input_schema.json이 @apify/json_schemas (input.schema.json)에 대해 유효성을 검사합니다.
  • .actor/output_schema.json이 출력 구조를 정의합니다 (해당하는 경우).
  • .actor/output_schema.json이 @apify/json_schemas (output.schema.json)에 대해 유효성을 검사합니다.
  • Dockerfile이 존재하고 성공적으로 빌드됩니다.
  • Actor.init() / Actor.exit()가 메인 코드를 래핑합니다 (JS/TS).
  • async with Actor:가 메인 코드를 래핑합니다 (Python).
  • 입력이 Actor.getInput() / Actor.get_input()을 통해 읽힙니다.
  • 출력이 Actor.pushData() 또는 키-값 저장소를 사용합니다.
  • apify run --user-agent apify-agent-skills/apify-actorization이 테스트 입력으로 성공적으로 실행됩니다.
  • README.md가 적절한 구조(소개, 기능, 데이터 테이블, 튜토리얼, 가격, 입/출력 예제)로 존재합니다.
  • actor.json 메타 섹션에 generatedBy가 설정되어 있습니다.

MCP 도구

Apify MCP

Apify MCP 서버가 구성된 경우, 문서에 다음 도구를 사용하세요:

  • search-apify-docs - 문서 검색
  • fetch-apify-docs - 전체 문서 페이지 가져오기

그렇지 않으면 MCP 서버 URL: https://mcp.apify.com/?tools=docs를 사용하세요.

Playwright MCP (디버깅)

Playwright MCP 서버는 웹과 상호 작용하는 Actor를 디버깅하는 데 유용한 도구입니다. 에이전트가 실제 브라우저를 구동하여 페이지를 검사하고, 선택자를 캡처하고, 문제를 재현할 수 있게 해줍니다.

Claude Code CLI로 설치:

claude mcp add playwright npx @playwright/mcp@latest

또는 MCP 구성에 수동으로 추가:

{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": ["@playwright/mcp@latest"]
    }
  }
}

리소스

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

nehakanjamala/personal_website

This skill should be used when the user asks to "fix janky CSS animation", "make animation 60fps", "stop layout thrashing", "animate width/height/top/left smoothly", "convert animation to transform", "animate box-shadow performantly", "animate height auto", "FLIP animation", or "why is my scroll/hover animation choppy".

nehakanjamala/personal_website

This skill should be used when the user asks to "respect prefers-reduced-motion", "honor reduced motion", "make my animations accessible", "fix vestibular / motion-sickness issues", "add a useReducedMotion hook", "gate GSAP / Framer Motion / Lenis for reduced motion", or "meet WCAG 2.3.3 / C39". Provides tiered (not all-or-nothing) reduced-motion patterns in CSS and JS.

nehakanjamala/personal_website

Create, modify, debug, and deploy Apify Actors, and write their input and output schemas. Use when building an Actor from scratch, changing or troubleshooting Actor code, generating or updating .actor schema files, or pushing an Actor to the Apify platform. To wrap an existing non-Actor project, use apify-actorization instead.

nehakanjamala/personal_website

Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

nehakanjamala/personal_website

Design and build an official Apify integration for a company's product - workflow-automation apps (Zapier/n8n-style), AI agent plugins (coding-agent skills+MCP bundles or OpenClaw/Hermes-style harnesses), AI framework packages (LangChain/LlamaIndex-style), or direct application clients via apify-client. Use when planning, creating, or reviewing an integration that exposes Apify Actors, runs, datasets, or key-value stores inside another product.

nehakanjamala/personal_website

Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, LinkedIn, X/Twitter, Google Maps, Google Search, Google Trends, Reddit, Airbnb, Yelp, and 15+ more platforms. Use for lead generation, brand monitoring, competitor analysis, influencer discovery, trend research, content analytics, audience analysis, review analysis, SEO intelligence, recruitment, or any data extraction task.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a glassmorphism effect", "frosted glass UI", "Apple liquid glass style", "frosted blur card", "translucent glass panel animation", "make a frosted nav bar", "build a glass modal/dialog", "animate a glass card on hover", or "add a refracting liquid-glass hero". Covers frosted translucent panels with backdrop-filter blur, edge/specular highlights, SVG liquid-glass refraction, motion on hover/scroll/enter, and accessible reduced-transparency fallbacks.

nehakanjamala/personal_website

This skill should be used when the user asks to "build a scroll animation", "add ScrollTrigger", "pin a section while scrolling", "scrub an animation to scroll", "create a hero timeline", "do a horizontal scroll section", "split text and animate words", "animate a layout change with GSAP Flip", "sync ScrollTrigger with Lenis", "Lenis smooth scroll jittery", "ScrollTrigger markers drift", "ScrollTrigger pins break with Lenis/Locomotive", or "set up smooth scroll with GSAP pinning". Covers GSAP timelines, ScrollTrigger, SplitText, Flip, and Lenis/Locomotive smooth-scroll sync for code-driven web motion.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a Lottie animation", "play a .lottie or .json animation", "integrate a Bodymovin/After Effects animation on web or mobile", "control Lottie playback / segments", "make a scroll-driven Lottie", "recolor a Lottie at runtime", or "export an AE animation to Lottie". Covers dotLottie/lottie-web integration, playback control, interactivity, theming, and the AE export checklist.

nehakanjamala/personal_website

This skill should be used when the user asks to "add a hover/press effect", "animate a toggle or switch", "build an animated like button", "make a toast/snackbar slide in", "animate a drawer or modal", "animate list reordering or add/remove", "do a shared-element layout transition", or "polish UI feedback". Covers UI motion with Framer Motion (motion/react) and modern CSS.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate page or route transitions", "add a page transition or crossfade between views", "animate route changes in Next.js App Router", "use the View Transitions API", "AnimatePresence exit doesn't fire on navigation", or "Framer Motion exit animation not working / exit animation before unmount in Next.js". Covers enter/exit page-transition animation with the View Transitions API and Framer Motion, for Next.js App Router and general SPA routing.

nehakanjamala/personal_website

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; web_fetch fails; the site has anti-bot protections; write Python code to scrape/crawl; or write spiders.

nehakanjamala/personal_website

This skill should be used when the user asks to "animate an SVG", "make a line draw itself on", "do a stroke draw-on / signature animation", "morph one shape into another", "move an element along a path", "animate an icon/logo", or "animate an SVG gradient or filter". Covers stroke-dashoffset draw-on, path morphing, motion-along-path, and animated icons/gradients/filters via CSS, SMIL, and GSAP.

관련 스킬