sample-skill.mdโข2.41 kB
---
_dollhouseMCPTest: true
_testMetadata:
suite: "test-fixtures"
purpose: "Test fixture for workflow validation"
created: "2025-08-20"
version: "1.0.0"
migrated: "2025-08-20T23:47:24.339Z"
originalPath: "test/fixtures/roundtrip/sample-skill.md"
---
# Test Code Review
A test skill for validating the roundtrip workflow.
## Metadata
- Type: skill
- Version: 1.0.0
- Author: test-suite
- Tags: coding, review, quality-assurance, test
- Created: 2025-01-01
- Updated: 2025-01-01
## Description
This is a test skill designed specifically for validating the complete roundtrip workflow in DollhouseMCP. It provides a structured approach to code review that can be tested and validated.
## Skill Definition
### Purpose
Provide systematic code review capabilities for testing purposes.
### Process
1. **Initial Analysis**: Examine code structure and organization
2. **Quality Assessment**: Check for code quality issues
3. **Security Review**: Look for potential security vulnerabilities
4. **Performance Check**: Identify performance bottlenecks
5. **Documentation Review**: Ensure proper documentation
6. **Final Recommendations**: Provide actionable feedback
### Guidelines
- Focus on constructive feedback
- Prioritize critical issues first
- Suggest specific improvements
- Consider maintainability and readability
## Usage Instructions
When using this skill for code review:
1. Paste the code to be reviewed
2. Specify the programming language
3. Indicate any specific concerns or focus areas
4. Receive structured feedback following the process above
## Example Usage
**Input**: "Please review this Python function for potential issues:"
```python
def calculate_total(items):
total = 0
for item in items:
total += item.price
return total
```
**Expected Output**:
1. **Initial Analysis**: Simple function with clear purpose
2. **Quality Assessment**: Clean and readable code
3. **Security Review**: No security concerns for this function
4. **Performance Check**: Efficient for normal use cases
5. **Documentation Review**: Missing docstring
6. **Final Recommendations**: Add type hints and docstring
## Testing Validation Points
This skill tests the following workflow components:
- Installation from collection
- Local modification capabilities
- Version tracking
- Portfolio submission
- Collection issue creation
- Metadata preservation
- Error handling