Skip to content
Back to skills

React Pattern

ASecurity

Thought-Action-Observation loop for transparent reasoning

  • 229 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 6, 2026
toolsgobashreactdebugging

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill react-pattern --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React Pattern?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React Pattern
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-react-pattern/badge)](https://www.skillsdirectory.com/skills/miosa-osa-react-pattern)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react-pattern
description: "Thought-Action-Observation loop for transparent reasoning"
trigger: "always"
priority: 3
dynamic: false
created: "2026-01-26"
---

# ReAct Pattern

Thought → Action → Observation loop for transparent reasoning and reduced hallucination.

## Activation

Activates on:
- Multi-step tasks
- Research tasks
- Debugging sessions
- Complex problem solving

## Process

### Loop Structure

```
THOUGHT: What do I need to do next?
ACTION: [tool_name] with [parameters]
OBSERVATION: [result of action]
... repeat until task complete ...
THOUGHT: Task complete because [reasoning]
```

### Guidelines

1. **Thought**: Explicit reasoning about next step
   - What information do I need?
   - What's the best tool for this?
   - What could go wrong?

2. **Action**: Execute one tool call
   - Use the most specific tool
   - Provide complete parameters
   - Prefer specialized tools over Bash

3. **Observation**: Analyze the result
   - Did I get what I expected?
   - Is there an error to handle?
   - What did I learn?

### Benefits

- **Transparency**: Reasoning is visible
- **Debuggability**: Each step is traceable
- **Reduced Hallucination**: Actions ground in reality
- **Learning**: Patterns can be extracted

## Integration

Works with:
- All agent workflows
- Memory system (captures thoughts)
- Learning engine (extracts patterns)
- Verification (traces reasoning)

## Anti-Patterns

Avoid:
- Skipping thoughts before actions
- Multiple actions without observations
- Ignoring error observations
- Concluding without final verification

---

*Based on ReAct: Synergizing Reasoning and Acting in Language Models*

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…