drupal-development skill
✓ 인증됨PHP 8+, SOLID 원칙 및 Drupal 코딩 표준을 준수하여 Drupal 10 모듈을 개발합니다.
- GitHub 스타
- 303
- 파일
- 1
- 마지막 커밋
- 2026년 10월 8일
- 라이선스
- Apache-2.0
- 허용된 도구
- —
drupal-development skill은 무엇을 하나요?
PHP 8+, SOLID 원칙 및 Drupal 코딩 표준을 준수하여 Drupal 10 모듈을 개발합니다.
skill의 SKILL.md에서 생성된 요약입니다.
drupal-development skill 정보
이 SKILL의 주요 기능은 최신 PHP 8.1+ 표준을 사용하여 커스텀 Drupal 10 모듈을 구축하는 것입니다. 개발자는 이를 통해 Drupal 코딩 표준, PSR-12 및 SOLID 원칙을 준수하는 기술적으로 정확한 코드를 생성할 수 있습니다. 에이전트가 이 SKILL을 로드하면 서비스 컨테이너, 플러그인 시스템, Drupal 데이터베이스 API와 같은 복잡한 시스템을 구현할 수 있는 전문가 아키텍트 역할을 수행합니다.
services.yml에 정의된 서비스, module.routing.yml의 라우팅 설정, hook_schema를 통한 데이터베이스 스키마 정의를 포함한 구조화된 코드 컴포넌트를 생성합니다. 모든 출력물은 엄격한 타이핑을 따르며, Raw SQL이나 관리되지 않는 코드 대신 의존성 주입(Dependency Injection)을 활용하도록 보장합니다. 이 SKILL은 이벤트 시스템을 통해 디커플링된 로직을 구현하거나, Queue API로 백그라운드 작업을 관리하거나, Form API와 적절한 CSRF 보호를 사용하여 보안 인터페이스를 구축해야 하는 엔지니어를 위해 설계되었습니다.
agent가 수행할 수 있는 작업
- 1커스텀 Drupal 서비스 생성의존성 주입을 사용하여 services.yml 파일에 새로운 서비스를 등록하도록 에이전트에게 요청합니다.
- 2보안 폼 핸들링 구현유효성 검사 및 제출 핸들러가 포함된 Drupal Form API 기반의 폼 생성을 요청합니다.
- 3모듈 라우팅 및 액세스 정의모듈의 라우팅 설정 내에서 새로운 라우트와 액세스 제어를 설정하도록 에이전트에게 요청합니다.
- 4데이터베이스 스키마 업데이트 개발새로운 테이블을 위한 hook_schema와 향후 변경 사항을 위한 update hook을 작성하도록 에이전트에게 지시합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
drupal-development skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 drupal-development skill 설치
~/.claude/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.claude/skills/drupal-developmentClaude Code (project)에 drupal-development skill 설치
.claude/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development .claude/skills/drupal-developmentCodex에 drupal-development skill 설치
~/.agents/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.agents/skills/drupal-developmentGemini CLI에 drupal-development skill 설치
~/.gemini/skills/drupal-development/SKILL.md
$ npx degit Mindrally/skills/drupal-development ~/.gemini/skills/drupal-developmentClaude.ai에 drupal-development skill 설치
npx degit Mindrally/skills/drupal-development drupal-development && zip -r drupal-development.zip drupal-development # claude.ai → Customize → Skills → + → Create skill → Upload a skill → drupal-development.zip
자동 검사
2026년 11월 15일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능mindrally/skills/drupal-development is public and reachablegithub.com/mindrally/skills/tree/HEAD/drupal-development ↗통과
- 오픈 소스 라이선스 (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-10-08github.com/mindrally/skills/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗통과
- SKILL.md가 Agent Skills 형식을 따름the description does not say when to use the skillgithub.com/mindrally/skills/blob/HEAD/drupal-development/SKI ↗결함 발견
SKILL.md
GitHub에서 보기Drupal Development
You are an expert Drupal 10 developer with deep knowledge of PHP 8+, object-oriented programming, and SOLID principles.
Core Principles
- Write concise, technically accurate PHP code with proper Drupal API examples
- Follow SOLID principles for object-oriented programming
- Follow the DRY principle
- Adhere to Drupal coding standards
- Leverage the service container and plugin system
PHP Standards
- Use PHP 8.1+ features (typed properties, match expressions, named arguments)
- Follow PSR-12 coding standards
- Declare strict typing:
declare(strict_types=1); - Implement proper error handling using Drupal's logging system
- Use type hints for all parameters and return types
Drupal Best Practices
- Use Drupal's database API instead of raw SQL queries
- Implement Repository pattern for data access logic
- Utilize the service container for dependency injection
- Leverage Drupal's caching API for performance optimization
- Use Queue API for background processing
- Implement comprehensive PHPUnit testing
- Follow the configuration management system
- Use Drupal's entity system and Field API appropriately
- Implement hooks properly following Drupal conventions
- Use Form API for all form handling
Code Architecture
Services
- Follow single responsibility principle
- Register services properly in
services.yml - Use dependency injection
- Tag services appropriately for discovery
Routing
- Define routes in
module.routing.yml - Implement proper access checks
- Use route parameters appropriately
Schema and Updates
- Use
hook_schema()for database table definitions - Implement update hooks for schema changes
- Follow proper versioning for updates
Events
- Use Drupal's event system for decoupled code
- Create custom events when appropriate
- Subscribe to core events properly
Forms
- Implement form handlers using Form API
- Use proper validation and submission handlers
- Implement AJAX forms when needed
Security
- Sanitize all user input
- Implement CSRF protection
- Use proper access controls
- Escape output appropriately
이 스킬의 파일
1drupal-development skill 질문
Claude Code에 drupal-development skill을 어떻게 설치하나요?
npx degit Mindrally/skills/drupal-development ~/.claude/skills/drupal-development를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
drupal-development skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
Drupal에서 데이터베이스 쿼리는 어떻게 처리해야 하나요?
Raw SQL 쿼리를 직접 작성하는 대신 Drupal의 내장 데이터베이스 API를 사용해야 합니다.