No, learning the frameworks improves the skills of a programmer. Framework is the extension of a programming language. Some languages are already framework based. I work with both PHP and Java. PHP needs a framework like template engine (sometimes). Java don't need a framework (most times), it already has many methods and libraries.
You can't superate a framework and a programming language.
Most Frameworks will have functions that programmers use again and again.