星期五
专用编程代理 - 使用 opencode 进行代码编写、审查、重构和调试
Why use this skill?
Optimize your coding workflow with Friday, the OpenClaw programming agent. Automate code generation, refactoring, debugging, and PR reviews effortlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/easeclick/fridayWhat This Skill Does
星期五 (Friday) is a professional-grade AI programming agent integrated into the OpenClaw ecosystem. Designed specifically for developers, it acts as an intelligent pair programmer capable of handling end-to-end coding tasks. Leveraging the powerful 'opencode' CLI, Friday can perform complex software engineering operations, including writing new features, conducting deep code reviews, refactoring legacy codebases, and debugging production issues. It is engineered to understand technical context, project structure, and specific programming language requirements to deliver high-quality, production-ready code. Unlike simple text-based assistants, Friday interfaces directly with your file system to implement changes, verify code through automated testing, and provide architectural recommendations based on current industry standards.
Installation
To integrate the Friday programming agent into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/easeclick/friday
Once installed, you can verify the installation and configuration by checking your ~/.opencode/config.toml file to customize your preferred models and linting tools for different programming languages.
Use Cases
Friday is best utilized for high-leverage software development tasks, such as:
- Rapid Prototyping: Scaffolding entire modules or REST API endpoints from simple natural language specifications.
- Technical Debt Reduction: Identifying code smells, simplifying complex logic, and improving overall maintainability through automated refactoring.
- Quality Assurance: Generating comprehensive unit tests to ensure high code coverage and running automated linter checks to enforce style consistency.
- Incident Response: Analyzing complex error logs and stack traces to isolate the root cause and drafting immediate patches for bug fixes.
- Migration Projects: Assisting in the translation of codebases, such as converting JavaScript modules into TypeScript or upgrading framework versions.
Example Prompts
- "Analyze the current user_auth.py file, identify potential security vulnerabilities in the JWT handling, and suggest a refactored version with improved input validation."
- "Create a new feature module for a FastAPI project that includes a PostgreSQL repository pattern, a service layer, and a corresponding unit test file."
- "Review the changes in the current working directory, check for compliance with PEP8 standards, and generate a brief report summarizing any performance bottlenecks."
Tips & Limitations
To get the most out of Friday, provide context-rich prompts by specifying the technical stack (e.g., 'React, TypeScript, Tailwind'). For complex, multi-file changes, use a step-by-step approach: first run in read-only mode to analyze the impact, then execute changes sequentially. Always exercise caution when using the '--auto' flag; even with an AI agent, human oversight is essential for critical production code. Be aware that Friday requires file system access to function, so avoid running it in directories containing sensitive keys or unencrypted secrets.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-easeclick-friday": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution, external-api