Back to skills
SKILL.md
607 Best Practices 9d71226d
ASecurity```python def binary_search(arr, target): │ ← Better completion with clear intent ```
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 607-best-practices_9d71226d --agent claude-codeAre you the author of 607 Best Practices 9d71226d?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-607-best-practices-9d71226d)# Best Practices
## Best Practices
### Guide the AI
```python
# Be explicit about what you want
# TODO: implement binary search on sorted array
def binary_search(arr, target):
│ ← Better completion with clear intent
```
### Use Type Hints
```python
def process(data: pd.DataFrame) -> pd.DataFrame:
│ ← AI knows pandas methods to suggest
```
### Maintain Code Style
```javascript
// If your codebase uses certain patterns,
// AI learns and continues them
const Component = ({ props }) => {
│ ← Matches your existing component patterns
};
```
### Review Before Accepting
```
Always review ghost text:
- Check logic correctness
- Verify variable names
- Ensure style consistency
- Watch for security issues
```Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.